On Tue, Jan 11, 2011 at 08:22, Matt Lundin <mdl@imapmail.org> wrote:
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

Thanks for the suggestion.  It did not completely work for me because the @Work tag was inherited. However I think I can change my process a little to make it work.

John