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-buffer-completion-ignore-case: who would still be looking for m when they typed M? Date: Mon, 01 Mar 2021 12:08:29 +0800 Message-ID: <87lfb7wm6a.5.fsf@jidanni.org> References: <87y2fc2gvf.5.fsf@jidanni.org> <878s7bmcmg.fsf@gnus.org> <878s79t72e.5.fsf_-_@jidanni.org> <83wnusm7p8.fsf@gnu.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="39008"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 46781@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 01 05:09:12 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 1lGZrs-000A14-39 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Mar 2021 05:09:12 +0100 Original-Received: from localhost ([::1]:34780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGZrq-0007GX-KH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Feb 2021 23:09:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGZri-0007G5-Ri for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2021 23:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGZri-0003Nr-Kv for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2021 23:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lGZri-0004Ez-FP for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2021 23:09:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y2fc2gvf.5.fsf@jidanni.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: Mon, 01 Mar 2021 04:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46781 X-GNU-PR-Package: emacs Original-Received: via spool by 46781-submit@debbugs.gnu.org id=B46781.161457171816270 (code B ref 46781); Mon, 01 Mar 2021 04:09:02 +0000 Original-Received: (at 46781) by debbugs.gnu.org; 1 Mar 2021 04:08:38 +0000 Original-Received: from localhost ([127.0.0.1]:47757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGZrJ-0004EM-Ta for submit@debbugs.gnu.org; Sun, 28 Feb 2021 23:08:38 -0500 Original-Received: from bumble.maple.relay.mailchannels.net ([23.83.214.25]:12213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGZrH-0004ED-QT for 46781@debbugs.gnu.org; Sun, 28 Feb 2021 23:08:36 -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 A86397E11A9; Mon, 1 Mar 2021 04:08:34 +0000 (UTC) Original-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@jidanni.org Original-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@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Dime-Abortive: 2a4d49c1092a66a5_1614571714324_1189495357 X-MC-Loop-Signature: 1614571714324:1161220391 X-MC-Ingress-Time: 1614571714323 Original-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= Original-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@jidanni.org) 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 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:201049 Archived-At: $ 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.