[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2
From: |
Bhavin Gandhi |
Subject: |
Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)] |
Date: |
Mon, 14 Jun 2021 23:31:52 +0530 |
On Mon, 14 Jun 2021 at 19:10, Gustavo Barros wrote:
> The marking of repeated tasks as "done" is currently resulting in
> duplicate entries in the "LOGBOOK" drawer, which is not expected. I
> don't know exactly when this came to be, but it does not happen in the
> current built-in version (9.4.4), while it does in the latest release
> (9.4.6).
I was able to reproduce this, and here are my findings as well as a
reproducible configuration with only a few settings.
=test.org= file:
#+begin_src org
* TODO First
* TODO Read book
SCHEDULED: <2021-06-15 Tue +1d>
#+end_src
Start emacs -Q and open the test.org file.
Go to the 'First' entry, and do C-c C-t. This adds an a timestamp record
(this does not happen with 9.4.4, not sure if the default behavior has
been changed).
Changed test.org file:
#+begin_src org
* DONE First
- State "DONE" from "TODO" [2021-06-14 Mon 23:23]
* TODO Read book
SCHEDULED: <2021-06-15 Tue +1d>
#+end_src
Now, load this configuration:
#+begin_src elisp
(add-to-list 'load-path "~/src/org-mode/lisp/")
(setq org-todo-keywords
'((sequence "TODO(t)" "|" "DONE(d!)")))
#+end_src
Open the test.org again, and go to the "Read book" entry, mark it done
with C-c C-t. Now, there are two timestamp changes getting recorded.
#+begin_src org
[…]
* TODO Read book
SCHEDULED: <2021-06-16 Wed +1d>
:PROPERTIES:
:LAST_REPEAT: [2021-06-14 Mon 23:26]
:END:
- State "DONE" from "TODO" [2021-06-14 Mon 23:26]
- State "DONE" from "TODO" [2021-06-14 Mon 23:26]
#+end_src
--
Bhavin Gandhi (bhavin192) | https://geeksocket.in
- Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Gustavo Barros, 2021/06/14
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)],
Bhavin Gandhi <=
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Jeff Kowalski, 2021/06/17
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Gustavo Barros, 2021/06/17
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Jeff Kowalski, 2021/06/25
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Gustavo Barros, 2021/06/26
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Gustavo Barros, 2021/06/26
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Bhavin Gandhi, 2021/06/27
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Gustavo Barros, 2021/06/27
- Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)], Bhavin Gandhi, 2021/06/28