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

Reply via email to