emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6


From: No Wayman
Subject: Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)]
Date: Thu, 02 Sep 2021 22:05:21 -0400
User-agent: mu4e 1.6.4; emacs 28.0.50


Timothy <tecosaur@gmail.com> writes:

Hi NoWayman,

Thanks for your suggestion. At a glance it looks reasonable to me, but would you be able to explain the default value you’ve set? It isn’t obvious to me how you arrived at `"[ \t]*[^[:alnum:]_@#%][ \t]*"'. Also, do you think a one-size-fits-all solution is a good fit here? I don’t do much with tags
personally, so I’m probably not the best person to judge.

(defconst org-tag-crm-separator “[ ]*[^[:alnum:]_@#%][ ]*”
“Regexp used to determine `crm-separator’ when reading multiple tags.”)

All the best,
Timothy

I was aiming for the inverse of `org-tag-re' which is:

"[[:alnum:]_@#%]+"

The idea being we treat any character which is not a valid tag character as the crm separator.



reply via email to

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