From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daimrod Subject: Re: Wish: switch active time-stamps to inactive when CANCELED Date: Fri, 18 Jan 2013 23:50:24 +0100 Message-ID: <87ip6uw1fz.fsf@casa.home> 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> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwKjo-0006sN-Aq for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 17:48:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwKjn-00039a-A2 for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 17:48:40 -0500 Received: from mail-wg0-f50.google.com ([74.125.82.50]:37646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwKjn-00039T-3o for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 17:48:39 -0500 Received: by mail-wg0-f50.google.com with SMTP id es5so2541397wgb.29 for ; Fri, 18 Jan 2013 14:48:38 -0800 (PST) In-Reply-To: <20130118215951.GA2341@kenny.fritz.box> (Viktor Rosenfeld's message of "Fri, 18 Jan 2013 22:59:51 +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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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-todo-state-tags-triggers. > > For example (untestet): > > #+BEGIN_SRC emacs-lisp > (setq org-todo-state-tags-triggers '(("CANCELLED" ("ARCHIVE" . t)))) > #+END_SRC Woo, I didn't know this one, that's a nice trick! > Cheers, > Viktor =2D-=20 Daimrod/Greg --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJQ+dGxAAoJEBNzVHcrZRiU8kUP/j7CxZuO6S4f/nJF7J8/hu0Q aVjcm4mx6otk79gomtdr+gjyOAqidWrXXy1l/6kbm1S094Bdj+FhEbwG8LP7ILdX BzlBiEdTlTPvPC/JIV7xumMZ2uQ7eu4V5MK3QBD0aeqldbEfowP2yzJx84+Ovmsw wj3WezNpyKHQrZVyfav57L2SVZt8b5fzOb6yCoiUERZZ50sDHxpXDyojHFNstFHW 4kKfCI5DVivxf8IuPbHFloaQGPoMEqko4gZplsPmMPscDwxiLli6C0Izq/OxKbQV lGrfXGlPyt0WoDuETacm8wOEQjutNCi30+nhI1h7qHvbkY6jhzyjynMOOXeQ2UiK B9C4DKgkw0kNEyprVG8DIbRJRajSmFxCRyWV4ySUZC1R2SaCTx1kYaQ4nMIe5XpC u1cKcPVGTMjtXAmFjXNOw10LxQDad/0l03fvkpB64jBnvKkpFCCdN84aM6P2YMNl pnsb3amwynStRic+v90JqF1U5cAUJ1lEAUUsa2Qe5l4U477w942tsGKMJBx5+kJI a7qNFY14RxOiJavivZVVBg3ZOcztMDEanhAGuly6CxnzijzAJKB7JWBuID5tOBaH HK32Q7lW8akF11yaObN/8jI/405KyCUdxVQzq9sE//8kjyXje/kr2kyYsEMpZxSJ qaGrF6xOq5Nwxa0zUhms =rGSk -----END PGP SIGNATURE----- --=-=-=--