At Thu, 14 Jan 2010 18:07:34 +0530,
Manish wrote:
> 
> On Thu, Jan 14, 2010 at 4:56 PM, Eric S Fraga wrote:
> [...]
> > Ideally, it would be nice if one could attach actions (beyond logbook
> > recording) to todo state changes, actions like "unschedule this item
> > when switching to WAITING state" and I'm sure there are others...  but
> > having this capability is not critical of course.
> 
> There is a hook "org-after-todo-state-change-hook" that is called
> after the state of a TODO item is changed.  So may be org-schedule can
> be called to remove the SCHEDULED time on state change to WAITING?
> 
> http://orgmode.org/worg/org-configs/org-hooks.php#sec-1.13
> 
> Best,
> -- 
> Manish

I just *knew* that org-mode would already support what I wanted.  Why
I didn't think of looking at the hooks, I'm not sure.  Thanks for this
pointer.  I'm off to play with it!


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to