Re: [O] Change todo state when scheduled or a deadline is set

2017-09-01 Thread Adam Porter
Narendra Joshi  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.  :)




[O] Change todo state when scheduled or a deadline is set

2017-08-30 Thread Narendra Joshi
Hi,

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? 

Best,
-- 
Narendra Joshi