-
Notifications
You must be signed in to change notification settings - Fork 20
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
Incomplete date range causes Error #39
Comments
This is expected and intended behavior. Only the line after the headline is parsed as a planning line, and it's an error if the date is incomplete. After the empty space, dates are just text. |
Oh, in that case sorry for the noise! Thanks for explaining. |
I ran into a similar issue.
The text above produces a parse tree that contains an error (similar as in the comment above). But according to https://orgmode.org/worg/org-syntax.html#Planning the line after the heading is not a planning line because either DEADLINE, SCHEDULED, or CLOSED is required at the start of a planning line. |
A date range would be something like
<2023-01-26 Thu>--<2023-01-27 Fri>
. Having an incomplete date range like<2023-01-26 Thu>--
in some parts of the document leads to a parsing error, but not in others:leads to
but
leads to
The text was updated successfully, but these errors were encountered: