From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11339: 24.1.50; read-{buffer,file-name}-completion-ignore-case fails on non-ascii Date: Fri, 01 Nov 2019 22:20:42 +0200 Message-ID: <83bltvl55x.fsf@gnu.org> References: <87ehrbyg8t.fsf@escher.home> <87lfszxtcl.fsf@marxist.se> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="131418"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 11339@debbugs.gnu.org, stephen.berman@gmx.net To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 01 21:21:10 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 1iQdPy-000Y5O-7V for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 21:21:10 +0100 Original-Received: from localhost ([::1]:42652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQdPx-0004iO-3E for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 16:21:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43755) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQdPr-0004h0-63 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 16:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQdPq-000376-6K for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 16:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQdPq-000372-32 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 16:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQdPp-0005GM-Tz for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 16:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2019 20:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11339 X-GNU-PR-Package: emacs Original-Received: via spool by 11339-submit@debbugs.gnu.org id=B11339.157263964620183 (code B ref 11339); Fri, 01 Nov 2019 20:21:01 +0000 Original-Received: (at 11339) by debbugs.gnu.org; 1 Nov 2019 20:20:46 +0000 Original-Received: from localhost ([127.0.0.1]:57286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQdPZ-0005FT-SG for submit@debbugs.gnu.org; Fri, 01 Nov 2019 16:20:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQdPY-0005FG-NO for 11339@debbugs.gnu.org; Fri, 01 Nov 2019 16:20:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iQdPT-0002Zp-Cc; Fri, 01 Nov 2019 16:20:39 -0400 Original-Received: from [176.228.60.248] (port=4355 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iQdPS-0004V7-Qg; Fri, 01 Nov 2019 16:20:39 -0400 In-reply-to: <87lfszxtcl.fsf@marxist.se> (message from Stefan Kangas on Fri, 01 Nov 2019 20:57:30 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:170673 Archived-At: > From: Stefan Kangas > Date: Fri, 01 Nov 2019 20:57:30 +0100 > Cc: 11339@debbugs.gnu.org > > > 0. emacs -Q > > 1. M-x customize-option RET read-buffer-completion-ignore-case RET. > > Toggle to "on", set for the current session. > > M-x customize-option RET read-file-name-completion-ignore-case RET. > > Toggle to "on", set for the current session. > > 2. C-x C-f b TAB => *Completions* buffer contains, as expected: bla bÄh bäh. > > 3. Visit files `bla', `bäh' and `bÄh', switch to buffer *scratch* and > > repeat step 2, replacing `C-x C-f' with `C-x b' => same results. > > 4. C-x C-f bä TAB => Emacs completes the input to "bäh". > > 5. TAB => Emacs incorrectly reports: "[Sole completion]". > > 6. C-x C-f bÄ TAB => Emacs completes the input to "bÄh". > > 7. TAB => Emacs incorrectly reports: "[Sole completion]". > > 8. Switch to buffer *scratch* and repeat step 4-7, replacing `C-x C-f' > > with `C-x b' => same results. > > I can reproduce this on current master using the simpler recipe: > > 0. emacs -Q > 1. Evaluate (setq read-buffer-completion-ignore-case t) > 2. C-x b bäh RET > 3. C-x b bÄh RET > 4. C-x b bä TAB TAB > > Result: Completes to "bäh" on first TAB, and on second TAB [Sole > completion] is displayed in minibuffer. > > Expected result: The "*Completion*" buffer is displayed. I think your expectations are incorrect in this case. Try having buffer names that differ (not in letter-case) in the 3rd letter. What I see here is entirely expected and reasonable. I see no bug.