emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question about searches (ultimately for agenda)
@ 2009-12-16  1:57 Mueen Nawaz
  2009-12-16  3:26 ` Matt Lundin
  0 siblings, 1 reply; 9+ messages in thread
From: Mueen Nawaz @ 2009-12-16  1:57 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

In the docs (10.3.3 Matching tags and properties), I see ways to do tag 
searches that can also search TODO states.

Can I also search TODO levels? For example, in one file covered by the 
agenda, I use the usual DONE to denote done. In another, which is 
focused on simply stuff that I have borrowed/lent, I have RETURNED as my 
"DONE" state.

I occasionally apply tags to headings with the name of the person 
involved. So let's say that I've put :Jack: on some headings of items 
that have been lent and returned. But I also have :Jack: in my other 
.org files that are not about lending/borrowing.

I want to search for all headlines that have :Jack: in them, but exclude 
anything that is a "DONE" state - so exclude both DONE and RETURNED.

I know I can just do:
Jack-TODO="DONE"-TODO="RETURNED"

But I don't want to keep editing it as I change my DONE states or add 
more DONE states.

Is this possible?

Thanks.

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

end of thread, other threads:[~2009-12-20 12:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-16  1:57 Question about searches (ultimately for agenda) Mueen Nawaz
2009-12-16  3:26 ` Matt Lundin
2009-12-16  3:35   ` Mueen Nawaz
2009-12-16  9:37     ` Carsten Dominik
2009-12-17  4:53       ` Mueen Nawaz
2009-12-17 19:26         ` Carsten Dominik
2009-12-19  4:35           ` Mueen Nawaz
2009-12-20 12:51             ` Carsten Dominik
2009-12-16 12:02     ` Matt Lundin

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