emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Wanrong Lin <wrglin@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87li8qfrrv.fsf@bzg.ath.cx> (raw)
In-Reply-To: <51338C37.9020604@gmail.com> (Wanrong Lin's message of "Sun, 03 Mar 2013 12:45:27 -0500")

Hi Wanrong,

Wanrong Lin <wrglin@gmail.com> 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

  reply	other threads:[~2013-04-10 13:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03 17:45 Bug: org-agenda-undo does not work on repeated tasks [7.9.3d (7.9.3d-dist @ /home/wlin/.emacs-lisp/org/lisp/)] Wanrong Lin
2013-04-10 12:38 ` Bastien [this message]
2019-03-26 14:23   ` Bug: Entries with diary-sexps in "scheduled" not exported properly to calendar file (.ics file) Wanrong Lin
2019-03-26 18:21     ` Thomas Plass
2019-03-26 19:20       ` Wanrong Lin
2019-03-26 21:01         ` Thomas Plass
2019-04-01 18:14           ` Wanrong Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87li8qfrrv.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=wrglin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).