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