[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: log-done and org-after-todo-state-change-hook
From: |
Ihor Radchenko |
Subject: |
Re: log-done and org-after-todo-state-change-hook |
Date: |
Thu, 28 Apr 2022 22:32:28 +0800 |
Florian Lindner <mailinglists@xgm.de> writes:
> 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:
> ...
> 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?
There is currently no hook running after you store note.
However, you can add an :after advice to org-store-log-note.
Best,
Ihor