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



_______________________________________________
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

Reply via email to