emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG: Logging habits to LOGBOOK results in double entered time stamp.
@ 2021-06-09  5:10 Carlo Tambuatco
  2021-06-14 17:21 ` Bhavin Gandhi
  0 siblings, 1 reply; 3+ messages in thread
From: Carlo Tambuatco @ 2021-06-09  5:10 UTC (permalink / raw)
  To: Org-Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]

There seems to be a bug in Org mode version 9.4.6, (9.4.6-2-g21eb69-elpa
...),

For example, I have a TODO habit task like so:

TODO Some task
SCHEDULED: <2021-06-08 Tue .+1d>
:PROPERTIES:
:STYLE:    habit
:LAST_REPEAT: [2021-06-07 Mon 23:19]
:CATEGORY: Daily Chores
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2021-06-07 Mon 23:19]
- State "DONE"       from "TODO"       [2021-06-06 Sun 22:18]
- State "DONE"       from "TODO"       [2021-06-05 Sat 23:13]
:END:

When I mark the task as DONE for the day, it logs the task as:

TODO Some task
SCHEDULED: <2021-06-09 Tue .+1d>
:PROPERTIES:
:STYLE:    habit
:LAST_REPEAT: [2021-06-08 Tue 22:20]
:CATEGORY: Daily Chores
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]  <-- Repeated
entry
- State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]
- State "DONE"       from "TODO"       [2021-06-07 Mon 23:19]
- State "DONE"       from "TODO"       [2021-06-06 Sun 22:18]
- State "DONE"       from "TODO"       [2021-06-05 Sat 23:13]
:END:

[-- Attachment #2: Type: text/html, Size: 1586 bytes --]

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

* Re: BUG: Logging habits to LOGBOOK results in double entered time stamp.
  2021-06-09  5:10 BUG: Logging habits to LOGBOOK results in double entered time stamp Carlo Tambuatco
@ 2021-06-14 17:21 ` Bhavin Gandhi
  2021-06-14 17:41   ` Carlo Tambuatco
  0 siblings, 1 reply; 3+ messages in thread
From: Bhavin Gandhi @ 2021-06-14 17:21 UTC (permalink / raw)
  To: Carlo Tambuatco; +Cc: Org-Mode Mailing List

Hello Carlo

On Wed, 9 Jun 2021 at 10:42, Carlo Tambuatco wrote:
> When I mark the task as DONE for the day, it logs the task as:
>
> :LOGBOOK:
> - State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]  <-- Repeated entry
> - State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]
> […]
>

I'm not able to reproduce this issue with emacs -q and the latest
master. But I think that this issue is similar to
https://orgmode.org/list/877diwbm6a.fsf@gmail.com/T/#u

Can you share the value of org-todo-keywords variable? (C-h v
org-todo-keywords).

-- 
Bhavin Gandhi (bhavin192) | https://geeksocket.in


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

* Re: BUG: Logging habits to LOGBOOK results in double entered time stamp.
  2021-06-14 17:21 ` Bhavin Gandhi
@ 2021-06-14 17:41   ` Carlo Tambuatco
  0 siblings, 0 replies; 3+ messages in thread
From: Carlo Tambuatco @ 2021-06-14 17:41 UTC (permalink / raw)
  To: Bhavin Gandhi; +Cc: Org-Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

Here's the value:

Its value is
((sequence "TODO(t)" "IN_PROGRESS(i)" "|" "DONE(d!)" "POSTPONED(p@)"
"CANCELLED(c@)")
 (sequence "TEST(e)" "TESTING(s)" "|" "PASS(p!)" "FAIL(f@)"))
Original value was
((sequence "TODO" "DONE"))




On Mon, Jun 14, 2021 at 1:22 PM Bhavin Gandhi <bhavin7392@gmail.com> wrote:

> Hello Carlo
>
> On Wed, 9 Jun 2021 at 10:42, Carlo Tambuatco wrote:
> > When I mark the task as DONE for the day, it logs the task as:
> >
> > :LOGBOOK:
> > - State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]  <--
> Repeated entry
> > - State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]
> > […]
> >
>
> I'm not able to reproduce this issue with emacs -q and the latest
> master. But I think that this issue is similar to
> https://orgmode.org/list/877diwbm6a.fsf@gmail.com/T/#u
>
> Can you share the value of org-todo-keywords variable? (C-h v
> org-todo-keywords).
>
> --
> Bhavin Gandhi (bhavin192) | https://geeksocket.in
>

[-- Attachment #2: Type: text/html, Size: 1773 bytes --]

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

end of thread, other threads:[~2021-06-14 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09  5:10 BUG: Logging habits to LOGBOOK results in double entered time stamp Carlo Tambuatco
2021-06-14 17:21 ` Bhavin Gandhi
2021-06-14 17:41   ` Carlo Tambuatco

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