From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.bugs Subject: bug#32512: xref--read-identifier using etags backend should honor case-fold-search Date: Fri, 24 Aug 2018 16:35:40 +0200 Message-ID: References: <4a1f6a0a6772940a66f0efd389535d96@ludovic-brenta.org> <83y3cx9ejw.fsf@gnu.org> <87ftz48337.fsf@ludovic-brenta.org> <877ekg7xj1.fsf@ludovic-brenta.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535121309 30848 195.159.176.226 (24 Aug 2018 14:35:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2018 14:35:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 32512@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 24 16:35:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftDB2-0007tO-I8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2018 16:35:04 +0200 Original-Received: from localhost ([::1]:42052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftDD8-00043f-Cc for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2018 10:37:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftDCz-00042O-Rg for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 10:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftDCw-0005KL-IL for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 10:37:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftDCw-0005KD-Dm for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 10:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ftDCw-0007Ak-AF for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 10:37:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <4a1f6a0a6772940a66f0efd389535d96@ludovic-brenta.org> Resent-From: Helmut Eller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Aug 2018 14:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32512 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153512136127473 (code B ref -1); Fri, 24 Aug 2018 14:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Aug 2018 14:36:01 +0000 Original-Received: from localhost ([127.0.0.1]:59876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftDBx-00078z-J2 for submit@debbugs.gnu.org; Fri, 24 Aug 2018 10:36:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftDBv-00078j-M8 for submit@debbugs.gnu.org; Fri, 24 Aug 2018 10:35:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftDBp-0004ba-K1 for submit@debbugs.gnu.org; Fri, 24 Aug 2018 10:35:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ftDBp-0004bS-GJ for submit@debbugs.gnu.org; Fri, 24 Aug 2018 10:35:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftDBo-0003t6-Pr for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 10:35:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftDBl-0004ZJ-Hs for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 10:35:52 -0400 Original-Received: from [195.159.176.226] (port=44603 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftDBl-0004X1-9U for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 10:35:49 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ftD9b-0005uH-AW for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 16:33:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:k0gY44ahXeQTg2f9pB7/c8fH3FA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149716 Archived-At: 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