emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problems with org-agenda-sort-strategy and todo-state
@ 2011-07-26 22:52 John Hendy
  0 siblings, 0 replies; only message in thread
From: John Hendy @ 2011-07-26 22:52 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-26 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-26 22:52 Problems with org-agenda-sort-strategy and todo-state John Hendy

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).