From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Radey Shouman Newsgroups: gmane.emacs.bugs Subject: bug#37820: 25.2; xref using etags incorrect case fold during completion Date: Sat, 19 Oct 2019 13:40:15 -0400 Message-ID: <23979.19071.461115.603274@mothra.home> References: <23978.21803.951348.841457@mothra.home> <83wod16xa0.fsf@gnu.org> <86f40cb1-dc31-c130-5480-e04fdc934d12@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="200130"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37820@debbugs.gnu.org, Radey Shouman To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 19 20:28:33 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLtSr-000pwZ-3U for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Oct 2019 20:28:33 +0200 Original-Received: from localhost ([::1]:33810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLtSq-0003U8-0d for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Oct 2019 14:28:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38715) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLtSQ-0003J2-Dn for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 14:28:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLtSO-0002CS-PY for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 14:28:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLtSM-0002BM-R2 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 14:28:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLtSM-0005K6-MZ for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 14:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Radey Shouman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2019 18:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37820 X-GNU-PR-Package: emacs Original-Received: via spool by 37820-submit@debbugs.gnu.org id=B37820.157150966420428 (code B ref 37820); Sat, 19 Oct 2019 18:28:02 +0000 Original-Received: (at 37820) by debbugs.gnu.org; 19 Oct 2019 18:27:44 +0000 Original-Received: from localhost ([127.0.0.1]:53545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLtS3-0005JL-Px for submit@debbugs.gnu.org; Sat, 19 Oct 2019 14:27:44 -0400 Original-Received: from resqmta-ch2-10v.sys.comcast.net ([69.252.207.42]:45880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLsiF-00045v-Aa for 37820@debbugs.gnu.org; Sat, 19 Oct 2019 13:40:23 -0400 Original-Received: from resomta-ch2-17v.sys.comcast.net ([69.252.207.113]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id LsdSig7oRFYtyLsi9iBE7U; Sat, 19 Oct 2019 17:40:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1571506817; bh=ruDYmHIkQuMHX4w0kRb+OwsToCgn9Z2okTuovd8QVM8=; h=Received:Received:Received:MIME-Version:Content-Type:Message-ID: Date:From:To:Subject; b=xNPl8PnivmIVVN3tVA5Kb5/HyLCZpRBV5ZAe0b5lW3uatTQRRAUvLj730lSLSSKfg EbECG6Bd0rb4ZU7X+sF/5oTk4ubd+6t6H0Wd/1CkNiQ91l2M3Ea90iO7tG9I7Jy1zh zmDHlYugS8SnYrYBwcJhae4hgjpAChwECtcNXpB69J4YEKe5y61wDeQo12BHLKbNnq qG4rBGJMkqz0LovR+rmpLYRhbFH/UmZ/JjDfpMMIj0aa4QGtXBE6pWIa7TZsZTEErE aSZX01ejXvl7IIMLGaxCHI8X2CTIoObRfWWIoLaxtP2uajAXjWd5r2vgC2raks/mOH xKch+H5xa/rjA== Original-Received: from mothra.home ([IPv6:2601:18c:cd80:eef0:329c:23ff:fea1:8693]) by resomta-ch2-17v.sys.comcast.net with ESMTPA id Lsi8ioaLBxSgmLsi8izvNk; Sat, 19 Oct 2019 17:40:17 +0000 X-Xfinity-VMeta: sc=-100;st=legit Original-Received: from localhost ([127.0.0.1] helo=mothra) by mothra.home with esmtp (Exim 4.92) (envelope-from ) id 1iLsi7-0000AO-Ho; Sat, 19 Oct 2019 13:40:15 -0400 In-Reply-To: <86f40cb1-dc31-c130-5480-e04fdc934d12@yandex.ru> X-Mailer: VM 8.1.2 under 25.2.2 (x86_64-pc-linux-gnu) X-Mailman-Approved-At: Sat, 19 Oct 2019 14:27:42 -0400 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: 209.51.188.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:169754 Archived-At: 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.