[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:29:10 +0800 |
Marcel Lauhoff <ml@irq0.org> writes:
>> Thanks for reporting!
>> Fixed on main via a1c923afd.
>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a1c923afda22089cbf14c7b7a175cee10bfd297b
>
> ┌────
> │ - " *\\(" (regexp-opt org-todo-keywords-1 'words) "\\)?"
> │ + " *\\(" (regexp-opt org-todo-keywords-1 'words) " \\)?"
> └────
>
> That change doesn't seem to work for me, but maybe I'm holding it wrong or
> missed a follow up commit.
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
> The following snippet tries some regex variations matched to one of `("TODO"
> "≣" "TODO " "≣ ")'. a1c923afd does seem to require a space after the keyword
> now:
Org requires a space after TODO-keyword in headlines. TODO-keywords
themselves do not need to have space.
Note that your test is artificial - todo matching is done on headlines,
not on arbitrary strings.
--
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