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

2013-01-26 Thread Bastien
Hi Karl, Karl Voit devn...@karl-voit.at 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

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

2013-01-24 Thread Bastien
Hi Viktor, Viktor Rosenfeld listuse...@gmail.com 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 Bastien
Hi Viktor, Viktor Rosenfeld listuse...@gmail.com 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-23 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: Viktor Rosenfeld listuse...@gmail.com 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.

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

2013-01-21 Thread Memnon Anon
Nick Dokos nicholas.do...@hp.com 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

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

2013-01-20 Thread Karl Voit
* Viktor Rosenfeld listuse...@gmail.com 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

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

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

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

[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

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

2013-01-18 Thread Daimrod
Karl Voit devn...@karl-voit.at 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

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

2013-01-18 Thread Karl Voit
* Daimrod daim...@gmail.com 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

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

2013-01-18 Thread Daimrod
Karl Voit devn...@karl-voit.at writes: * Daimrod daim...@gmail.com 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).

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

2013-01-18 Thread Nick Dokos
Karl Voit devn...@karl-voit.at 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

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

2013-01-18 Thread Karl Voit
* Daimrod daim...@gmail.com 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

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

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

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

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

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

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

2013-01-18 Thread Daimrod
Viktor Rosenfeld listuse...@gmail.com 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