orgmode
orgmode copied to clipboard
`org-log-into-drawer` logs todo keywords with exclamation mark
From reproducing in emacs, our current behavior matches that in emacs. For non-repeating TODO, nothing is logged, for repeating it is logged and for repeating with org-log-into-drawer set, it logs into the given drawer. For non-repeating, the state is changed, for repeating it is not (or actually, it is moved to DONE and then immediately back to TODO), just as in emacs.
Also note that this PR doesn't change the behavior of logging state changes, only its location in case the option is set
Also note that this PR doesn't change the behavior of logging state changes, only its location in case the option is set. Logging a note on a plain headline (and forcing logging on a single state change), done in emacs with C-u C-c C-t is something we want to have, but not in scope for this PR I think.
edit: did some editing by accident, should be 'reverted' (-Jonas)
Originally posted by @Jesse-Bakker in https://github.com/nvim-orgmode/orgmode/issues/531#issuecomment-1477511420
org-todo-keywords equals to "TODO(t!)" "|" "DONE(d!)" then is logged into the drawer