[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Change todo state when scheduled or a deadline is set
From: |
Adam Porter |
Subject: |
Re: [O] Change todo state when scheduled or a deadline is set |
Date: |
Fri, 01 Sep 2017 22:01:33 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Narendra Joshi <address@hidden> 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. :)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Change todo state when scheduled or a deadline is set,
Adam Porter <=