From: Carsten Dominik <carsten.dominik@gmail.com>
To: Mueen Nawaz <mueen@nawaz.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Question about searches (ultimately for agenda)
Date: Wed, 16 Dec 2009 10:37:42 +0100 [thread overview]
Message-ID: <22ED17FE-4FB4-4E3E-943A-7B6B6FF92AAF@gmail.com> (raw)
In-Reply-To: <hg9kjf$q67$1@ger.gmane.org>
On Dec 16, 2009, at 4:35 AM, Mueen Nawaz wrote:
> On 12/15/09 21:26, Matt Lundin wrote:
>> Provided DONE and RETURNED are inactive todos than the following
>> should
>> suffice:
>>
>> C-a M Jack [RET]
>
> I think you meant C-c a M Jack [RET]
>
> It actually does filter out inactive TODO's, but I actually wanted
> to do C-c a m Jack [RET]. I don't want to limit the search to
> headlines that have a TODO state. I just want to exclude those that
> have DONE (or anything equivalent to it).
This is what skip conditions are for. Here is an entry for
org-agenda-custom-commands which does this for the specific
"Jack" example:
("X" "Tags match ignoring done stuff" tags "Jack"
((org-agenda-skip-function
'(and
(org-entry-is-done-p)
(outline-next-heading)
(point)))))
If you want to be prompted for the tags match, leave the match element
empty (empty string). But do that only after you next upgrade from
the git repo, because there was a bug related to prompting.
Hope this helps
- Carsten
next prev parent reply other threads:[~2009-12-16 10:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=22ED17FE-4FB4-4E3E-943A-7B6B6FF92AAF@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mueen@nawaz.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).