Narendra Joshi <narendr...@gmail.com> writes: > I would like to change the state of a task to TODO when it is scheduled > or a deadline is set for the task. I couldn't find any hook that is > called after scheduling. How can I do this?
Hi Narendra, You're right, looking at org--deadline-or-schedule, there doesn't seem to be a hook for this. So: 1. You could use advice-add to run a function after this is run. 2. You could add a hook to this function and send a patch. :)