From: Xebar Saram <zeltakc@gmail.com>
To: org mode <emacs-orgmode@gnu.org>
Subject: match on any TODO state
Date: Thu, 30 Jul 2015 15:17:42 +0300 [thread overview]
Message-ID: <CAOQHXPqm_s8ft+_x0qvwfEubFsX3KMPoFqtUW5Nj5RyyPy7eRw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
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
Best
Z
[-- Attachment #2: Type: text/html, Size: 657 bytes --]
next reply other threads:[~2015-07-30 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 12:17 Xebar Saram [this message]
2015-07-30 12:33 ` match on any TODO state Nick Dokos
2015-07-30 17:27 ` Daimrod
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOQHXPqm_s8ft+_x0qvwfEubFsX3KMPoFqtUW5Nj5RyyPy7eRw@mail.gmail.com \
--to=zeltakc@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.