From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daimrod Subject: Re: match on any TODO state Date: Thu, 30 Jul 2015 19:27:24 +0200 Message-ID: <87zj2da743.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKrcC-0004gf-Jh for emacs-orgmode@gnu.org; Thu, 30 Jul 2015 13:27:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKrc9-0001PQ-Dj for emacs-orgmode@gnu.org; Thu, 30 Jul 2015 13:27:32 -0400 Received: from smtptls1-loi.cpub.univ-nantes.fr ([193.52.103.112]:37238 helo=smtp-tls.univ-nantes.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKrc9-0001Np-8d for emacs-orgmode@gnu.org; Thu, 30 Jul 2015 13:27:29 -0400 In-Reply-To: (Xebar Saram's message of "Thu, 30 Jul 2015 15:17:42 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Xebar Saram writes: > Hi=C2=A0 > I created this function which works well. > > =C2=A0(defun z/org-sparse-todo () > =C2=A0 =C2=A0 (interactive) > =C2=A0 =C2=A0 (org-match-sparse-tree t "+TODO=3D\"TODO\"")) > > my question is how can i match on ANY todo state and not just literaly TO= DO > ie if i have this in my org file=C2=A0 > > #+TODO: TODO(t) EXP(e) | SUBMITTED(s) K_TRACK(k) PAUSED(p) DONE(d)=C2=A0 > > 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, =2D-=20 Daimrod/Greg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVul58AAoJEBNzVHcrZRiUnI0P/05guPUPOoWKUOqB0QMWUXyQ hAJYvgxnO5xYH97K2qqeL+RzM3HQiZ46LZdMLWvExtvtM9MyZ0CTP4mJevSsmwiv ayJW209JVFDTjRblq8Snsx/o7VtUv9rmKEqsD4s5IK8Rfe4+GcDuLeU3LZkvzG8S XHxxH0c0uCO1GN5lt/muUb6L45lk26hjuCH6iox4O39GwHdX3gX/ZNms9djIb88d Uphh4eh82pnUuS5ADtEH0wNGlc1IwpAolTu3DKqjNYBQHzU3DpcWbPhtBjoVRtAs XU8yMR6LUQi2QN7aZqTzNsLuCPxQU9zvBDf7FCwLFy78OqZnqljUEMIY3j9gWuDl HkCMIwqPi3+SVBuc/JlieOK3G9hQkvdCh7WCfH3l5araU6/Pv9vax38dSYIbQIGv QU2LGcUBcNUpu+TMCG9WXi8fK3Tsb0zwoiPd5zL15bvP00cGqiBwOV2RFe9cQPDe 6shIzZk9ozCHfSV3UDfbc0R43C3zkuG+QEOm8l/yVedjXjUy4WyCkkiH0szanXgT bHqYkknIfwVvZp+jd6UReInnf4/8pkDfH+3WYHKYG5V5dZZZDhxYaVZyDR7Lv2Pd cRSDngYZCj5BaGboqPmiuVhnVTXOsDo1uGrAomB8CEe5dfaJy+HACqo4fNl0yjcL H5vqK7j7r4GGd7GF6+f5 =dK2k -----END PGP SIGNATURE----- --=-=-=--