Org-mode mailing list
 help / color / mirror / Atom feed
From: Bastien <bzg@gnu.org>
To: Warren Lynn <wrn.lynn@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-agenda-undo does not work with repeated tasks [9.4]
Date: Sun, 25 Apr 2021 16:32:43 +0200
Message-ID: <87v98a8mes.fsf@gnu.org> (raw)
In-Reply-To: <CAMyoMRWsgv8Lg1Ru0au3sAVenAyVoZ_yXSvyvNzuezb+dbkQ_g@mail.gmail.com> (Warren Lynn's message of "Wed, 14 Oct 2020 11:49:47 -0400")

Hi Warren,

Warren Lynn <wrn.lynn@gmail.com> writes:

> With org-mode 9.4, if you have a repeated task like this:
>
> * TODO My weekly task
>   SCHEDULED: <2020-10-14 Wed +1w>
>
> In daily agenda, if you mark the task done, which will cause the
> above to change into:
>
> * TODO My weekly task
>   SCHEDULED: <2020-10-21 Wed +1w>
>   :PROPERTIES:
>   :LAST_REPEAT: [2020-10-14 Wed 11:45]
>   :END:
>   :LOGBOOK:
>   - State "DONE"       from "TODO"       [2020-10-14 Wed 11:45]
>   :END:
>
> But then if you run "org-agenda-undo" immediately in the agenda
> buffer, the task did not revert back to the original, instead, only
> the "LOGBOOK" part is gone, so it becomes this:
>
> * TODO My weekly task
>   SCHEDULED: <2020-10-21 Wed +1w>
>   :PROPERTIES:
>   :LAST_REPEAT: [2020-10-14 Wed 11:45]
>   :END:
>
> I don't think that's what people would expect from "org-agenda-undo",
> so it seems a bug to me.
>
> This bug is also in orgmode 6.3.7, so likely has been there for a
> long time.
>
> Thanks for looking into this.

I cannot look into this right now, but I confirm the bug still exists
in master.

Thanks for reporting it.


  reply	other threads:[~2021-04-25 14:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 15:49 Warren Lynn
2021-04-25 14:32 ` Bastien [this message]
2021-05-16 22:19 ` Bastien

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://orgmode.org

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

  git send-email \
    --in-reply-to=87v98a8mes.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=wrn.lynn@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

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git