-
Notifications
You must be signed in to change notification settings - Fork 113
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
Refreshing after a query fails #475
Comments
Hi John, I think this is because the query sexp is internally byte-compiled in a lambda, but not as a closure, so it doesn't capture the value of |
ah! that makes so much sense |
Also, I think you could test for that filetag in a way that would be a bit more robust and likely friendly to caching...let me see... |
Yes, that fixed it, thank you so much. |
This seems to work: (org-ql--value-at
(point-min) (lambda ()
(org-entry-get nil "filetags" t)))
But there should also be a function that works with the |
The keywords are in the variable |
I definitely don't want to define these properties at the entry level, but only in the |
I mean in a document-level properties drawer, not within an entry. Those are still relatively new in Org, so maybe you didn't notice the feature yet. :) (Though I'm only guessing that setting that property in the document-level drawer has the same effect...) |
Ah, I see. Actually, I currently use BOTH file properties (for file-level |
OS/platform
macOS
Emacs version and provenance
29.4 macport build via Nix
Emacs command
emacs
Org version and provenance
9.7.13, pulled from Org releases and built with Nix
org-ql package version and provenance
0.9-pre, from nixpkgs
Actions taken
Use this function to perform a query, which works:
Then, hit
g
to refresh the results buffer.Observed results
I get this error:
Expected results
I expected it to refresh the buffer.
Backtrace
Etc.
No response
The text was updated successfully, but these errors were encountered: