emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Sorting TODOs with time-up
@ 2009-03-30 12:57 David Engster
  2009-03-30 13:41 ` Matthew Lundin
  0 siblings, 1 reply; 8+ messages in thread
From: David Engster @ 2009-03-30 12:57 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I guess this should be simple but somehow it's not working for me. I
want to generate a todo list which is sorted according to the scheduled
date. Consider the following test.org file:

** TODO: first SCHEDULED: <2009-04-01 Wed>
** TODO: second SCHEDULED: <2009-04-23 Thu>
** TODO: third SCHEDULED: <2009-04-16 Thu>

This minimal setup

(setq org-agenda-files '("~/orgtest/test.org"))
(setq org-agenda-sorting-strategy 
      '((agenda time-up priority-down category-keep)
	(todo time-up priority-down category-keep)
	(tags priority-down category-keep)
	(search category-keep)))

should sort TODOs according to time, right? But when I do

M-x org-agenda RET t

I get:

Global list of TODO items of type: ALL
Available with `N r': (0)ALL (1)TODO (2)DONE
  test:       TODO: first SCHEDULED: <2009-04-01 Wed>
  test:       TODO: second SCHEDULED: <2009-04-23 Thu>
  test:       TODO: third SCHEDULED: <2009-04-16 Thu>

Same with org-todo-list. Also, doing 'C-u C-x =' on one of the lines shows
that the time-of-day property is nil, so it seems that there's just no
information for sorting according to date. What am I missing? (I'm using
org-mode snapshot from today with latest Emacs 23 pretest).

Thanks for your help.

-David

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

end of thread, other threads:[~2009-03-31 14:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-30 12:57 Sorting TODOs with time-up David Engster
2009-03-30 13:41 ` Matthew Lundin
2009-03-30 14:46   ` David Engster
2009-03-30 17:59     ` Carsten Dominik
2009-03-30 21:03       ` David Engster
2009-03-30 21:15         ` Carsten Dominik
2009-03-31 11:53           ` David Engster
2009-03-31 14:44             ` Carsten Dominik

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