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

2013-01-26 Thread Bastien
Hi Karl, Karl Voit writes: > 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. >

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

2013-01-24 Thread Bastien
Hi Viktor, Viktor Rosenfeld writes: > The credit should go to Bernt Hansen. I found it in his org-mode > setup. Fixed, thanks! -- Bastien

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

2013-01-23 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: > Viktor Rosenfeld writes: > > > #+BEGIN_SRC emacs-lisp > > (setq org-todo-state-tags-triggers '(("CANCELLED" ("ARCHIVE" . t > > #+END_SRC > > I shared this as a new FAQ, thanks! The credit should go to Bernt Hansen. I found it in his org-mode setup. Cheers, Vi

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

2013-01-23 Thread Bastien
Hi Viktor, Viktor Rosenfeld writes: > #+BEGIN_SRC emacs-lisp > (setq org-todo-state-tags-triggers '(("CANCELLED" ("ARCHIVE" . t > #+END_SRC I shared this as a new FAQ, thanks! -- Bastien

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

2013-01-21 Thread Memnon Anon
Nick Dokos writes: >> 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 :-) Two days later, no reply so far. I'll give it a shot. Karl, if you are still fiddli

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

2013-01-20 Thread Viktor Rosenfeld
Hi, Karl Voit wrote: > ELISP is nothing you can learn in a single weekend. I've got the > feeling that this is a task that requires a longer period of time. > It's in SOMEDAY state in my Org along with: I've found that you can pick up enough ELISP on a weekend to start hacking small snipplets ri

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

2013-01-20 Thread Karl Voit
* Nick Dokos wrote: > Karl Voit wrote: > >> 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

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

2013-01-20 Thread Karl Voit
* Viktor Rosenfeld wrote: > Hi, Hi! > Karl Voit wrote: > >> But still: there are two steps I have to make: (a) mark as canceled >> because I want this "CANCELED" string attached and (b) add the >> ARCHIVE tag. > > You can set the ARCHIVE tag when switching the TODO state automatically > using or

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

2013-01-18 Thread Daimrod
Viktor Rosenfeld writes: > Hi, > > Karl Voit wrote: > >> But still: there are two steps I have to make: (a) mark as canceled >> because I want this "CANCELED" string attached and (b) add the >> ARCHIVE tag. > > You can set the ARCHIVE tag when switching the TODO state automatically > using org-to

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

2013-01-18 Thread Viktor Rosenfeld
Hi, Karl Voit wrote: > But still: there are two steps I have to make: (a) mark as canceled > because I want this "CANCELED" string attached and (b) add the > ARCHIVE tag. You can set the ARCHIVE tag when switching the TODO state automatically using org-todo-state-tags-triggers. For example (unt

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

2013-01-18 Thread Nick Dokos
Karl Voit wrote: > * Nick Dokos 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 func

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

2013-01-18 Thread Karl Voit
* Nick Dokos 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

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

2013-01-18 Thread Karl Voit
* Daimrod wrote: > > Why doesn't the method with :ARCHIVE: tag fit your needs? > > You can mark a subtree to ignore it. This way you keep the whole project > as a whole. Good point indeed. But still: there are two steps I have to make: (a) mark as canceled because I want this "CANCELED" string a

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

2013-01-18 Thread Nick Dokos
Karl Voit 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. >

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

2013-01-18 Thread Daimrod
Karl Voit writes: > * Daimrod wrote: >> >> Org Mode has already facilities for archiving. > > Thanks for the pointer but I know and I am using archiving in > Org-mode. > >> In both cases they won't be displayed in the Agenda unless you active >> them (v a or v A). > > Right. > > But in my workfl

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

2013-01-18 Thread Karl Voit
* Daimrod wrote: > > Org Mode has already facilities for archiving. Thanks for the pointer but I know and I am using archiving in Org-mode. > In both cases they won't be displayed in the Agenda unless you active > them (v a or v A). Right. But in my workflow, I only archive whole projects when

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

2013-01-18 Thread Daimrod
Karl Voit writes: > Hi! 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.

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

2013-01-18 Thread Karl Voit
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 cance