From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: org-agenda-undo does not work on repeated tasks [7.9.3d (7.9.3d-dist @ /home/wlin/.emacs-lisp/org/lisp/)] Date: Wed, 10 Apr 2013 14:38:49 +0200 Message-ID: <87li8qfrrv.fsf@bzg.ath.cx> References: <51338C37.9020604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPuv5-0006KS-HV for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 09:18:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPuv1-00034I-0w for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 09:18:35 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:52062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPuv0-00033r-Mx for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 09:18:30 -0400 Received: by mail-we0-f173.google.com with SMTP id t57so348725wey.4 for ; Wed, 10 Apr 2013 06:18:30 -0700 (PDT) In-Reply-To: <51338C37.9020604@gmail.com> (Wanrong Lin's message of "Sun, 03 Mar 2013 12:45:27 -0500") 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: Wanrong Lin Cc: emacs-orgmode@gnu.org Hi Wanrong, Wanrong Lin writes: > Emacs : GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5) > of 2011-08-14 on allspice, modified by Debian > Package: Org-mode version 7.9.3d (7.9.3d-dist @ > /home/myth/.emacs-lisp/org/lisp/) > > To reproduce: > > In an org agenda buffer, mark a task as done. Then, run org-agenda-undo. If > the task is a repeated task like this: > > * TODO A weekly repeated task > SCHEDULED: <2013-03-03 Sun +1w> > > After mark a task as done from the agenda buffer, it becomes: > > * TODO A weekly repeated task > SCHEDULED: <2013-03-10 Sun +1w> > :LOGBOOK: > - State "DONE" from "TODO" [2013-03-03 Sun 12:43] > :END: > :PROPERTIES: > :LAST_REPEAT: [2013-03-03 Sun 12:43] > :END: > > Then, if I run org-agenda-undo (with C-z) in agenda buffer, > > * TODO A weekly repeated task > SCHEDULED: <2013-03-10 Sun +1w> > :LOGBOOK: > :END: > :PROPERTIES: > :LAST_REPEAT: [2013-03-03 Sun 12:43] > :END: > > As you can see, the LOGBOOK changed, but the SCHEDULED time did not go back > to the original. > > Thanks for looking into it. Thanks a lot for reporting this obscure bug. It is now fixed. -- Bastien