emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Wish: switch active time-stamps to inactive when CANCELED


From: Nick Dokos
Subject: Re: [O] Wish: switch active time-stamps to inactive when CANCELED
Date: Fri, 18 Jan 2013 16:59:58 -0500

Karl Voit <address@hidden> wrote:

> * Nick Dokos <address@hidden> wrote:
> >
> > You can probably accomplish this with org-after-todo-state-change-hook:
> >
> > Write a function that checks if org-state is "CANCELED", and if so looks
> > for active timestamps and calls org-toggle-timestamp-type on them.
> >
> > Then add the function to the hook.
> 
> Oh, I would have guessed this algorithm overview/principle as well
> :-)
> 

It is more than an algorithm overview/principle: there are specific
suggestions in there - which hook to use, the state variable that you
need to check and the function to toggle the timestamp type are the
"real" thing: nothing vaporous about them.

> But unfortunately, I know that little of ELISP, that I am not able
> to implement it by myself :-(
> 

Time to learn some then - and there is no better way than scratching
your own itch :-)

Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]