emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-agenda-undo does not work on repeated tasks [7.9.3d (7.9.3d-dist @ /home/wlin/.emacs-lisp/org/lisp/)]
@ 2013-03-03 17:45 Wanrong Lin
  2013-04-10 12:38 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Wanrong Lin @ 2013-03-03 17:45 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-04-01 18:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).