From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Problems with org-agenda-sort-strategy and todo-state Date: Tue, 26 Jul 2011 17:52:41 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlqUV-0007Ij-O6 for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 18:52:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlqUU-0002AR-RQ for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 18:52:43 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:55728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlqUU-0002AN-LE for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 18:52:42 -0400 Received: by eyx24 with SMTP id 24so1916900eyx.19 for ; Tue, 26 Jul 2011 15:52:41 -0700 (PDT) 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 I'm setting up an agenda block view via help from norang.ca, the manual, and worg on the matters and have come up with something like so: ---------- (setq org-agenda-custom-commands '(("w" "Agenda" ((agenda "" ((org-agenda-ndays 7))) (todo "next" ((org-agenda-overriding-header "Next Actions"))) (tags-todo "proj-name-1" ((org-agenda-overriding-header "Project Name 1")) (org-agenda-sorting-strategy '(todo-state-down))) (tags-todo "proj-name-2" ((org-agenda-overriding-header "Project Name 2")) (org-agenda-sorting-strategy '(todo-state-down))) )))) ---------- I have actionable todo states set as "todo" and "proj." I get something like this in the block view: ---------- Proj-Name-1 proj-name-1: proj Something 1 proj-name-1: todo [2/4] Something 2 proj-name-1: proj Something 3 proj-name-1: todo Something 4 ---------- I thought setting the todo-state-down sort strategy would group proj together and todo together... is that not the case? I note that the help for the variable org-agenda-sort-strategy says that done goes last/first depending on up or down... does that mean it *only* differentiates between open todos (regardless of custom types) and done? If there are suggestions of how to get the proj at the top and todos at the bottom, that would be great. Thanks, John