[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: |
Matt Lundin |
Subject: |
[Orgmode] Re: can you require a certain template with lognotedone? |
Date: |
Tue, 13 Jul 2010 08:18:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Michael,
Michael Gilbert <address@hidden> writes:
> 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.
Best,
Matt