emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

log-done and org-after-todo-state-change-hook


From: Florian Lindner
Subject: log-done and org-after-todo-state-change-hook
Date: Wed, 27 Apr 2022 21:46:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

Hello,

I have an org-todo-keywords like "DONE(d!)" which logs a time stamp everytime that todo is reached.

I also use org-after-todo-state-change-hook to copy that node somewhere else, as soon as it is finished.

My problem now is that the logging seems to happen after hook, which made me end up with a original node:

DONE letzter note
:LOGBOOK:
- State "DONE"       from "TODO"       [2022-04-27 Mi 21:42]
:END:
[2022-04-27 Mi]


which is copied to

** DONE letzter note
[2022-04-27 Mi]

How can make the hook to be executed after the logging of done or some other way to have the log entry included in the copy?

Thanks!
Florian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]