From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?S=C3=A9bastien?= Delafond Subject: TODOs with repeat are not sorted correctly(?) in the agenda view Date: Mon, 24 Dec 2012 08:59:16 +0000 (UTC) Message-ID: <20121224095559.427@usenet.piggo.com> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tn3sk-0004vA-W3 for emacs-orgmode@gnu.org; Mon, 24 Dec 2012 03:59:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tn3sh-00004w-8p for emacs-orgmode@gnu.org; Mon, 24 Dec 2012 03:59:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:33100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tn3sh-0008V9-2i for emacs-orgmode@gnu.org; Mon, 24 Dec 2012 03:59:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tn3st-0007WE-8r for emacs-orgmode@gnu.org; Mon, 24 Dec 2012 09:59:43 +0100 Received: from 74.123.29.134 ([74.123.29.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Dec 2012 09:59:43 +0100 Received: from sdelafond by 74.123.29.134 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Dec 2012 09:59:43 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi fellows, got the following bug report[1] from a Debian user: We have the <2012-12-23 Sun>. I have in my TODO.org file the entries ***** TODO reference entry SCHEDULED: <2012-12-22 Sat> ***** TODO test entry + SCHEDULED: <2012-12-19 Wed +2d> ***** TODO test entry ++ SCHEDULED: <2012-12-19 Wed ++2d> ***** TODO test entry .+ SCHEDULED: <2012-12-19 Wed .+2d> When I type 'Ctrl-c a a' the agenda view gets created (with the default sorting settings) as follows: TODO: Sched. 2x: TODO reference entry TODO: Scheduled: TODO test entry + TODO: Scheduled: TODO test entry ++ TODO: Scheduled: TODO test entry .+ This is not the result I expect. The test entries are scheduled 3 days more in the past than the reference entry. Thus, I would expect them to come first with 'Sched. 5x:' in front. I understand that due to the repeats, the test entries virtually appear also on the 21st and 23rd, and that's why it is sorted that way. The sorting takes the last virtual appearance rather than the one real appearance. But that means, that entries that I should work on every second day never makes it to the top of the priority list, which renders the priority list in the agenda view useless, I think. When I work on one of the test entries and cycle through TODO-DONE-TODO, the SCHEDULED date is automatically incremented and only then should the entry appear later in the list. This is the most reasonable behavior, I think. However, since there seem different oppinions on that issue possible, it would be great to have at least an option that would allow to pick the one or the other behavior. (Please note that he is still using version 7.01g). I'll point the user to this thread so he can tell us more if need be. Cheers, --Seb