emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty)
@ 2009-10-17 13:57 Mikael Fornius
  2009-10-19  5:14 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Mikael Fornius @ 2009-10-17 13:57 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 269 bytes --]


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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: defcustom org-agenda-sorting-strategy --]
[-- Type: text/x-patch, Size: 964 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 47 bytes --]


Org-mode is great, thanks!

- 
Mikael Fornius

[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty)
  2009-10-17 13:57 (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty) Mikael Fornius
@ 2009-10-19  5:14 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-10-19  5:14 UTC (permalink / raw)
  To: Mikael Fornius; +Cc: emacs-orgmode

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

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

end of thread, other threads:[~2009-10-19  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-17 13:57 (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty) Mikael Fornius
2009-10-19  5:14 ` 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).