-
Notifications
You must be signed in to change notification settings - Fork 110
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
Argument handling in org-agenda-ql #5
Comments
Thanks, I made some changes to that code recently but didn't test all the combinations that are possible. (I wish there were a more flexible way to handle arguments, but I haven't come up with anything suitable yet. If you are interested in this, take a look at magnars/dash.el#268.)
Not sure why that would happen, as I just tested the example and it works for me. Please let me know if it still happens, as it's probably a bug that needs fixing. |
Actually, I think I found and fixed that bug. Thanks for reporting it! My config made it unnoticeable for me. |
Thanks for the quick fix. Next up, when I run the example again, it now shows: I don't really understand what's going on here, perhaps you wanted to mean |
Also unnecessary since we use --format-relative-date. If we ever want to exactly emulate the Agenda, this can be replaced. See #5 (comment).
Sorry, that was leftover code that wasn't being exercised in my config. I removed it, so it should be fixed. Thanks. |
Also unnecessary since we use --format-relative-date. If we ever want to exactly emulate the Agenda, this can be replaced. See alphapapa/org-ql#5 (comment).
Hi, I probably shouldn't be using the issue tracker to bother you with something as small as this. But this example in the README doesn't work:
This particular example incidentally errors with a
(void-variable todo-keyword)
but right now I don't mean this.The form:
(org-ql-agenda "~/path/to/file" query)
in general doesn't work unless a keyword argument is provided in the end (such as :sort nil). This seems to be a shortcoming in thepcase
based argument matching inorg-ql-agenda
macro. I had to add another case handling condition to make it work:But you may have some other cleaner means in mind.
The text was updated successfully, but these errors were encountered: