From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Atmin Subject: Re: TODOs with repeat are not sorted correctly(?) in the agenda view Date: Thu, 27 Dec 2012 10:36:00 +0000 (UTC) Message-ID: References: <20121224095559.427@usenet.piggo.com> <87txrbrfdy.fsf@bzg.ath.cx> <87zk13sisn.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ToBWs-0004oh-LZ for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 06:21:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ToBWr-0003uv-JX for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 06:21:38 -0500 Received: from plane.gmane.org ([80.91.229.3]:53801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ToAov-0003Kd-OC for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 05:36:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ToAp8-0000ii-9s for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 11:36:26 +0100 Received: from f053063071.adsl.alicedsl.de ([78.53.63.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Dec 2012 11:36:26 +0100 Received: from jatmin by f053063071.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Dec 2012 11:36:26 +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 Dear Bastien, Bastien altern.org> writes: > > I have tried to customize `org-agenda-sorting-strategy', but only > > 'user-defined-up' might do the trick, I think. > > However, I do not know LISP and > > would not know how to define the required comparison function. > > In fact we need a date-up/date-down sorting strategy. Maybe, it would be clearer to call it scheduled-up/scheduled-down, because there are several different dates used. As far as I understand, items are already sorted by date as a fallback, i.e. it cannot be selected in the 'customize-variable' of 'org-agenda-sorting-strategy', but it is done anyway as a last rule. However, the date used is not the SCHEDULED date but in repeated items it is the last date in the past that one would get by incrementing the SCHEDULED date by multiples of the interval set (e.g. .+1w), which I find a not very useful behavior. > I'm putting this in my TODO list for Org 8.0. If you could implement a scheduled-up/scheduled-down to override this behavior, that would be great. Best wishes, Josef.