Org-mode mailing list
 help / color / mirror / 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

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