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

Selector to match diary entries (was: how to exclude diary entries) #250

Open
AdelleBernal opened this issue Sep 30, 2023 · 1 comment
Open

Comments

@AdelleBernal
Copy link

Excellent package!

Just one thing I noticed: when I activate org-agenda-toggle-diary (to include diary entries in org-agenda), my thousand of diary entries appear under "Other items". Is there a way to exclude my diary entries from "Other items"?

(defcustom org-super-agenda-unmatched-name "Other items"
  "Default name for agenda section containing items unmatched by any filter."
  :type 'string)

Thank you!

@alphapapa
Copy link
Owner

Hello,

I'm glad to hear that it's useful to you. I don't use the "diary", so I suppose there's no selector matching such entries. You could likely make one using the :pred selector to test the text properties of the diary entry lines (I don't know what those properties might be, but you can inspect them with C-u C-x =). Alternatively, if the diary entries are the only entries in the "Other items" group, you could use the :discard selector to discard them.

If you're able to find out which property Org applies to the diary entries, we could add a selector to match them.

Thanks.

@alphapapa alphapapa self-assigned this Oct 1, 2023
@alphapapa alphapapa changed the title "Other items" to not include diary entries Selector to match diary entries (was: how to exclude diary entries) Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants