Open Siferiax opened 3 weeks ago
Neither .+
and ++
repeaters are working as expected. The current .+
logic should be reassigned to ++
.
.+
open issue #5645. Was marked as enhancement.
Expected: repeat from the last time you marked the block done i.e., today+interval.
Actual: repeat from last due and skip ahead until new the date is in the future. This is what ++
should do, as per the Orgmode convention.
++
Expected: Unclear. The documentation states " ++: It'll keep it on the same day of the week". However, this isn't exclusive of one repeater type. This is more of a factor of the repeater interval (weeks), rather. The only repeater that doesn't afford consistent day of the week by design is the repeat from the last time you marked the block done (today+interval) i.e., what .+
should be doing.
Actual: repeat from last due. This is what +
does currently but here with ++
it slightly different: it doesn't update the due date when completed early. It does write an entry to the logbook. This issue was reported in the past open issue #7731 and #1909. Issue aside, none of this is the expected behavior of ++
anyway.
Search first
What Happened?
When I saw some strange behavior for repeating tasks, I started to check and found the settings don't work as documented. Documentation: You can change the repeater kind to: .+: It'll repeat from the last time you marked the block done. ++: It'll keep it on the same day of the week. +: It'll repeat in X y/m/w/d/h from when you originally scheduled it.
Reality: .+: only works this way when it repeats every day.
Test scenario 1
Repeat every year from when marked done. Input:
Expected: 2025-04-24 Thu Actual output:
Result: FAIL
Test scenario 2
Repeat every month from when marked done. Input:
Expected: 2024-05-24 Fri Actual output:
Result: FAIL
Test scenario 3
Repeat every week from when marked done. Input:
Expected: 2024-05-01 Wed Actual output:
Result: FAIL
Test scenario 4
Repeat every 7 days from when marked done. Input:
Expected: 2024-05-01 Wed Actual output:
Result: FAIL
Test scenario 5
Repeat every 6 days from when marked done. Input:
Expected: 2024-04-30 Tue Actual output:
Result: FAIL
Test scenario 6
Repeat every 8 days from when marked done. Input:
Expected: 2024-05-02 Thu Actual output:
Result: FAIL
Test scenario 7
Repeat every day from when marked done. Input:
Expected: 2024-04-25 Thu Actual output:
Result: PASS
Extra results for 1 to 9 days from when marked done:
This shows some really weird behavior.
Reproduce the Bug
See above for detailed tests scenario + results.
Expected Behavior
No response
Screenshots
No response
Desktop or Mobile Platform Information
Logseq version: 0.10.8 on iPad.
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.