From: Memnon Anon <gegendosenfleisch@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: limit agenda to particular tag?
Date: Tue, 28 Jul 2009 14:56:36 +0000 (UTC) [thread overview]
Message-ID: <871vo03lgh.fsf@mean.albasani.net> (raw)
In-Reply-To: 861vo19ctj.fsf@ankh.home.genehack.org
John SJ Anderson <genehack@genehack.org> writes:
> Is there a way to display an agenda (like 'C-a a' does) but have it
> limited to items that have a particular tag? (E.g., so I can see only
> '@WORK' items when at work.)
Either use your agenda and use / to limit the view to what you want.
Or create a custom agenda command: I have something like this:
(setq org-agenda-custom-commands
'(("f" "Agenda without Items tagged xyz"
((agenda ""))
((org-agenda-show-log nil)
(org-agenda-ndays 1)
(org-agenda-log-mode-items '(state))
(org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp ":XYZ:"))))
;; other commands here
("d" "Agenda only Items tagged xyz"
((agenda ""))
((org-agenda-show-log nil)
(org-agenda-ndays 1)
(org-agenda-log-mode-items '(state))
(org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ":XYZ:"))))
;; other commands here
("w" todo "WAITING")
("g" todo "STARTED")
))
hth
memnon
next prev parent reply other threads:[~2009-07-28 14:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-28 13:06 limit agenda to particular tag? John SJ Anderson
2009-07-28 14:56 ` Memnon Anon [this message]
2009-07-29 10:11 ` John SJ Anderson
2009-08-04 0:47 ` Daniel Martins
2009-07-28 19:15 ` Matthew Lundin
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=871vo03lgh.fsf@mean.albasani.net \
--to=gegendosenfleisch@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).