-
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
Grouping the output of org-ql-search by category #363
Comments
Hello, Thanks for the kind words. I'm glad this is useful to you. The issue here is that the Lines 892 to 896 in eb53773
Which is what Probably Lines 822 to 823 in eb53773
Using the auto-group works because, for whatever reason, the code as-is gets the category differently than the non-auto-group selector, without requiring the text property: So this problem could also be worked around by changing the category group selector in org-super-agenda. Until I have time to fix this, you could add this code to your Emacs configuration, which should make it work: (org-super-agenda--defgroup category
"Group items that match any of the given categories.
Argument may be a string or list of strings."
:section-name (concat "Items categorized as: " (s-join " OR " args))
:test (cl-member (or (org-super-agenda--get-category item)
(org-super-agenda--when-with-marker-buffer (org-super-agenda--get-marker item)
(org-get-category)))
args :test #'string=)) |
Hello, I just wanted to extend my deepest gratitude for your prompt, detailed, and helpful response. I applied the provided workaround to my Emacs configuration, and it works perfectly! Your dedication to maintaining this package and assisting its users is remarkable. Thank you so much for your time, effort, and kind words. I appreciate it! |
You're welcome. Thanks for the kind words. |
Hi again Gabriele, I've pushed a fix for this to If you have time, would you mind testing this and letting me know if it solves the problem sans-workaround for you? Thanks. |
Hello, Everything now works as expected without the workaround. Thank you for your support in resolving this issue and all your work! |
Hello,
Firstly, I would like to express my appreciation for this incredible package!
I am currently experiencing an issue with using :super-groups to group the output of my queries by category. I'm not sure if this is due to an error on my part, or if it's a bug in the system.
Steps to reproduce:
I created a minimal reproducible example in test.org as follows:
I ran the following query:
Expected Result:
I expected the output to be grouped by the category "Test".
Actual Result:
The output was not grouped as expected. Here is a screenshot of the result:
When I used
:auto-category t
as:super-groups
, it worked as expected:Could you kindly assist me in understanding if this is a bug or if there is a mistake in my usage of the :super-groups option?
Thank you for your time and assistance.
The text was updated successfully, but these errors were encountered: