From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Jost Subject: [PATCH] org-mobile: allow tags-todo in agenda custom commands Date: Thu, 03 Dec 2009 13:46:10 +0100 Message-ID: <4B17B312.2020501@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1586091037==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGB4j-0000o1-1p for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 07:46:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGB4e-0000iL-Ki for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 07:46:24 -0500 Received: from [199.232.76.173] (port=48424 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGB4d-0000hw-7D for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 07:46:19 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:48016) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGB4c-0001qZ-NS for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 07:46:18 -0500 Received: by bwz7 with SMTP id 7so1115128bwz.26 for ; Thu, 03 Dec 2009 04:46:16 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1586091037== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2C095BCE0C3B45090A7F929C" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2C095BCE0C3B45090A7F929C Content-Type: multipart/mixed; boundary="------------010207080703040605090702" This is a multi-part message in MIME format. --------------010207080703040605090702 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello world, This is my first message here and my first contribution to anything related to emacs. Let's just say that I've switched from the dark side of text editors only a few weeks ago, but I'm really enjoying it, and org-mode definitely kicks ass. Here is a very simple patch against a small bug in org-mobile. It adds support for agenda custom views that use "tags-todo". Tested with org-mode 6.33f and latest version from the git repository. Cheers, Thomas --- lisp/org-mobile.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --------------010207080703040605090702 Content-Type: text/x-patch; name="0001-org-mobile-allow-tags-todo-in-agenda-custom-commands.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename*0="0001-org-mobile-allow-tags-todo-in-agenda-custom-commands.pa"; filename*1="tch" diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index cfcee14..5ef0be1 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -468,7 +468,7 @@ The table of checksums is written to the file mobile-= checksums." ((memq (nth 2 e) '(todo-tree tags-tree occur-tree)) ;; These are trees, not really agenda commands ) - ((memq (nth 2 e) '(agenda alltodo todo tags)) + ((memq (nth 2 e) '(agenda alltodo todo tags tags-todo)) ;; a normal command (setq key (car e) desc (nth 1 e) type (nth 2 e) match (nth 3 e) settings (nth 4 e)) --------------010207080703040605090702-- --------------enig2C095BCE0C3B45090A7F929C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksXsxYACgkQuew3J1eVs7LMiwCfXgiGFIxYJ01r5q3LgDAB9fAT rw0AoLktFiN44hq3PpHEMPXlu9sg6JBt =XV9w -----END PGP SIGNATURE----- --------------enig2C095BCE0C3B45090A7F929C-- --===============1586091037== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1586091037==--