GNU bug report logs - #73524
29.4; bug-reference-mode matches regexp case-insensitively

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Sat, 28 Sep 2024 06:56:01 UTC

Severity: wishlist

Found in version 29.4

Full log


Message #23 received at 73524 <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 73524 <at> debbugs.gnu.org
Subject: Re: bug#73524: 29.4; bug-reference-mode matches regexp
 case-insensitively
Date: Sat, 28 Sep 2024 19:25:19 +0200
>>>>> On Sat, 28 Sep 2024, Tassilo Horn wrote:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>>> In the wild, bug references are almost always case-insensitive
>>> because URLs are.  So one could say that maybe there should be a
>>> bug-reference-case-fold-search defcustom (defaulting to t) in order
>>> to decouple it from case-fold-search.
>> 
>> If we want to always match case-insensitively in bug-reference, then
>> we could bind case-fold-search to t in bug-reference-fontify, no?

> Sure, if we are convinced that there's really no scenario where bug
> references are case-sensitive.  I would think this is very uncommon but
> not impossible.

What about the other examples in the default, i.e. "RFE" and "PR"?
I'm not completely convinced that matching their lower-case form would
be a good thing.




This bug report was last modified 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.