[Orgmode] Remove scheduled date when switch TODO states

2010-02-20 Thread Nathaniel Flath
Hello,

I have a todo state, PENDING, that I organize tasks that I cannot perform
immediately.  Is there a way to configure org-todoconfigure so that when a
task is switched to PENDING, if it has a scheduled date that date is
removed?

Thanks,
Nathaniel Flath
___
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


Re: [Orgmode] Remove scheduled date when switch TODO states

2010-02-20 Thread Manish
On Sun, Feb 21, 2010 at 1:43 AM, Nathaniel Flath wrote:
 Hello,

 I have a todo state, PENDING, that I organize tasks that I
 cannot perform immediately.  Is there a way to configure
 org-todoconfigure so that when a task is switched to PENDING,
 if it has a scheduled date that date is removed?

i'm not aware of any in-built way of doing this but org-schedule can be
called with org-trigger-hook to do the job but i still don't know
sufficient elisp to help with an implementation. :(

http://orgmode.org/worg/org-configs/org-hooks.php#sec-1.15

-- 
manish


___
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