org-super-agenda icon indicating copy to clipboard operation
org-super-agenda copied to clipboard

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

Open AdelleBernal opened this issue 1 year ago • 1 comments

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!

AdelleBernal avatar Sep 30 '23 06:09 AdelleBernal

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 avatar Oct 01 '23 02:10 alphapapa