[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Using org-agenda-filter-preset with or'd tags
From: |
Matt Lundin |
Subject: |
[Orgmode] Re: Using org-agenda-filter-preset with or'd tags |
Date: |
Tue, 11 Jan 2011 08:22:45 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Matt Lundin <address@hidden> 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