emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Both todo and tag search
@ 2010-06-18  4:40 Chao Lu
  2010-06-18  7:20 ` Martin Pohlack
  2010-06-18 11:53 ` Bernt Hansen
  0 siblings, 2 replies; 3+ messages in thread
From: Chao Lu @ 2010-06-18  4:40 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 222 bytes --]

Dear all,

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?

Thanks!

Chao

[-- Attachment #1.2: Type: text/html, Size: 246 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Both todo and tag search
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Pohlack @ 2010-06-18  7:20 UTC (permalink / raw)
  To: Chao Lu; +Cc: emacs-orgmode

Hi,

On 18.06.2010 06:40, Chao Lu wrote:
> 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?

Yes, that should be possible.  These two threads may provide valid
examples how to to this:

  http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21269.html

  http://www.mail-archive.com/emacs-orgmode@gnu.org/msg25260.html

A lot of information is also in the manual:

  http://orgmode.org/org.html#Agenda-Views

HTH,
Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Both todo and tag search
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2010-06-18 11:53 UTC (permalink / raw)
  To: Chao Lu; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-18 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).