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
Ignore unrecognized timestamps and timestamps in subheadings #397
Comments
Now this is really weird, if I call either of
Seems like org-journal is hooked in somewhere it shouldn't be? |
okay, org-journal hooks into the calendar to mark days. I see @jmay @dppdppd you have already created patches, could you assist on this issue as well? After an hour of debugging I think I found the culprit: (defun org-journal--file->calendar-dates (file)
"Return journal dates from FILE."
(org-journal--with-journal
file
(let (dates)
(save-excursion
(goto-char (point-min))
(while (re-search-forward org-journal--created-re nil t)
(when (= (save-excursion (org-back-to-heading) (org-outline-level)) 1)
(push (org-journal--entry-date->calendar-date) dates)))
dates)))) my journal contains |
@xeruf Make sure you restart your emacs and have the latest org-journal changes. Are you still getting errors? I can run |
yes, this works with the patch, which I've merged together at https://github.com/toemacs/org-journal however, org-journal still erroneously checks on timestamps in subheadings. |
I am now getting Can we somehow prevent all these kinds of errors from impeding basic org-journal functionality? |
Fixed by #380 |
Description
I work with Orgzly, and this produces timestamps like:
While org-journal for me uses:
Expected Results
org-journal ignores:
No errors, no complaining, just ignore them as if they weren't there :)
Actual Results
The text was updated successfully, but these errors were encountered: