emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode TODO keyword issues in agenda search leading to org-scan-tag


From: Ihor Radchenko
Subject: Re: Unicode TODO keyword issues in agenda search leading to org-scan-tags regex
Date: Mon, 05 Sep 2022 18:54:53 +0800

Marcel Lauhoff <ml@irq0.org> writes:

>> Oops. You are indeed right. I forgot to remove the 'words argument. Now
>> fixed (hopefully).
>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=eeb4fa8c09e6e21b86bec51328e53b4adf662945
>
> I think it should be
>
> " *\\(" (regexp-opt org-todo-keywords-1 t) "\\)?"
>
> 1. Without the 3rd argument regexp-opt generates a non-capturing group. 'word 
> generates a capturing group.
> 2. With the additional space in " \\" I'm no longer able to match any todo in 
> my org files.

Yeah. I indeed missed the match group change.
Your variant, however, will match things like
* TODObut not really

Can you try again with the latest main?

-- 
Ihor Radchenko,
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

[Prev in Thread] Current Thread [Next in Thread]