emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom agenda views: todo-state-down
@ 2009-02-16  0:30 Christopher Suckling
  2009-02-17 20:55 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Suckling @ 2009-02-16  0:30 UTC (permalink / raw)
  To: org-mode mailing list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Custom agenda views: todo-state-down
  2009-02-16  0:30 Custom agenda views: todo-state-down Christopher Suckling
@ 2009-02-17 20:55 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-02-17 20:55 UTC (permalink / raw)
  To: Christopher Suckling; +Cc: org-mode mailing list

Wow, two separate bugs!

Both fixed now, thanks for the report.

- Carsten

On Feb 16, 2009, at 1:30 AM, Christopher Suckling wrote:

> 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
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-17 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-16  0:30 Custom agenda views: todo-state-down Christopher Suckling
2009-02-17 20:55 ` Carsten Dominik

Code repositories for project(s) associated with this 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).