Viktor Rosenfeld <listuse...@gmail.com> 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

-- 
Daimrod/Greg

Attachment: pgpLSJRGGZZRc.pgp
Description: PGP signature

Reply via email to