Hi Paul,

Paul Mead wrote:
> Hi
> 
> I have a convention in my org file which uses @name as a gtd-type
> 'agenda' item, so if an action is related to Liz, I tag it with @liz for
> example. 
> 
> Is there any way of matching that '@' in setting up a custom agenda
> view? I'd like if possible to have a block agenda view which lists all
> of my @liz, @bob, @joe - type items in one view, rather than having to
> maintain a list of all the possible names in the block agenda setup.

You can do regexp matching on tags.  My agenda tags all start with ag_
(for people), agM_ (meetings) or agC_ (calls).

This snippet from my org-agenda-custom-commands shows how to use this:

    (tags "{^ag[MC]_.*}-maybe-TODO=\"\"-SCHEDULED>\"<today>\""
          ((org-agenda-overriding-header "Agendas (regular):")
           (org-agenda-sorting-strategy
            '(tag-up))
           (org-agenda-skip-function
            '(org-agenda-skip-subtree-if 'regexp "^\\*+ 
\\(DONE\\|CANC\\|CONT\\|PROJ\\|MAYBE\\) "))))
    (tags "{^ag_.*}-maybe-TODO=\"\"-SCHEDULED>\"<today>\""
          ((org-agenda-overriding-header "Agendas (non-regular):")
           (org-agenda-sorting-strategy
            '(tag-up))
           (org-agenda-skip-function
            '(org-agenda-skip-subtree-if 'regexp "^\\*+ 
\\(DONE\\|CANC\\|CONT\\|PROJ\\|MAYBE\\) "))))

Cheers,
Martin


_______________________________________________
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

Reply via email to