From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Engster Subject: Sorting TODOs with time-up Date: Mon, 30 Mar 2009 14:57:21 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoHAu-00064B-FO for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 09:05:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoHAq-00062E-0F for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 09:05:11 -0400 Received: from [199.232.76.173] (port=59151 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoHAp-00062B-QG for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 09:05:07 -0400 Received: from main.gmane.org ([80.91.229.2]:43133 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LoHAp-0008SX-70 for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 09:05:07 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LoHAl-0000IQ-6N for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 13:05:03 +0000 Received: from 134.76.4.218 ([134.76.4.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2009 13:05:03 +0000 Received: from deng by 134.76.4.218 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2009 13:05:03 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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