From: Mueen Nawaz <mueen@nawaz.org>
To: emacs-orgmode@gnu.org
Subject: Question about searches (ultimately for agenda)
Date: Tue, 15 Dec 2009 19:57:25 -0600 [thread overview]
Message-ID: <hg9era$e8h$1@ger.gmane.org> (raw)
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.
next reply other threads:[~2009-12-16 1:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-16 1:57 Mueen Nawaz [this message]
2009-12-16 3:26 ` Question about searches (ultimately for agenda) 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
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='hg9era$e8h$1@ger.gmane.org' \
--to=mueen@nawaz.org \
--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).