emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Problems with org-agenda-sort-strategy and todo-state


From: John Hendy
Subject: [O] Problems with org-agenda-sort-strategy and todo-state
Date: Tue, 26 Jul 2011 17:52:41 -0500

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]