From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Fornius Subject: (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty) Date: Sat, 17 Oct 2009 15:57:21 +0200 Message-ID: <87zl7q3yym.fsf@eee.in> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mz9lV-0006NF-CV for emacs-orgmode@gnu.org; Sat, 17 Oct 2009 09:56:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mz9lQ-0006Ku-Av for emacs-orgmode@gnu.org; Sat, 17 Oct 2009 09:56:12 -0400 Received: from [199.232.76.173] (port=56291 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mz9lQ-0006Kq-7S for emacs-orgmode@gnu.org; Sat, 17 Oct 2009 09:56:08 -0400 Received: from violet.abc.se ([62.80.200.155]:51021) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mz9lP-0002tA-JD for emacs-orgmode@gnu.org; Sat, 17 Oct 2009 09:56:07 -0400 Received: from eee.in.abc.se (81-233-151-247-no82.business.telia.com [81.233.151.247]) (authenticated bits=0) by violet.abc.se (8.13.8/8.13.8) with ESMTP id n9HDtPhe004309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 17 Oct 2009 15:55:29 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= 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... :) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=patch Content-Description: defcustom org-agenda-sorting-strategy 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 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --=-=-=--