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: Fri, 25 Oct 2019 09:59:27 -0400 Message-ID: <23986.65471.30294.547230@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="53423"; 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 Fri Oct 25 16:09:49 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 1iO0Hi-000Dis-UX for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2019 16:09:47 +0200 Original-Received: from localhost ([::1]:60576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iO0Hg-0001Ap-Qj for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2019 10:09:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40399) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iO08J-00072y-Pp for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2019 10:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iO08I-00067y-JJ for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2019 10:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58577) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iO08I-000671-Cw for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2019 10:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iO08I-0007z8-67 for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2019 10:00: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: Fri, 25 Oct 2019 14:00: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.157201197730608 (code B ref 37820); Fri, 25 Oct 2019 14:00:02 +0000 Original-Received: (at 37820) by debbugs.gnu.org; 25 Oct 2019 13:59:37 +0000 Original-Received: from localhost ([127.0.0.1]:39156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iO07t-0007xY-A3 for submit@debbugs.gnu.org; Fri, 25 Oct 2019 09:59:37 -0400 Original-Received: from resqmta-ch2-10v.sys.comcast.net ([69.252.207.42]:54164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iO07r-0007xA-1P for 37820@debbugs.gnu.org; Fri, 25 Oct 2019 09:59:35 -0400 Original-Received: from resomta-ch2-14v.sys.comcast.net ([69.252.207.110]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id Nz4jinFAWFYtyO07liQcXS; Fri, 25 Oct 2019 13:59:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1572011969; bh=UfIS1H/HXPMnd49isIPnAWNgV6PAjRZWfRVav366cns=; h=Received:Received:Received:MIME-Version:Content-Type:Message-ID: Date:From:To:Subject; b=TlD0yWnvBQUWk4PIvE7NxN4vDCj0KK8QPBYgaBWxCTedP3Gr9O72e3vWAGnb1rcUq SpthkfqpFur5Zw1S8Bsp7a29BkfyMS4kcWpFufMZSlfgou3bPmjzbQ5L4Vj0jjnTEH 0do92TSrR9FGqRslSZozFcR1yWJ3+r9d33JWV9erDy1FUzUfRE35CQL9Psv9P8B9ug FWW8gdBge+HZAHVE7IFWVqLj0ly0Ee6ug5Epnn0QUn1zfT5wCB6eUImlKgz596rSFe pW2iJ8R8bgoJtwfk/QydgbaJZ5oLTs8izFb7+nqMeur4MKxt8W3UOjnHNhhaVtiUbX uw1Q0+K1pBeoA== Original-Received: from mothra.home ([IPv6:2601:18c:cd80:eef0:329c:23ff:fea1:8693]) by resomta-ch2-14v.sys.comcast.net with ESMTPA id O07jibkjVROh5O07kiwcX7; Fri, 25 Oct 2019 13:59:28 +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 1iO07j-0000gn-CE; Fri, 25 Oct 2019 09:59:27 -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-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:170161 Archived-At: Dmitry Gutov writes: >On 19.10.2019 20:34, Radey Shouman wrote: >> I found it surprising that completion would not follow the tags search >> itself in folding case, as I have become used to this useful behavior >> over many years of using find-tag. >You are not calling a tags search command, though. You are calling a >backend-agnostic command. Maybe there are inconsistencies there, but I >think they should be resolved in favor of general variables. >In any case, is there a particular reason you customize these vars like >that? Please copy me on any messages to which you expect a response. I have not subscribed to the mailing list. The only variable I customize is tags-case-fold-search, I leave completion-ignore-case with the default value. I heartily regret even mentioning the latter variable, it is a red herring. There are at least two reasons to change tags-case-fold-search: 1) Some programming languages are not case sensitive in normal use, eg Common Lisp, Fortran, Cobol, R[45]RS Scheme ... For these languages case-insensitive search should be the default. 2) For many code bases the rules of CamelCasing are so vague, or their observance so lax, that it's hard to predict what the capitalization of an identifier will be. It's useful in these cases to use completion that is not case sensitive.