emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Chao Lu <loochao@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Both todo and tag search
Date: Fri, 18 Jun 2010 07:53:38 -0400	[thread overview]
Message-ID: <87mxus7e0t.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <AANLkTimMrxBrmQbMggCn3O34TdC-my4bkiv7kPxJ3pmG@mail.gmail.com> (Chao Lu's message of "Fri\, 18 Jun 2010 00\:40\:26 -0400")

Chao Lu <loochao@gmail.com> writes:

> For the custom agenda command, is it possible to define a search
> performing both todo and tag search, for example, the items whose todo
> state is ACTIVE, and the context(defined by tag) is Office?

Do a tags match search for
Office/ACTIVE

Items before the / are tags and after the / are TODO keywords.

HTH,
Bernt

      parent reply	other threads:[~2010-06-18 11:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18  4:40 Both todo and tag search Chao Lu
2010-06-18  7:20 ` Martin Pohlack
2010-06-18 11:53 ` Bernt Hansen [this message]

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=87mxus7e0t.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=loochao@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).