all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thomas Jost <thomas.jost@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] org-mobile: allow tags-todo in agenda custom commands
Date: Thu, 03 Dec 2009 13:46:10 +0100	[thread overview]
Message-ID: <4B17B312.2020501@gmail.com> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 575 bytes --]

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(-)



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: 0001-org-mobile-allow-tags-todo-in-agenda-custom-commands.patch --]
[-- Type: text/x-patch; name="0001-org-mobile-allow-tags-todo-in-agenda-custom-commands.patch", Size: 580 bytes --]

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))


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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	other threads:[~2009-12-03 12:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 12:46 Thomas Jost [this message]
2009-12-03 14:07 ` [PATCH] org-mobile: allow tags-todo in agenda custom commands Carsten Dominik

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=4B17B312.2020501@gmail.com \
    --to=thomas.jost@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.