Skip to content

log custom TODO state changes to LOGBOOK #1056

@japhir

Description

@japhir

Is your feature request related to a problem? Please describe.

I have custom todo states (that work when I put them at the top of the file ❤️)

However, they currently do not log state changes to the LOGBOOK drawer

For example, with this config:

  (setq org-todo-keywords
   '((sequence "NEXT(n)" "WAIT(w@/!)" "TICK(t)" "SOME(s!/!)" "|"
               "DONE(d)" "CANC(c)")))

or with this headline:

#+TODO: NEXT(n) WAIT(w@/!) TICK(t) SOME(s@/!) | DONE(d!) CANCELED(c@)

when I create a task like this:

* NEXT hi
:PROPERTIES:
:CREATED:  [2025-11-04 Tue 16:49]
:END:

and then I change the state to WAIT in emacs, it turns into:

* WAIT hi
:PROPERTIES:
:CREATED:  [2025-11-04 Tue 16:49]
:END:
:LOGBOOK:
- State "WAIT"       from "NEXT"       [2025-11-04 Tue 16:51]
:END:

Describe the solution you'd like
I'd like organice to do the same!

Describe alternatives you've considered
ehm.. manually adding notes? But they also do not get logged into the LOGBOOK drawer currently #794

Additional context
The org-mode manual section https://orgmode.org/manual/Tracking-TODO-state-changes.html

Related to #980 which should add a CLOSED: [inactive timestamp with date]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions