-
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
:auto-category doesn't reflect updates in org-ql-view #167
Comments
When a buffer is modified, cached results for that buffer are no longer used, and the query is run in it anew. I don't know how the buffer could be modified without invalidating that buffer's cached results. Can you reproduce it in a clean Emacs config? Note as well that grouping is a feature provided by |
It turns out that
|
In conclusion, this is not a bug with (org-super-agenda--def-auto-group category "their org-category property"
:key-form (org-super-agenda--when-with-marker-buffer (org-super-agenda--get-marker item)
(org-get-category))
:header-form (concat "Category: " key)) |
Yeah, that seems like an oversight in Org. |
Thanks, I'll consider if I can contribute to Org. |
I looked into this issue again. I am sorry, but you will have to work on it.
Org Ql already has its own cache system which properly detects modification. Thus you would probably have to call Because performance is one of the selling points of this package, it would be better if category refreshing were done only when needed, but I don't know if it could be implemented in a simple way. When there is no modification in the buffer, Org Ql will remain as fast as it is now. |
I guess this will require a minor bit of infrastructure to do per-buffer preparation before running certain queries. Thanks for looking into it. |
Deferring this to 0.7. |
Deferring again. With the org-element caching features now under active development in Org, the |
I have the following entry in
org-ql-views
:It groups top-level headings in
maybe.org
by categories.When I update
CATEGORY
property of a heading inorg-mode
and refresh the view buffer usingorg-ql-view-refresh
, the heading still remains in the previous category. This might be about cache expiration, but I haven't investigated the details. This is probably a bug.The text was updated successfully, but these errors were encountered: