From: Bastien Guerry Date: Wed, 23 Jan 2013 13:18:14 +0000 (+0100) Subject: org-faq.org: "How can I automatically archive canceled tasks?" X-Git-Url: http://orgmode.org/w/?p=worg.git;a=commitdiff_plain;h=6b39ad48269c9745b681f347720ab8466bf0a4b4 org-faq.org: "How can I automatically archive canceled tasks?" --- 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