From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Bug: Schedule in agenda gives wrong overdue days [7.4] Date: Wed, 12 Jan 2011 20:13:57 -0500 Message-ID: <87sjwxobai.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=50329 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdBlR-00080Z-DC for emacs-orgmode@gnu.org; Wed, 12 Jan 2011 20:14:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdBlP-000457-Lw for emacs-orgmode@gnu.org; Wed, 12 Jan 2011 20:14:09 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:42048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdBlP-00041o-KI for emacs-orgmode@gnu.org; Wed, 12 Jan 2011 20:14:07 -0500 In-Reply-To: (Paul Stansell's message of "Thu, 6 Jan 2011 17:06:01 +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: Paul Stansell Cc: emacs-orgmode@gnu.org Paul Stansell writes: > Dear Sirs, > > For an org file containing just the two following lines: > > * TODO Water plants at work > SCHEDULED: <2010-12-27 Mon .+1w> > > creating an agenda with "C-c a a" on 2011-01-06 displays the following > three lines: > > Day-agenda (W01): > Thursday 6 January 2011 > org_mode_bug:Sched. 4x: TODO Water plants at work > > I expected is for the schedule overdue days to be 11x instead of 4x. Hi Paul, I've tried to fix this problem multiple times (and failed so far for the general case). I run with a partial fix in my org git repository that handles this case for me. The patch is available at git://git.norang.ca/org-mode.git fix-agenda-late-tasks It's a single commit 9129f6 which works for me but needs extra work to handle non-TODO keyword repeating tasks. I haven't had time to work on that yet. HTH, Bernt