From: Mikael Fornius <mfo@abc.se>
To: emacs-orgmode@gnu.org
Subject: (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty)
Date: Sat, 17 Oct 2009 15:57:21 +0200 [thread overview]
Message-ID: <87zl7q3yym.fsf@eee.in> (raw)
[-- 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
next reply other threads:[~2009-10-17 13:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-17 13:57 Mikael Fornius [this message]
2009-10-19 5:14 ` (customize-variable 'org-agenda-sorting-strategy) problem (release_6.31.73.g28e6.dirty) Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zl7q3yym.fsf@eee.in \
--to=mfo@abc.se \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).