[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] match on any TODO state
From: |
Daimrod |
Subject: |
Re: [O] match on any TODO state |
Date: |
Thu, 30 Jul 2015 19:27:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux) |
Xebar Saram <address@hidden> writes:
> Hi
> I created this function which works well.
>
> (defun z/org-sparse-todo ()
> (interactive)
> (org-match-sparse-tree t "+TODO=\"TODO\""))
>
> my question is how can i match on ANY todo state and not just literaly TODO
> ie if i have this in my org file
>
> #+TODO: TODO(t) EXP(e) | SUBMITTED(s) K_TRACK(k) PAUSED(p) DONE(d)
>
> how can i match it by all the todos like TODO and EXP
In the agenda match, I use TODO<>"".
That is, all TODO keywords that aren't empty.
Best,
--
Daimrod/Greg
signature.asc
Description: PGP signature