From: Martin Pohlack <mp26@os.inf.tu-dresden.de>
To: Paul Mead <paul.d.mead@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Partial tags match in custom agenda?
Date: Thu, 14 Jan 2010 15:23:22 +0100 [thread overview]
Message-ID: <4B4F28DA.9030208@os.inf.tu-dresden.de> (raw)
In-Reply-To: <87vdf5ymo9.fsf@gmail.com>
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
next prev parent reply other threads:[~2010-01-14 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-14 11:02 Partial tags match in custom agenda? Paul Mead
2010-01-14 14:23 ` Martin Pohlack [this message]
2010-01-14 16:58 ` Paul Mead
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B4F28DA.9030208@os.inf.tu-dresden.de \
--to=mp26@os.inf.tu-dresden.de \
--cc=emacs-orgmode@gnu.org \
--cc=paul.d.mead@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).