From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin Subject: Bug: org-agenda-undo does not work on repeated tasks [7.9.3d (7.9.3d-dist @ /home/wlin/.emacs-lisp/org/lisp/)] Date: Sun, 03 Mar 2013 12:45:27 -0500 Message-ID: <51338C37.9020604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCCyb-0006Gt-58 for emacs-orgmode@gnu.org; Sun, 03 Mar 2013 12:45:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCCyY-00031g-Mh for emacs-orgmode@gnu.org; Sun, 03 Mar 2013 12:45:33 -0500 Received: from mail-qe0-f51.google.com ([209.85.128.51]:33450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCCyY-00031c-I7 for emacs-orgmode@gnu.org; Sun, 03 Mar 2013 12:45:30 -0500 Received: by mail-qe0-f51.google.com with SMTP id nd7so3430953qeb.10 for ; Sun, 03 Mar 2013 09:45:29 -0800 (PST) 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 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.