From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas 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 20:57:30 +0100 Message-ID: <87lfszxtcl.fsf@marxist.se> References: <87ehrbyg8t.fsf@escher.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="36845"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 11339@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 01 20:58:12 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 1iQd3j-0009Tg-Hf for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 20:58:11 +0100 Original-Received: from localhost ([::1]:42514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQd3i-0004qG-Ai for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 15:58:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38431) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQd3b-0004nW-09 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 15:58:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQd3Z-0002ce-Ri for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 15:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48416) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQd3Z-0002cB-NI for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 15:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQd3Z-0000WE-LJ for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 15:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2019 19:58: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.15726382591945 (code B ref 11339); Fri, 01 Nov 2019 19:58:01 +0000 Original-Received: (at 11339) by debbugs.gnu.org; 1 Nov 2019 19:57:39 +0000 Original-Received: from localhost ([127.0.0.1]:57235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQd3C-0000VH-O1 for submit@debbugs.gnu.org; Fri, 01 Nov 2019 15:57:39 -0400 Original-Received: from host.gofardesign.uk ([208.79.239.190]:40255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQd3B-0000V0-9R; Fri, 01 Nov 2019 15:57:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To: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=EGx8P+Ww/5gfhmAw7PU4fXnhjmoefQbBtDb8XkSnRiQ=; b=XH+CDxfAAFKmA0Jhvm5zSNRnvB H9AN/LVyn/x5rM2q/7lLUNRkC6U6AL9uLoGRHaM8tkKZH39VGWLY7RGsY68Lqq4UrgZjHN+eNju0q lguss0h2HC+HGCX+d9ZxCXqXg9S9PnjyAXO6EEMEFVWC/bIO5FitQTRuallvW/fHL4JE=; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:57124 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iQd35-0007r7-G5; Fri, 01 Nov 2019 14:57:32 -0500 In-Reply-To: <87ehrbyg8t.fsf@escher.home> (Stephen Berman's message of "Wed, 25 Apr 2012 17:37:38 +0200") X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se 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:170667 Archived-At: found 11339 27.0.50 thanks Stephen Berman writes: > -1. cd /tmp; touch b=C3=A4h b=C3=84h bla > 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 =3D> *Completions* buffer contains, as expected: bla b= =C3=84h b=C3=A4h.=20=20=20=20=20=20=20=20=20 > 3. Visit files `bla', `b=C3=A4h' and `b=C3=84h', switch to buffer *scratc= h* and > repeat step 2, replacing `C-x C-f' with `C-x b' =3D> same results. > 4. C-x C-f b=C3=A4 TAB =3D> Emacs completes the input to "b=C3=A4h".=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 > 5. TAB =3D> Emacs incorrectly reports: "[Sole completion]".=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 > 6. C-x C-f b=C3=84 TAB =3D> Emacs completes the input to "b=C3=84h". > 7. TAB =3D> Emacs incorrectly reports: "[Sole completion]".=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 > 8. Switch to buffer *scratch* and repeat step 4-7, replacing `C-x C-f' > with `C-x b' =3D> 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=C3=A4h RET 3. C-x b b=C3=84h RET 4. C-x b b=C3=A4 TAB TAB Result: Completes to "b=C3=A4h" on first TAB, and on second TAB [Sole completion] is displayed in minibuffer. Expected result: The "*Completion*" buffer is displayed. Best regards, Stefan Kangas