From: Ihor Radchenko <yantar92@gmail.com>
To: Jonathan Reeve <jonathan@jonreeve.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] running org-agenda-todo-yesterday on a habit erroneously sets :LAST_REPEAT: as today, instead of yesterday [9.6 (9.6-??-e9da29b6f @ /home/jon/.emacs.d/.local/straight/build-28.1/org/)]
Date: Thu, 07 Jul 2022 18:20:07 +0800 [thread overview]
Message-ID: <87zghlusvc.fsf@localhost> (raw)
In-Reply-To: <87sfnk7l0h.fsf@jonreeve.com>
Jonathan Reeve <jonathan@jonreeve.com> writes:
> I will often use org-agenda-todo-yesterday to log habits that I did yesterday. It works fine for changing the todo state and logging it as yesterday’s, but the :LAST_REPEAT: property it has, since it’s a habit, is set to today, rather than yesterday.
>
> This means that, for example, I can have a habit that’s set to repeat every day, and run org-agenda-todo-yesterday in Agenda view, which will change the state of a habit to “DONE” for yesterday, but when I reload the buffer, the item disappears, because it thinks it’s already been done for that day. But I want to log it as done for yesterday, and then log it again as done for today.
Thanks!
Fixed on main via 0495961f3.
Best,
Ihor
prev parent reply other threads:[~2022-07-07 10:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-01 18:20 [BUG] running org-agenda-todo-yesterday on a habit erroneously sets :LAST_REPEAT: as today, instead of yesterday [9.6 (9.6-??-e9da29b6f @ /home/jon/.emacs.d/.local/straight/build-28.1/org/)] Jonathan Reeve
2022-07-07 10:20 ` Ihor Radchenko [this message]
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=87zghlusvc.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jonathan@jonreeve.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).