Ypo <ypun...@gmail.com> writes:

> I would like to remove every tag when changing to done state.
>
> This is not working:
>
>   '(org-todo-state-tags-triggers '((done ("(.*)"))))
>
> This works though:
>
>   '(org-todo-state-tags-triggers '((done ("Atag"))))

Yes, regexps are not supported in `org-todo-state-tags-triggers'.
You can use `org-trigger-hook'.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to