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 09:07:01 -0500

Karl Voit <address@hidden> wrote:

> Hi!
> 
> I tend to keep events that I do not attend in my calendar for
> archiving reasons. But I switch their status to CANCELED.
> Unfortunately, those events still appear on my Google calendar and
> so forth. I get my usual reminders and it messes up my free/busy
> list.
> 
> Therefore, I am thinking that canceled events should turn their
> active time-stamps into inactive with an Org-mode option. This way,
> I can recall them in my agenda by typing ']' (show inactive
> time-stamps) but they do not interfere with my daily workflow.
> 
> What do you think of such an option for Org-mode?
> 

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.

And don't forget to post the code here as well as on Worg :-)

Nick



reply via email to

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