GNU bug report logs - #37820
25.2; xref using etags incorrect case fold during completion

Previous Next

Package: emacs;

Reported by: Radey Shouman <shouman <at> comcast.net>

Date: Sat, 19 Oct 2019 04:54:04 UTC

Severity: normal

Found in version 25.2

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Radey Shouman <shouman <at> comcast.net>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 37820 <at> debbugs.gnu.org, Radey Shouman <shouman <at> comcast.net>
Subject: bug#37820: 25.2; xref using etags incorrect case fold during completion
Date: Sat, 19 Oct 2019 13:40:15 -0400
Dmitry Gutov writes:
 > On 19.10.2019 9:53, Eli Zaretskii wrote:
 > > Isn't that a contradiction of sorts?  How can we know which of these
 > > two should have precedence?
 > 
 > I think completion-ignore-case should have precedence in this example 
 > because the user called an xref command.
 > 
 > Whether tags are used, or something else, is an implementation detail. 
 > Behavior should be as similar as possible.

I doubt that many users actually set the default value of
completion-ignore-case, it is normally used by binding it during a
completion according to the need of the particular application.

Tags search behavior should follow the documentation and many years of
precedent, regardless of whether xref is the front end.  Case folding
during tags search completion, or any other search completion should
be consistent with the search itself.

If you are proposing to add a variable to control case-folding during all xref
searches, analogous to tags-case-fold-search, then I agree.





This bug report was last modified 5 years and 182 days ago.

Previous Next


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