-
Notifications
You must be signed in to change notification settings - Fork 123
Description
I've recently upgraded my org package to 9.6 from 9.5.5 and org-journal carryover functionality started to behave erratically. Reverting back org solves the issue, so my hunch was some changed function behaviour that needed adaptation in org-journal. So far I haven't been able to figure it out.
My minimal case which shows the problem:
- install
org 9.6andorg-journal(git head) with straight (no extra config) - relevant config for
org-journalin use:
(setq org-journal-dir "/home/mrb/dat/org/journal/"
org-agenda-file-regexp "^[0-9]+\\.org"
org-journal-file-format "%Y%m%d.org"
org-journal-date-format "%A, %e-%m-%Y"
org-journal-date-prefix "#+TITLE: "
org-journal-time-format "[%R] "
org-journal-time-prefix "* "
org-journal-carryover-items "+carryover|+TODO=\"TODO\""
org-journal-enable-agenda-integration t
org-journal-carryover-delete-empty-journal 'always
org-journal-enable-cache t))
Testfile 20221216.org (previous day):
#+TITLE: Friday, 16-12-2022
* Main :carryover:
** TODO Testing if this comes through.
With this config, I ran org-journal-new-entry
Contents of 20221217.org:
#+TITLE: Saturday, 17-12-2022
* Main :carryover:
** TODO Testing if this comes through.
* Main :carryover:
** TODO Testing if this comes through.
and an error message gets logged:
org-journal-delete-old-carryover: Args out of range: #<buffer 20221216.org>, 29, 146"
Depending on the test file the carryover items which get in the new file is different. I have not been able to spot a clear pattern yet. It seems to double the main headline in any case with different items below it.