From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: time-up/down in org-agenda-sorting-strategy seems to have no effect? Date: Sun, 28 Aug 2011 16:05:50 -0700 Message-ID: <87liudp25t.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxoRA-0006V2-U4 for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 19:06:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxoRA-0006NB-2e for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 19:06:44 -0400 Received: from lo.gmane.org ([80.91.229.12]:56260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxoR9-0006N7-TM for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 19:06:44 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QxoR7-000298-Sg for emacs-orgmode@gnu.org; Mon, 29 Aug 2011 01:06:41 +0200 Received: from c-67-164-33-170.hsd1.ca.comcast.net ([67.164.33.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Aug 2011 01:06:41 +0200 Received: from richard.lawrence by c-67-164-33-170.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Aug 2011 01:06:41 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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