From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: Wish: switch active time-stamps to inactive when CANCELED Date: Fri, 18 Jan 2013 22:59:51 +0100 Message-ID: <20130118215951.GA2341@kenny.fritz.box> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwJzA-0007hU-4R for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 17:00:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwJyy-0007iI-8R for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 17:00:22 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:44688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwJyw-0007gS-VH for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 17:00:16 -0500 Received: by mail-bk0-f46.google.com with SMTP id q16so2262468bkw.5 for ; Fri, 18 Jan 2013 14:00:10 -0800 (PST) Content-Disposition: inline In-Reply-To: <2013-01-18T22-19-43@devnull.Karl-Voit.at> 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 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 Cheers, Viktor