From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: emacs-orgmode@gnu.org
Subject: time-up/down in org-agenda-sorting-strategy seems to have no effect?
Date: Sun, 28 Aug 2011 16:05:50 -0700 [thread overview]
Message-ID: <87liudp25t.fsf@berkeley.edu> (raw)
Hi everyone,
I've just started using custom agenda views in earnest, and I would like
to be able to control how several custom views are sorted. I have tried
to set org-agenda-sorting-strategy to reflect what I want, but it seems
to have no effect on how items are sorted. I'm wondering if I'm missing
something.
Specifically, I see no difference in how the items in todo, tags, and
tags-todo agenda views are sorted when I set time-down or time-up as the
first (or only) sorting criterion. (tag-up/down and category-up/down
seem to work alright; I haven't tested the other sorting criteria.)
Here's how I'm expressing the setup I want:
#+BEGIN_SRC emacs-lisp
(setq org-agenda-sorting-strategy
'((agenda habit-down time-up priority-down category-keep)
(todo time-down priority-down category-keep)
(tags time-down priority-down category-keep)
(search time-up priority-down todo-state-up)))
(setq org-agenda-custom-commands
'(("r" "Reading list" tags-todo "+reading")
("S" . "STUDY context searches")
("Sf" todo "FIND")
("Sp" todo "PRINT")
("Sr" todo "READ")
("Sn" todo "NOTES")
("St" tags-todo "+STUDY")
("D" tags-todo "+COMPUTER")
("H" tags-todo "+HOME")
("E" tags-todo "+ERRAND")
("F" tags "+FREETIME")))
#+END_SRC
Any insight you can provide will be very much appreciated. Thanks!
Best,
Richard Lawrence
next reply other threads:[~2011-08-28 23:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-28 23:05 Richard Lawrence [this message]
2012-09-23 10:07 ` time-up/down in org-agenda-sorting-strategy seems to have no effect? Bastien
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=87liudp25t.fsf@berkeley.edu \
--to=richard.lawrence@berkeley.edu \
--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).