emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] org-mobile: allow tags-todo in agenda custom commands
@ 2009-12-03 12:46 Thomas Jost
  2009-12-03 14:07 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Jost @ 2009-12-03 12:46 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] org-mobile: allow tags-todo in agenda custom commands
  2009-12-03 12:46 [PATCH] org-mobile: allow tags-todo in agenda custom commands Thomas Jost
@ 2009-12-03 14:07 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-12-03 14:07 UTC (permalink / raw)
  To: Thomas Jost; +Cc: emacs-orgmode

Hi Thomas,

thanks for the patch, I have applied it.

- Carsten

On Dec 3, 2009, at 1:46 PM, Thomas Jost wrote:

> 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(-)
>
>
> <0001-org-mobile-allow-tags-todo-in-agenda-custom- 
> commands.patch>_______________________________________________
> 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

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-03 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-03 12:46 [PATCH] org-mobile: allow tags-todo in agenda custom commands Thomas Jost
2009-12-03 14:07 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).