emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Suckling <suckling.list@googlemail.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Custom agenda views: todo-state-down
Date: Mon, 16 Feb 2009 00:30:09 +0000	[thread overview]
Message-ID: <13D73EE1-CCC4-4CB7-9ABB-3A8D6661C27F@gmail.com> (raw)

I'm having a little difficulty with org-agenda-sorting-strategy:

If I create a tags or tags-todo view, then todo-state-down (or todo- 
state-up) appears to be ignored. For example:

-----
("P" "Priority #A tasks " tags-todo "+PRIORITY=\"A\""
	 ((org-agenda-skip-timestamp-if-done t)
	  (org-agenda-sorting-strategy '(todo-state-down effort-up category- 
keep))
	  (org-agenda-overriding-header "Priority #A tasks: ")))
-----

fails to sort by todo-state.

On the other hand:

-----
	("Qt" "TODO entries - @mac " alltodo ""
	 ((org-agenda-files (list "~/Sites/org/mac_A.org"))
	  (org-agenda-sorting-strategy '(priority-down todo-state-down  
category-keep))
	  (org-agenda-overriding-header "TODO entries - @mac: ")))
-----

sorts as expected.

Interestingly, if the second example is included as part of a block  
agenda, then it also fails.

Any suggestions?

Best wishes,

Christopher

             reply	other threads:[~2009-02-16  0:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16  0:30 Christopher Suckling [this message]
2009-02-17 20:55 ` Custom agenda views: todo-state-down Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13D73EE1-CCC4-4CB7-9ABB-3A8D6661C27F@gmail.com \
    --to=suckling.list@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).