From 6b39ad48269c9745b681f347720ab8466bf0a4b4 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Wed, 23 Jan 2013 14:18:14 +0100 Subject: [PATCH] org-faq.org: "How can I automatically archive canceled tasks?" --- org-faq.org | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/org-faq.org b/org-faq.org index 310bd96..4ac54ff 100644 --- a/org-faq.org +++ b/org-faq.org @@ -1691,6 +1691,15 @@ If you are curious as to what other rationales there are for "*", check out :PROPERTIES: :CUSTOM_ID: Todos-and-Tags :END: +** How can I automatically archive canceled tasks? + +#+BEGIN_SRC emacs-lisp +(setq org-todo-state-tags-triggers '(("CANCELLED" ("ARCHIVE" . t)))) +#+END_SRC + +See http://thread.gmane.org/gmane.emacs.orgmode/64824 -- thanks to +Victor Rosenfeld for sharing the solution. + ** How can I cycle through the TODO keyword of an entry? :PROPERTIES: :CUSTOM_ID: cycle-TODO-keywords -- 1.7.2.5