-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the semantics of recurring vs repeating? #32
Comments
To prevent setting both simultaneously is an outstanding issue.
Mh, do you have another scenario in mind where they should be taken into account?
Sorry, the documentation is not up to date. Currently it only creates the next task. I'm still pondering the implications of creating several in advance and how this would be used. If you have any thoughts / insights on this, I'd be happy to hear them =).
This feature was actually one of the main reasons I abandoned Taskwarrior. It never worked like I thought it would. But I admit, that TaskLite is not much better yet. At least it is easy to reason about and it differentiates between recurrence and repetition. But it's definitely still a work in progress. |
Hello,
See my comment...
I have tried to create two tasks, each having the same due date, but one as repeating task and another as recurring task, but upon completing them, TaskLite simply created a new tasks not considering different semantic, iow. that new instance of recurring task (e.g. wash the car) should be relative to completion date. Otherwise, I'm very pleased with everything (e.g. using Sqlite3 etc.) in TaskLite, but at the moment, only Etm does handle date arithmetic properly... |
Dang, I broke it while unifying the duration parser. Thanks a lot for the heads up, it's fixed in master. I also added an extra page in the documentation https://tasklite.org/repetition_and_recurrence.html with some examples
With the new duration parser it should handle all date arithmetic correctly! =) |
Why I get
|
I also wonder parser can handle things like: Otherwise, I'm very pleased with TaskLite's functionality, congrats!! |
Uhm sorry, I committed a little too experimental code in the master branch. It's a hook defined in your auto generated config file. Simply comment the corresponding part out and it won't be printed anymore.
monthly is
I don't think this is possible, yet (https://en.wikipedia.org/wiki/ISO_8601#Durations). You could do
Thank you! |
Ok.
Thanks.
OK, that was (one) problem with |
I experimented with rec(urrence)/rep(etition) a little bit, trying to figure out how they interact.
What I noted so far:
done
, according to this code:TaskLite/tasklite-core/source/Lib.hs
Lines 580 to 587 in a721fdd
No other code seems look at the rec/rep fields (apart from the info and unrecur stuff).
The code also suggests that if both fields are set, rec won’t be looked at because rep takes priority.
Is that the idea? What is the intended workflow/semantics here?
The manual describes rec as:
But I don’t see any code which would create a number of tasks in advance, maybe I’m missing a detail here. There is only a
createNextRecurrence
function, but none that would create multiple tasks. Also, there is no config option.Comparing to taskwarrior (which I’m trying to migrate from), they do it a little bit differently. They don’t support repetition, rather recurrence with a config of how many tasks should be generated in advance; they run their task generation logic each time you run the command, regardless of whether that command changes something else. It’s certainly convenient, but not super easy to reason about (since random tasks could change at random times).
I don’t expect tl to be the same as tw, or even support recurrence feature that tw supports.
The text was updated successfully, but these errors were encountered: