Skip to content
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

make org-ql more robust to badly formed habits #14

Closed
codygman opened this issue Dec 5, 2018 · 0 comments
Closed

make org-ql more robust to badly formed habits #14

codygman opened this issue Dec 5, 2018 · 0 comments

Comments

@codygman
Copy link

codygman commented Dec 5, 2018

Given an org file:

* TODO meditation
  SCHEDULED: <2015-01-30 Fri 08:00 .+1d>
  :PROPERTIES:
  :STYLE:        habit
  :END:
* TODO jog
  SCHEDULED: <2015-01-28 Wed 19:30-19:45 .+1d>

This org-ql query:

(org-ql FILE (scheduled <= today))

gives error:

if: Unknown date-element type: active-range

I think it would be better if this error didn't break the org-ql function.

After adding the habit property things work fine, but it would be more robust to return results if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant