Karl Voit <devn...@karl-voit.at> wrote: > * Nick Dokos <nicholas.do...@hp.com> 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