emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Switching between many contexts


From: Matthew Lundin
Subject: Re: [Orgmode] Re: Switching between many contexts
Date: Tue, 03 Mar 2009 07:05:11 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin)

Daniel Clemente <address@hidden> writes:

>   In fact I would like to use often the agenda view with several tags 
> excluded, so the ideal setup would be an agenda custom search.
>   But I don't know which command to use in org-agenda-custom-commands: I 
> don't want tags-todo (that's a heading list), but the real agenda (with its 
> colors, dates, deadlines, etc.). However, the search type called „agenda“ 
> seems not to accept tags to search.
>   Maybe „agenda“ could accept tags to search?
>   Or else I can try to do a custom command which emulates the agenda
>   but adds this filter; maybe with a local variable or with „skip
>   conditions“ (org-agenda-skip-function).

For this you would indeed you a skip function.

E.g.,

--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
      '(("A" agenda ""
         ((org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp 
":TAG:"))))))
--8<---------------cut here---------------end--------------->8---
                  
Best,
Matt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]