From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#46781: read-file-name-completion-ignore-case: who would still be looking for m when they typed M? Date: Fri, 26 Feb 2021 01:32:04 +0800 Message-ID: <87y2fc2gvf.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21632"; mail-complaints-to="usenet@ciao.gmane.io" To: 46781@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 25 22:10:23 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFNtu-0005Y4-Ol for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 22:10:23 +0100 Original-Received: from localhost ([::1]:45668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFNtt-0002Nj-CG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 16:10:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFNtc-0002NU-FI for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 16:10:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFNta-00071Z-8v for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 16:10:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lFNta-0006sb-3Z for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 16:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Feb 2021 21:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46781 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161428736126390 (code B ref -1); Thu, 25 Feb 2021 21:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Feb 2021 21:09:21 +0000 Original-Received: from localhost ([127.0.0.1]:39472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFNsu-0006ra-RK for submit@debbugs.gnu.org; Thu, 25 Feb 2021 16:09:21 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFNss-0006rS-B2 for submit@debbugs.gnu.org; Thu, 25 Feb 2021 16:09:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFNss-000264-71 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 16:09:18 -0500 Original-Received: from common.elm.relay.mailchannels.net ([23.83.212.38]:51397) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFNsn-0006jB-52 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 16:09:14 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D4EDA6431EB for ; Thu, 25 Feb 2021 21:09:10 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a20.g.dreamhost.com (100-96-15-17.trex.outbound.svc.cluster.local [100.96.15.17]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 78636642FB0 for ; Thu, 25 Feb 2021 21:09:10 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a20.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.15.17 (trex/6.0.2); Thu, 25 Feb 2021 21:09:10 +0000 X-MC-Relay: Good X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Lyrical-Coil: 08cdb8ff238a4a8c_1614287350709_3347383758 X-MC-Loop-Signature: 1614287350709:3866676930 X-MC-Ingress-Time: 1614287350709 Original-Received: from pdx1-sub0-mail-a20.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a20.g.dreamhost.com (Postfix) with ESMTP id 27766885C6 for ; Thu, 25 Feb 2021 13:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=piImwMnUphaWqf1vIx1Mr1RL+SA=; b=oB2FghUvVRZiTUAd Rz3kG5cb1lDDll0hQkXcSGWqrqvHaGqscWn09C+gP2K4L1Q65RtlDOgDppdHbXlH dU5yVR1l1RCsSmznRz2Q3fDhpHKFQXt9WA8bWqfuMoD3w0JqA5RPt4b3ll0kza9D 59Rx363h6Tlaj7cH+27ryZIT3jY= Original-Received: from jidanni.org (114-41-20-110.dynamic-ip.hinet.net [114.41.20.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a20.g.dreamhost.com (Postfix) with ESMTPSA id C0F338A8B3 for ; Thu, 25 Feb 2021 13:09:09 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a20 Received-SPF: pass client-ip=23.83.212.38; envelope-from=jidanni@jidanni.org; helo=common.elm.relay.mailchannels.net X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200818 Archived-At: Today let's talk about read-file-name-completion-ignore-case . (info "(emacs) Completion Options") Well just like for search, if we type "m" we probably are looking for both "M" and "m", but if we go through all the trouble of holding down the SHIFT button to type "M" then we certainly are only looking for "M" and would be out of our mind to also be looking for "m". (Or "into pain, a pain freak.") Therefore read-file-name-completion-ignore-case needs more options than just t and nil. E.g., I have Makefile and murmurfile. Well if I set read-file-name-completion-ignore-case to nil and type M TAB then of course I am only wanting to complete Makefile. P.S., C-h v read-file-name-completion-ignore-case doesn't say what its original value was. Odd. Yes even though "it might differ on different operating systems." emacs-version "27.1"