From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#11338: 24.1.50; read-buffer-completion-ignore-case fails on one-character names Date: Mon, 07 Dec 2020 19:20:20 +0100 Message-ID: <87lfe9cwbf.fsf@rub.de> References: <87fwbryg9r.fsf@escher.home> <87h7oxcz2n.fsf@gnus.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="2578"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 11338@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 07 19:21:33 2020 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 1kmL8f-0000Y8-Bj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 19:21:33 +0100 Original-Received: from localhost ([::1]:59630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmL8e-0005vy-D4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 13:21:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmL8B-0005qL-RJ for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 13:21:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmL8B-0007hC-Jr for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 13:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmL8A-0004Lk-Fj for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 13:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Dec 2020 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11338 X-GNU-PR-Package: emacs Original-Received: via spool by 11338-submit@debbugs.gnu.org id=B11338.160736524616678 (code B ref 11338); Mon, 07 Dec 2020 18:21:02 +0000 Original-Received: (at 11338) by debbugs.gnu.org; 7 Dec 2020 18:20:46 +0000 Original-Received: from localhost ([127.0.0.1]:55475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmL7m-0004Kn-4c for submit@debbugs.gnu.org; Mon, 07 Dec 2020 13:20:45 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:50435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmL7j-0004KX-40 for 11338@debbugs.gnu.org; Mon, 07 Dec 2020 13:20:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607365228; bh=VHKxAdEhr0KyYX1ZhCfFZo76CvJIp6tDrZZ15KK+y3k=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=WqAg3Sj/whCNFEZQ5EHSGkXIq5gErYqxm5Zwad98GCQqih1kGxr66FD9GSjX3bWrq MjyR3XD3fBXoaSvPLAFbpJtqjuFF2Vh6W57Cqg3cnvnEcUStxxMP2Hc6LErk7oL62s pVXisk2aOSH8VfaORVMh4JWG6nul+W+ScySr9iwM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([188.109.164.93]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MzyuS-1jyLZS31KI-00x4Hm; Mon, 07 Dec 2020 19:20:28 +0100 In-Reply-To: <87h7oxcz2n.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Dec 2020 18:20:48 +0100") X-Provags-ID: V03:K1:LGOUhd6H+hafFhSH4LA730Wp5ZMKBEOSuzCUVCvla0ST+dPAgbF o8sQA/bGwNO8fwyuHbkq2/iQXXJyfF0Q3zePuEUgZ9AMg7370TxrZyTqEddm9Yy+C+0XijB VBbltYgW0AslGyrzGXcpzFUOVwlXceKO7W4oYKJbeh9GmYPlPNtBGq/6OSyCaOzKlWjy1Vw giEMdaTXfpoTC9/MrVaEA== X-UI-Out-Filterresults: notjunk:1;V03:K0:C7gVwlw2r+o=:6XLo66ouW2zP4eLCoBQWrC 6LmWOfPEC+tPm8ag6Z/zXLBj/pPAjW2fj4qfHWJQfjruUixmsK01vEtgUGIRP4gbeW7aUNpzi Ne8JoPhaOyOWx0DQsx6m1oVmjqWcurdzp4JB/N0FtMh8wUPoMD6aOBVSEPkLjavSzmshPzGos qpwU80t//veBdTefW8ES2bmUbtJO3v8cTx1p3sc0DYkW7Bk+DZxcSHoxYl9kK4+1rVPF0PNJf bStqhamHygsznoirR6bYko9GZ3k6XVJ79IjH3d8LQxv0ULTdO22vOiMtsqBg17zvpgQKLWQ4r JHZtcmxB9AJo1AQ4SISEmyFBPox8qtLxNtfrNG+2PDsvf6695PaJilDdRvysHeHdc3QR4f2xM /LLT+0j2yeyGuQdC80klsSg8pnVsqyMxXTikYZOH8sKnLUXlEcmw+2EpeF6JilW4492yYml/s AfY2EiN5HLM3Xg/tBeV/DqKYSzjlQeEW9BKU8Pev3p2C78H7dUY1XbOt3W8CoASClYRngqBml EWQk/E3pu13HldOPXXey+Am0JU+aiQK4m8XdOB+6SXAK8AHN948GGpfk8Vh0yexaISP36Jbvy UgusrWyWQSVzyBTLiCUwin7f661jKzeYXDSND/idGewFSyIB1IohRRuAPKJ677jBGaLZs46NN +O4bEinQfAHRi525gIRmcl6QoHDC7Lb/MtGkeaTJA18WzK5iJK+KAMKJeWj5l95WmpcxDwYnk DsSJnzdtnxsQPZPDTH1NX0zo5beIc+QlY9NLamNtH+BHLPHEbKelsR+ZdThuy/yfCQFm6vEC 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:195277 Archived-At: On Mon, 07 Dec 2020 18:20:48 +0100 Lars Ingebrigtsen wrote: > Stephen Berman writes: > >> 0. emacs -Q >> 1. M-x customize-option RET read-buffer-completion-ignore-case RET. >> Toggle to "on", set for the current session. >> 2. Type `C-x b RET a', then `C-x b RET A', then `C-x b RET ahjk', then >> switch to buffer *scratch*. >> 3. C-x b a TAB => Emacs correctly reports: "[Complete, but not unique]" >> 4. TAB => *Completions* buffer contains, as expected: A a ahjk. >> 5. C-x k ahjk RET. >> 6. C-x b a TAB => Emacs incorrectly reports: "[Sole completion]". >> 7. C-x b A TAB => Emacs incorrectly reports: "[Sole completion]". > > (This bug report unfortunately got no response at the time.) > > I tried this in Emacs 28, and I got: [*Completions* buffer showing both A and a] > So I'm going to go ahead and guess that this has been fixed at some > point in the years since this was reported, and I'm closing this bug > report. If this is still and issue, please respond to the debbugs > address, and we'll reopen. Did you follow the above recipe exactly in order? When I do that in master, emacs-27 and emacs-26 (all with -Q), when at step 2 I type `C-x b RET A' buffer `a' remains the current buffer and `C-x C-b' shows no buffer `A'. Only if I move step 1 of the recipe to after step 2 do I get the same thing as in your screenshot. So I agree that the bug I reported seems to have been fixed, but there appears to be a new bug which wasn't present in 24.1.50 (which I don't have readily available to test now): that it's apparently not possible with read-buffer-completion-ignore-case non-nil to switch to a non-existing buffer whose name differs from an existing buffer only in case. If you confirm, I'll report a new bug. Or is this considered expected behavior (and if so, why)? Steve Berman