Re: [Orgmode] (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty)

2009-10-19 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Oct 17, 2009, at 3:57 PM, Mikael Fornius wrote:



I get mismatch when trying to

(customize-variable 'org-agenda-sorting-strategy)

. The search option is not included in the defcustom.

Maybe I have missed something but for me the attached patch fixes the
problem.

A tiny contribution hopefully, but anyway... :)

patch
Org-mode is great, thanks!

-
Mikael Fornius
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty)

2009-10-17 Thread Mikael Fornius

I get mismatch when trying to

(customize-variable 'org-agenda-sorting-strategy)

. The search option is not included in the defcustom. 

Maybe I have missed something but for me the attached patch fixes the
problem. 

A tiny contribution hopefully, but anyway... :)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ac79e47..f61440b 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -991,7 +991,7 @@ categories by priority.
 
 Instead of a single list, this can also be a set of list for specific
 contents, with a context symbol in the car of the list, any of
-`agenda', `todo', `tags' for the corresponding agenda views.
+`agenda', `todo', `tags', `search' for the corresponding agenda views.
 
 Custom commands can bind this variable in the options section.
   :group 'org-agenda-sorting
@@ -1003,6 +1003,8 @@ Custom commands can bind this variable in the options section.
 		(cons (const :tag Strategy for TODO lists todo)
 		  (repeat ,org-sorting-choice))
 		(cons (const :tag Strategy for Tags matches tags)
+		  (repeat ,org-sorting-choice))
+		(cons (const :tag Strategy for search matches search)
 		  (repeat ,org-sorting-choice)
 
 (defcustom org-agenda-cmp-user-defined nil

Org-mode is great, thanks!

- 
Mikael Fornius
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode