GNU bug report logs - #32512
xref--read-identifier using etags backend should honor case-fold-search

Previous Next

Package: emacs;

Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Date: Thu, 23 Aug 2018 16:12:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Helmut Eller <eller.helmut <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#32512: xref--read-identifier using etags backend should honor
 case-fold-search
Date: Fri, 24 Aug 2018 16:35:40 +0200
On Fri, Aug 24 2018, Ludovic Brenta wrote:

> Also I would like to add that some programming languages, notably Ada
> and Pascal, are case-insensitive; in these languages, "being as exact as
> possible" implies respecting this case-inensitivity.  This is why I
> think it would be a good idea to make the case sensitivity
> user-controllable (not mode-controllable, as you may want to look for an
> Ada subprogram from a buffer visiting e.g. a shell script).

xref--read-identifier basically calls 'completing-read' with some
arguments that it gets from the backend.

Setting 'completion-ignore-case' should make it case-insensitive.  Have
you tried that?

The etags backed uses 'tags-lazy-completion-table' to create the
possible completions.  I think that was not changed when the xref was
added.

Helmut





This bug report was last modified 3 years and 266 days ago.

Previous Next


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