[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: can you require a certain template with lognotedone?
From: |
Michael Gilbert |
Subject: |
[Orgmode] Re: can you require a certain template with lognotedone? |
Date: |
Tue, 13 Jul 2010 09:58:20 -0700 |
>> I require a note when certain TODOs are changed to DONE. These are
>> almost always some sort of structured logging. Is there a way to call
>> org-capture and/or require a certain template for that note? That
>> would be a very powerful workflow for me.
>
> You could use org-after-todo-state-change-hook to call a function that
> invokes org-capture, using arbitrary tests to see if the current entry
> has a particular property, etc.
Thank you. This may be beyond my skill right now. And as Darlan pointed out to
me offlist, this might be something that should be framed more generically. I
do need to start learning about hooks though.
— Michael