emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manish <mailtomanish.sharma@gmail.com>
To: "Parker, Matthew" <MParker@seic.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to produce an agenda that filters on both todo keyword and tag?
Date: Thu, 24 Jul 2008 03:14:33 +0530	[thread overview]
Message-ID: <e7cdbe30807231444r21b1eed3p64e9338f9f2c94fb@mail.gmail.com> (raw)
In-Reply-To: <9E067A1AECCB154485D4CF7E4BEF4D8E08ECF970@post07.corp.seic.com>

  On Thu, Jul 24, 2008 at 2:55 AM, Parker, Matthew wrote:
  > Hi,
  >
  > I've read through the manual and maybe missed it but how does one
  >
  > produce an agenda that filters on both a certain todo keyword and a certain
  > tag?
  >
  > Here's the scenario:
  >
  > 1. Given a file setup w/ these TODO sequence keywords and tags
  >
  > #+SEQ_TODO:      TODO WAITING DONE
  >
  > #+TAGS:          Home(h) Work(w) Errands(e) Phone(p) Computer(c)
  >
  >
  >
  > 2. And given these headings
  >
  > * TODO      xxx            :Work:
  >
  > * WAITING   just this one! :Work:
  >
  > * DONE      yyy            :Work:
  >
  > *           zzz            :Work:
  >
  >
  >
  > 3. And given the fact that
  >
  > C-c a t              gives list of all TODO, WAITING, and DONEs
  >
  > C-c a T & "WAITING"  gives list of just WAITING items
  >
  > C-c a m & "work"     gives list of all headings tagged w/ "work", TODO or
  > otherwise
  >
  > C-c a M & "work"     gives list of all TODO entries w/ "work" tag
  >
  >
  >
  > How can I produce a list of "WAITING" todo items tagged w/ "work", i.e.
  >
  > 1. A certain type of todo keyword, e.g. WAITING
  >
  > 2. A certain tag?, e.g. "work"

Does this help?

(setq org-agenda-custom-commands
      (quote (("E" "Errands To Run" tags-todo #("work!/WAITING") nil))))

-- Manish

  parent reply	other threads:[~2008-07-23 21:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 21:25 How to produce an agenda that filters on both todo keyword and tag? Parker, Matthew
2008-07-23 21:36 ` Bernt Hansen
2008-07-23 21:44 ` Manish [this message]
2008-07-23 22:25 ` Carsten Dominik
2008-07-24  5:37   ` Manish
2008-07-24  7:11     ` Giovanni Ridolfi
2008-07-24 15:12       ` How to produce an agenda that filters on both todokeyword " Parker, Matthew
2008-07-24 15:24       ` How to produce an agenda that filters on both todo keyword " Richard G Riley
2008-07-24 15:30         ` Jose Robins

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=e7cdbe30807231444r21b1eed3p64e9338f9f2c94fb@mail.gmail.com \
    --to=mailtomanish.sharma@gmail.com \
    --cc=MParker@seic.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).