|
From: | Mueen Nawaz |
Subject: | [Orgmode] Re: Question about searches (ultimately for agenda) |
Date: | Wed, 16 Dec 2009 22:53:26 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20091110 Thunderbird/3.0b2 |
On 12/16/09 03:37, Carsten Dominik wrote:
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)))))
Almost. It worked if I exclude (outline-next-heading). Was there a reason you had that?
Also, I'm pretty weak with Emacs Lisp. What does (point) do? Google's no help (obviously).
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.
Thanks. I'll wait till the next version, and then add the config in - no rush!
Mueen
[Prev in Thread] | Current Thread | [Next in Thread] |