Matt Lundin <
mdl@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