[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: |
Fri, 03 Sep 2021 13:00:37 -0400 |
User-agent: |
mu4e 1.6.4; emacs 28.0.50 |
Timothy <tecosaur@gmail.com> writes:
Ah, right — that looks sensible. I think we should probably note
that in a
comment somewhere,
Yes, a comment is warranted.
I'll address minor issues like this once a solution is agreed
upon.
or perhaps construct the regexp with `rx' so it’s actually using
`org-tag-re'?
Unfortunately I don't think it's that simple.
They are very similar regexps, but I don't think we can just plug
`org-tag-re'
into an rx form and have it work. A direct comparison:
org-tag-re => "[[:alnum:]_@#%]+"
org-tag-crm-separator => "[^[:alnum:]_@#%]"
This is brittle, but we could define `org-tag-crm-separator' in
terms of `org-tag-re' like so:
(defvar org-tag-crm-separator (concat "[^" (substring org-tag-re 1
-1))))
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], No Wayman, 2021/09/02
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], Allen Li, 2021/09/03
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], Timothy, 2021/09/03
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], No Wayman, 2021/09/03
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], No Wayman, 2021/09/03
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], No Wayman, 2021/09/03
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], Bastien, 2021/09/27
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], No Wayman, 2021/09/27
- Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)], Bastien, 2021/09/27