From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Wish: switch active time-stamps to inactive when CANCELED Date: Sun, 20 Jan 2013 16:39:57 +0100 Message-ID: <2013-01-20T16-38-22@devnull.Karl-Voit.at> References: <2013-01-18T11-28-57@devnull.Karl-Voit.at> <87r4liwy4f.fsf@casa.home> <2013-01-18T12-05-57@devnull.Karl-Voit.at> <87mww6wx7h.fsf@casa.home> <2013-01-18T22-19-43@devnull.Karl-Voit.at> <20130118215951.GA2341@kenny.fritz.box> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Twx0H-0007dA-PZ for emacs-orgmode@gnu.org; Sun, 20 Jan 2013 10:40:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Twx0G-0002gZ-PL for emacs-orgmode@gnu.org; Sun, 20 Jan 2013 10:40:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:50636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Twx0G-0002gJ-J4 for emacs-orgmode@gnu.org; Sun, 20 Jan 2013 10:40:12 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Twx0V-0004Q5-UA for emacs-orgmode@gnu.org; Sun, 20 Jan 2013 16:40:27 +0100 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Jan 2013 16:40:27 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Jan 2013 16:40:27 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * 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 org-todo-state-tags-triggers. > > For example (untestet): > > #+BEGIN_SRC emacs-lisp > (setq org-todo-state-tags-triggers '(("CANCELLED" ("ARCHIVE" . t)))) > #+END_SRC Well, I could not find any reason why I do not want this happen in the same time. So, thanks for this trick - it solves indeed my issue in a sleek way :-) -- Karl Voit