Matt Lundin <m...@imapmail.org> writes: > To use "or" logic to filter the agenda, I would recommend setting > org-agenda-skip-function. > > (setq org-agenda-custom-commands > '(("W" "Work Schedule" > ((agenda "" > ((org-agenda-skip-function '(org-agenda-skip-entry-if > 'notregexp ":\\(@Work\\|critical\\):"))) > (org-agenda-ndays 1))) > (tags-todo "@Work|critical"))))) >
The above contains a typo. It should read: (setq org-agenda-custom-commands '(("W" "Work Schedule" ((agenda "" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ":\\(@Work\\|critical\\):")) (org-agenda-ndays 1))) (tags-todo "@Work|critical"))))) Best, Matt _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode