[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-todo-state-tags-triggers not working with regexp?
From: |
Ihor Radchenko |
Subject: |
Re: org-todo-state-tags-triggers not working with regexp? |
Date: |
Sun, 11 Jun 2023 11:41:50 +0000 |
Ypo <ypuntot@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>