GNU bug report logs - #46781
read-buffer-completion-ignore-case: who would still be looking for m when they typed M?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; dated Thu, 25 Feb 2021 21:10:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 46781 <at> debbugs.gnu.org:


Received: (at 46781) by debbugs.gnu.org; 1 Mar 2021 12:44:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 01 07:44:07 2021
Received: from localhost ([127.0.0.1]:48389 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lGhuA-0004aw-Vf
	for submit <at> debbugs.gnu.org; Mon, 01 Mar 2021 07:44:07 -0500
Received: from quimby.gnus.org ([95.216.78.240]:41930)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lGhu9-0004aL-76
 for 46781 <at> debbugs.gnu.org; Mon, 01 Mar 2021 07:44:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=l2M/5Dz/d42YQ2CwyurhtlWh7Qp6G52wlpZDxwxA7lg=; b=jzoPOqo8XjabXMiKxetVXldjLp
 BwPvjyz7VCZeCxBTpRvChZePPwLd3uLY+otrbtjWAd4I3BbrMi9W/tqxNjQqGguuiBKixlVODAnqr
 LWFcLiUr4m0CGahS7e/sdpPoL89osRCUsEPSProd4CCqhqfrzwg5FKG6+Aqs1eiyy7xk=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lGhu0-0001sg-CH; Mon, 01 Mar 2021 13:43:58 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#46781: read-buffer-completion-ignore-case: who would still
 be looking for m when they typed M?
References: <87y2fc2gvf.5.fsf@HIDDEN> <878s7bmcmg.fsf@HIDDEN>
 <878s79t72e.5.fsf_-_@HIDDEN> <83wnusm7p8.fsf@HIDDEN>
 <87lfb7wm6a.5.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVcRzC5lXIgGxH/
 //+bzxZTAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UDAQwhChAROL0AAAGZSURBVCjPLdLBauMwEAbg
 cYgh61M2VD301JYWWj+FE9bQ9UkWmlDyBEueIhFVDzmVZbtn2axB/p9yR3Z9EHwe5PlHMilmNqEa
 87I/0WdCbDt/FCygpHLww/HfLZWLKGj83S68UgQ+E/IdCjrF4nztCl83uCfyFlf9ja8NFiT7y3W/
 6bgBEpqFU1SXCAnGuVBZCDrpub6l3sBFGpj3JC8Na5BnrviJMs1cJnzjhpYvE6r8mQ+6m6HDTzZM
 K5a6N7hjo/Sqji8pTYpNq+fslc68h7us4EbW1LX7uEEBSVJTyPajLWICU/RG9gBwbxtJcsJ3E0rg
 oyBgwNgomUbNiCXvgHwn8HBP3BRQ9wKFIcq0oHeBRYh8DBe8CTbopa10+iNIz++0XM8YdVoPM7oJ
 x4RiRiwTDDoqUkkQLZZnSRAS5LBttgCWoMPI/OsH2ZSErNxpZVlwBaoFVqfUf0G5oDU0paD0H2xl
 7P4L7da4qMzNF7QNqrlM2GaW+3Xqo+TwHuUGgKyhLFf1Y6sFXUPy7YehrubURPYUtjThP5J76zkx
 Qf1jAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAzLTAxVDEyOjMzOjEwKzAwOjAwVaacqwAAACV0
 RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMy0wMVQxMjozMzoxMCswMDowMCT7JBcAAAAASUVORK5CYII=
X-Now-Playing: Big Thief's _Two Hands_: "Those Girls"
Date: Mon, 01 Mar 2021 13:43:54 +0100
In-Reply-To: <87lfb7wm6a.5.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Mon, 01 Mar 2021 12:08:29 +0800")
Message-ID: <87tupv82np.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  積丹尼 Dan Jacobson <jidanni@HIDDEN> writes: > $ emacs
    -nw -Q --eval '(setq read-buffer-completion-ignore-case t)' Makefile murmurfile
    BLA > C-x b ;; switch-to-buffer > M ;; self-insert-command > TAB ;; minibuffer-complete
    > > I am saying that i [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46781
Cc: Eli Zaretskii <eliz@HIDDEN>, 46781 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes:

> $ emacs -nw -Q --eval '(setq read-buffer-completion-ignore-case t)' Makef=
ile murmurfile BLA
> C-x b                  ;; switch-to-buffer
> M                      ;; self-insert-command
> TAB                    ;; minibuffer-complete
>
> I am saying that if I typed "m", then offer me both choices.
>
> But I have gone through all the trouble of holding down SHIFT, that
> means I am serious about only matching uppercase M.

Thanks for the recipe for reproduction.

Yes, I also see this behaviour, and it does indeed behave as documented
(i.e., case is ignored).

But as you say, that's perhaps not optimal behaviour -- in other cases
like this in Emacs (like isearch), Emacs stops ignoring case if the user
enters some upper case characters, and that would make sense here too?

Anybody have opinions here?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46781; Package emacs. Full text available.

Message received at 46781 <at> debbugs.gnu.org:


Received: (at 46781) by debbugs.gnu.org; 1 Mar 2021 12:18:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 01 07:18:14 2021
Received: from localhost ([127.0.0.1]:48322 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lGhV7-0001pG-BL
	for submit <at> debbugs.gnu.org; Mon, 01 Mar 2021 07:18:14 -0500
Received: from quimby.gnus.org ([95.216.78.240]:41504)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lGhV5-0001p1-GD
 for 46781 <at> debbugs.gnu.org; Mon, 01 Mar 2021 07:18:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Resent-Message-ID:Resent-Date
 :Resent-From:Resent-To:Sender:Reply-To:Content-ID:Content-Description:
 Resent-Sender:Resent-Cc:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=iXsspHV4UDh58Q7+lnL1J7mFTuG9mGtITS74Ru7vxII=; b=hX5acB5mQbWZT7+3kmuKb6QyD2
 1n9/Vo4VT/sPhy2fcFcKpuKzXgbUwz3LZTv/6LZld2bulWYM4kUVO9ah64dCtly98h1cIZFY2+L4S
 10Xdf0s78wR9VMLqBwUTAw8RjG8gObbrgYnAjyEV3iaMkNvsmhWDk/soJofpEuK+KjcQ=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1lGhUx-0001h4-FL
 for 46781 <at> debbugs.gnu.org; Mon, 01 Mar 2021 13:18:05 +0100
Resent-X-Now-Playing: Siouxsie and the Banshees's _Join Hands_: "The Lords
 Prayer"
Resent-To: 46781 <at> debbugs.gnu.org
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Resent-Date: Mon, 01 Mar 2021 13:18:02 +0100
Resent-Message-ID: <878s77awzp.fsf@HIDDEN>
X-From-Line: nobody Sun Feb 28 14:44:41 2021
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#46781: read-buffer-completion-ignore-case: who would still
 be looking for m when they typed M?
References: <87y2fc2gvf.5.fsf@HIDDEN> <878s7bmcmg.fsf@HIDDEN>
 <878s79t72e.5.fsf_-_@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUeIj0hKkskQXso
 XbI+ifD////np9/gAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UCHA0QMmCfS1QAAAGKSURBVDjLtZTb
 ccQgDEVNKkCkgUVKA5aoINB/TblCrNeb2J9hxo/RsV4X4W27Xmn735W2fGElosuvKZc3kChvbqDK
 FYGOUKlwrWCF2ZjOgMW4UmIzPLczMBACNtbqba9EBAtsuDRAWiCJtQYzLlHPng6PzgI0FK6/QWlj
 fLOwPlxZWl18ohgZQyuyPOgECrIagDZTygegzK3DPoYNfHEAIrbmZr91BM1PnWAP27wpU5DiDcNm
 RDI6kkC2EBB2NDiQ9RMOaKSsDCLKqHXPVEbfxXZ+Ao1aKTlW0RAeNUEIlNsrWR8ItQOkKIobgnf4
 eQ1a13Z6dgdt9jGMvcMUdU3LiFZsdh6dUJQJoNb0PCXeSRXE4/p1Bh8CTbEno9eCHXzNYcF+U5Gp
 k4S6sVAme2k+ET4tT9mTT40LyXNOXjMKoDY7BlYulF+556pUPCifwCQ1QTZhrgdYc+h6YqrpBDA8
 wo/5Wkp40Np09hmP9zhSa3zqK+H7afx78G5/AHcgXRzdHLGvHege5FuPHyYhWFI2ZVb3AAAAJXRF
 WHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTI4VDEzOjE2OjUwKzAwOjAwbJonEAAAACV0RVh0ZGF0ZTpt
 b2RpZnkAMjAyMS0wMi0yOFQxMzoxNjo1MCswMDowMB3Hn6wAAAAASUVORK5CYII=
X-Now-Playing: Orbital's _Blue Album_: "One Perfect Sunrise"
Date: Sun, 28 Feb 2021 14:44:37 +0100
In-Reply-To: <878s79t72e.5.fsf_-_@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Sun, 28 Feb 2021 07:38:33 +0800")
Message-ID: <8735xgnw6y.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Lines: 16
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  積丹尼 Dan Jacobson <jidanni@HIDDEN> writes: > retitle
    46781 read-buffer-completion-ignore-case: who would still be > looking for
    m when they typed M? > thanks > Oops, for the entire bug I meant to talk
   about > buffer names, not file names! Sorr [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46781
Cc: eliz@HIDDEN, 46781 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes:

> retitle 46781 read-buffer-completion-ignore-case: who would still be
> looking for m when they typed M?
> thanks
> Oops, for the entire bug I meant to talk about
> buffer names, not file names! Sorry.

Thanks for the clarification.  :-)

But could you now possibly restate what problem you're actually seeing,
with a test case (starting from "emacs -Q") so that we can follow along?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46781; Package emacs. Full text available.

Message received at 46781 <at> debbugs.gnu.org:


Received: (at 46781) by debbugs.gnu.org; 1 Mar 2021 04:08:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 28 23:08:38 2021
Received: from localhost ([127.0.0.1]:47757 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lGZrJ-0004EM-Ta
	for submit <at> debbugs.gnu.org; Sun, 28 Feb 2021 23:08:38 -0500
Received: from bumble.maple.relay.mailchannels.net ([23.83.214.25]:12213)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lGZrH-0004ED-QT
 for 46781 <at> debbugs.gnu.org; Sun, 28 Feb 2021 23:08:36 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id A86397E11A9;
 Mon,  1 Mar 2021 04:08:34 +0000 (UTC)
Received: from pdx1-sub0-mail-a29.g.dreamhost.com
 (100-98-118-122.trex.outbound.svc.cluster.local [100.98.118.122])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 043147E1FA1;
 Mon,  1 Mar 2021 04:08:34 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a29.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.98.118.122 (trex/6.0.2); Mon, 01 Mar 2021 04:08:34 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Dime-Abortive: 2a4d49c1092a66a5_1614571714324_1189495357
X-MC-Loop-Signature: 1614571714324:1161220391
X-MC-Ingress-Time: 1614571714323
Received: from pdx1-sub0-mail-a29.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTP id B94E07F683;
 Sun, 28 Feb 2021 20:08:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=5HBVwh5vLf8tK+K9Eh9PUTfon/8=; b=YsbWb+5pF+zHS
 rAzr/q90+RLfw/nv0vyavyzQkVUfsc5n8mHZE8TqsKDxS0dXrE7//eQ5UN2Na72a
 001M2vxkey753OthdqxAPINMg4AVolpMk8Gw4VNKdPvzhN3kBudebnZNFGOpNwfo
 Q9VnhrUYzPaCZUEUGXZBjxVmAyrb3g=
Received: from jidanni.org (111-246-96-43.dynamic-ip.hinet.net [111.246.96.43])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTPSA id 462D77E3CB;
 Sun, 28 Feb 2021 20:08:33 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a29
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46781: read-buffer-completion-ignore-case: who would still
 be looking for m when they typed M?
References: <87y2fc2gvf.5.fsf@HIDDEN> <878s7bmcmg.fsf@HIDDEN>
 <878s79t72e.5.fsf_-_@HIDDEN> <83wnusm7p8.fsf@HIDDEN>
Date: Mon, 01 Mar 2021 12:08:29 +0800
Message-ID: <87lfb7wm6a.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46781
Cc: larsi@HIDDEN, 46781 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

$ emacs -nw -Q --eval '(setq read-buffer-completion-ignore-case t)' Makefile murmurfile BLA
C-x b                  ;; switch-to-buffer
M                      ;; self-insert-command
TAB                    ;; minibuffer-complete

I am saying that if I typed "m", then offer me both choices.

But I have gone through all the trouble of holding down SHIFT, that
means I am serious about only matching uppercase M.

"Then don't tamper with read-buffer-completion-ignore-case in the first
place."

But then I don't get the two choices for little "m". Too much price to pay.

So maybe read-buffer-completion-ignore-case should allow a third value,
not just nil and t.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46781; Package emacs. Full text available.

Message received at 46781 <at> debbugs.gnu.org:


Received: (at 46781) by debbugs.gnu.org; 28 Feb 2021 17:19:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 28 12:19:17 2021
Received: from localhost ([127.0.0.1]:47117 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lGPiu-00079l-RM
	for submit <at> debbugs.gnu.org; Sun, 28 Feb 2021 12:19:17 -0500
Received: from eggs.gnu.org ([209.51.188.92]:38868)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lGPit-00079Q-NX
 for 46781 <at> debbugs.gnu.org; Sun, 28 Feb 2021 12:19:16 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52127)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lGPin-0002qn-LM; Sun, 28 Feb 2021 12:19:09 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2799
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lGPil-0004hT-3E; Sun, 28 Feb 2021 12:19:08 -0500
Date: Sun, 28 Feb 2021 19:18:59 +0200
Message-Id: <83wnusm7p8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-Reply-To: <878s79t72e.5.fsf_-_@HIDDEN> (message from
 =?utf-8?B?56mN5Li55bC8?= Dan
 Jacobson on Sun, 28 Feb 2021 07:38:33 +0800)
Subject: Re: bug#46781: read-buffer-completion-ignore-case: who would still
 be looking for m when they typed M?
References: <87y2fc2gvf.5.fsf@HIDDEN> <878s7bmcmg.fsf@HIDDEN>
 <878s79t72e.5.fsf_-_@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46781
Cc: larsi@HIDDEN, 46781 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: 積丹尼 Dan Jacobson <jidanni@HIDDEN>
> Cc: 46781 <at> debbugs.gnu.org, control <at> debbugs.gnu.org, eliz@HIDDEN
> Date: Sun, 28 Feb 2021 07:38:33 +0800
> 
> retitle 46781 read-buffer-completion-ignore-case: who would still be looking for m when they typed M?
> thanks
> Oops, for the entire bug I meant to talk about
> buffer names, not file names! Sorry.
> 
> read-buffer-completion-ignore-case is a variable defined in ‘C source code’.
> Its value is t
> Original value was nil
> 
> So how did young Dan, usually sharp in the wits, ever make such a
> blunder?
> 
> Well, one day he was innocently looking up in the manual
> (Info-index "read-buffer-completion-ignore-case")
> when the forces of evil linked it to the same place that
> (Info-index "read-file-name-completion-ignore-case")
> goes, instead of seven lines below it!!
> Ever trustful, young Dan didn't notice the Toyota XLE he had intended to
> discuss was now switched for a Toyota XLD, so he ended up discussing
> that instead.

Could you please describe the actual problem you see with
read-buffer-completion-ignore-case?  What did you type, which relevant
buffers existed in the session, what happened, what did you expect to
happen?  I see no relevant information about the issue above.

Or should we close this bug report because there is no problem?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46781; Package emacs. Full text available.
Changed bug title to 'read-buffer-completion-ignore-case: who would still be looking for m when they typed M?' from 'read-file-name-completion-ignore-case: who would still be looking for m when they typed M?' Request was from 積丹尼 Dan Jacobson <jidanni@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 46781 <at> debbugs.gnu.org:


Received: (at 46781) by debbugs.gnu.org; 28 Feb 2021 03:15:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 27 22:15:34 2021
Received: from localhost ([127.0.0.1]:45658 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lGCYQ-0007ws-Bn
	for submit <at> debbugs.gnu.org; Sat, 27 Feb 2021 22:15:34 -0500
Received: from purple.birch.relay.mailchannels.net ([23.83.209.150]:28266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>)
 id 1lGCYO-0007wg-8v; Sat, 27 Feb 2021 22:15:32 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 00330401DBC;
 Sun, 28 Feb 2021 03:15:31 +0000 (UTC)
Received: from pdx1-sub0-mail-a49.g.dreamhost.com
 (100-96-18-39.trex.outbound.svc.cluster.local [100.96.18.39])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id D48B64019E2;
 Sun, 28 Feb 2021 03:15:29 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a49.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.18.39 (trex/6.0.2); Sun, 28 Feb 2021 03:15:30 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Name-Suffer: 3e689e1d312403f2_1614482130639_2906420883
X-MC-Loop-Signature: 1614482130639:214997191
X-MC-Ingress-Time: 1614482130639
Received: from pdx1-sub0-mail-a49.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a49.g.dreamhost.com (Postfix) with ESMTP id 0B77F7E583;
 Sat, 27 Feb 2021 19:15:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type
 :content-transfer-encoding; s=jidanni.org; bh=OMZGuiFLzmhD7kA5Sk
 iT3MEmu18=; b=ZMx+DQUc6bHXiP53qL88b0oxYEexyHIqzxCRJEsPMeNVIAGLWS
 VZC6WeGRUTdmWZW4yuAETxSlu/Ncgk5YvnsoVDvs8slhRINkXTAyWX5yXAqV2mjl
 HzGCcSOueEFt69I/zjS+Ps+uH3YltJN7ExyEssqIjN78R+QWh5Mrsoik8=
Received: from jidanni.org (114-46-60-234.dynamic-ip.hinet.net [114.46.60.234])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a49.g.dreamhost.com (Postfix) with ESMTPSA id 7AA157E4FC;
 Sat, 27 Feb 2021 19:15:26 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a49
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#46781: read-buffer-completion-ignore-case: who would still
 be looking for m when they typed M?
References: <87y2fc2gvf.5.fsf@HIDDEN> <878s7bmcmg.fsf@HIDDEN>
Date: Sun, 28 Feb 2021 07:38:33 +0800
Message-ID: <878s79t72e.5.fsf_-_@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  retitle 46781 read-buffer-completion-ignore-case: who would
    still be looking for m when they typed M? thanks Oops, for the entire bug
    I meant to talk about buffer names, not file names! Sorry. read-buffer-completion-ignore-case
    is a variable defined in ‘C source code’. Its value is t Original value
    was nil 
 
 Content analysis details:   (1.1 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  1.1 DATE_IN_PAST_03_06     Date: is 3 to 6 hours before Received: date
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [23.83.209.150 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [23.83.209.150 listed in wl.mailspike.net]
X-Debbugs-Envelope-To: 46781
Cc: control <at> debbugs.gnu.org, eliz@HIDDEN, 46781 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.1 (/)

retitle 46781 read-buffer-completion-ignore-case: who would still be look=
ing for m when they typed M?
thanks
Oops, for the entire bug I meant to talk about
buffer names, not file names! Sorry.

read-buffer-completion-ignore-case is a variable defined in =E2=80=98C so=
urce code=E2=80=99.
Its value is t
Original value was nil

So how did young Dan, usually sharp in the wits, ever make such a
blunder?

Well, one day he was innocently looking up in the manual
(Info-index "read-buffer-completion-ignore-case")
when the forces of evil linked it to the same place that
(Info-index "read-file-name-completion-ignore-case")
goes, instead of seven lines below it!!
Ever trustful, young Dan didn't notice the Toyota XLE he had intended to
discuss was now switched for a Toyota XLD, so he ended up discussing
that instead.

>>>>> "LI" =3D=3D Lars Ingebrigtsen <larsi@HIDDEN> writes:
LI> =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes=
:

>> 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 co=
urse I
>> am only wanting to complete Makefile.

LI> Did you mean "if I set read-file-name-completion-ignore-case to t" he=
re?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46781; Package emacs. Full text available.

Message received at 46781 <at> debbugs.gnu.org:


Received: (at 46781) by debbugs.gnu.org; 26 Feb 2021 08:56:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 26 03:56:06 2021
Received: from localhost ([127.0.0.1]:40275 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lFYus-0006pT-6P
	for submit <at> debbugs.gnu.org; Fri, 26 Feb 2021 03:56:06 -0500
Received: from quimby.gnus.org ([95.216.78.240]:34004)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lFYup-0006oy-A7
 for 46781 <at> debbugs.gnu.org; Fri, 26 Feb 2021 03:56:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=YZikkhRgSI9Kgz6vd8JtEZz3N5ldNu3BOje/wR/p3j4=; b=IFxcyXpc2xlqllNEWC86Zk6MbF
 259WxwedNRTl0J9Xmc9tqaZToez9IV60XqruM39EHbu4cKNPYGP6dmwTuBkt8US/8sXImfV7br0kU
 VO9ako/jrI/hLTo2V6MWVhEpY84gCevMzuAliWHUqJ+sHHmT2AiKKbQyTx2ovZ9PTAP0=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lFYue-0000UE-8n; Fri, 26 Feb 2021 09:55:57 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#46781: read-file-name-completion-ignore-case: who would
 still be looking for m when they typed M?
References: <87y2fc2gvf.5.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAIGNIUk0AAHomAACAhAAA+gAA
 AIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAPUExURWtmYVRRT4mVmDw7PP////P55/4AAAABYktH
 RASPaNlRAAAACXBIWXMAAABkAAAAZAAPlsXdAAAAB3RJTUUH5QIaCCski1mMCgAAAEZ0RVh0UmF3
 IHByb2ZpbGUgdHlwZSBhcHAxMgAKYXBwMTIKICAgICAgMTUKNDQ3NTYzNmI3OTAwMDEwMDA0MDAw
 MDAwM2MwMDAwCszIdZsAAAFdSURBVDjLlZQBbsMwCEU/6QVAvkCbEyzK/e824IPtat2kWW2i+vn7
 A8YFOBT7MLN4iZn6Z82rEMQCCSDx4zjPp6+dK1yi+fP00YrcM4CkwCUNHKm4UCkIyQ5gP0FYQBwe
 BC+C2NsyiAalEDA+K++zw+2MGIvPH2gPuRU0d/DEMc0fDSKTJzoP0XFHuMpUgPZwMDITYVX8bXza
 HSUR8/UVxQRXgktzE7FZxPsLQ2U4wDCCNBuWIBSQoUsxPNC7QASdiqiHe09FuPB8oI+L9eBWNoEv
 ZojsCEt3WlSvsFaywFUAvaD7SuspugHl4SEaa9iSIJoww4jwr7UZjM0W38oDpZgjKqFTsgHXVkLY
 gVyGbn7aerWy1TvxWoqZiTd1Z76bI3vUdsWKqhvr30B+AYz2o0L/8uBdkp785PEOtG9fFL6PrP4/
 6qhqVXUs7x93WjebZwfDmllj3lp7n/XxDYmYLb8YmhOyAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIx
 LTAyLTI2VDA4OjQzOjM2KzAwOjAwBB/U1QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0yNlQw
 ODo0MzozNiswMDowMHVCbGkAAAAASUVORK5CYII=
X-Now-Playing: Oliver Cherer's _Sir Ollife Leigh & Other Ghosts + A Millying
 & Mor EP_: "The Charcoal Burners"
Date: Fri, 26 Feb 2021 09:55:51 +0100
In-Reply-To: <87y2fc2gvf.5.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Fri, 26 Feb 2021 01:32:04 +0800")
Message-ID: <878s7bmcmg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  積丹尼 Dan Jacobson <jidanni@HIDDEN> writes: > 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.
    
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46781
Cc: 46781 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes:

> 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 cours=
e I
> am only wanting to complete Makefile.

Did you mean "if I set read-file-name-completion-ignore-case to t" here?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46781; Package emacs. Full text available.

Message received at 46781 <at> debbugs.gnu.org:


Received: (at 46781) by debbugs.gnu.org; 26 Feb 2021 06:46:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 26 01:46:52 2021
Received: from localhost ([127.0.0.1]:40142 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lFWtn-0001fe-Vw
	for submit <at> debbugs.gnu.org; Fri, 26 Feb 2021 01:46:52 -0500
Received: from eggs.gnu.org ([209.51.188.92]:37204)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lFWtj-0001fN-IW
 for 46781 <at> debbugs.gnu.org; Fri, 26 Feb 2021 01:46:50 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42887)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lFWte-0000LN-7t; Fri, 26 Feb 2021 01:46:42 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4678
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lFWtd-0007Nh-Lq; Fri, 26 Feb 2021 01:46:42 -0500
Date: Fri, 26 Feb 2021 08:46:29 +0200
Message-Id: <83sg5jqqbe.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-Reply-To: <87y2fc2gvf.5.fsf@HIDDEN>
Subject: Re: bug#46781: read-file-name-completion-ignore-case: who would still
 be looking for m when they typed M?
References: <87y2fc2gvf.5.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46781
Cc: 46781 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: 積丹尼 Dan Jacobson
>  <jidanni@HIDDEN>
> Date: Fri, 26 Feb 2021 01:32:04 +0800
> 
> 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.

Did you actually see what happens when you set this variable non-nil
and try this?  If not, please do; if you did, and the result was not
what you expected, please show the details: what you types, which
files are there on disk, and what completion candidates were
suggested.

Because AFAIK Emacs already does what you want it to do in these
cases, without needing any additional values for this option.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46781; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Feb 2021 21:09:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 25 16:09:21 2021
Received: from localhost ([127.0.0.1]:39472 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lFNsu-0006ra-RK
	for submit <at> debbugs.gnu.org; Thu, 25 Feb 2021 16:09:21 -0500
Received: from lists.gnu.org ([209.51.188.17]:46892)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lFNss-0006rS-B2
 for submit <at> debbugs.gnu.org; Thu, 25 Feb 2021 16:09:19 -0500
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 <jidanni@HIDDEN>)
 id 1lFNss-000264-71
 for bug-gnu-emacs@HIDDEN; Thu, 25 Feb 2021 16:09:18 -0500
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 <jidanni@HIDDEN>)
 id 1lFNsn-0006jB-52
 for bug-gnu-emacs@HIDDEN; Thu, 25 Feb 2021 16:09:14 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id D4EDA6431EB
 for <bug-gnu-emacs@HIDDEN>; Thu, 25 Feb 2021 21:09:10 +0000 (UTC)
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 <bug-gnu-emacs@HIDDEN>; Thu, 25 Feb 2021 21:09:10 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
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@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Lyrical-Coil: 08cdb8ff238a4a8c_1614287350709_3347383758
X-MC-Loop-Signature: 1614287350709:3866676930
X-MC-Ingress-Time: 1614287350709
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 <bug-gnu-emacs@HIDDEN>; 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=
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@HIDDEN)
 by pdx1-sub0-mail-a20.g.dreamhost.com (Postfix) with ESMTPSA id C0F338A8B3
 for <bug-gnu-emacs@HIDDEN>; Thu, 25 Feb 2021 13:09:09 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a20
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 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@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=23.83.212.38; envelope-from=jidanni@HIDDEN;
 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-Spam-Score: -0.3 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

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"




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#46781; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 1 Mar 2021 12:45:01 UTC

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