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: Sun, 03 Nov 2019 18:16:01 +0200 Message-ID: <83eeyphr5q.fsf@gnu.org> References: <87ehrbyg8t.fsf@escher.home> <87lfszxtcl.fsf@marxist.se> <83bltvl55x.fsf@gnu.org> <87o8xvz0hp.fsf@gmx.net> <83tv7mkb0l.fsf@gnu.org> <87d0ea9uxg.fsf@gmx.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="10950"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 11339@debbugs.gnu.org, stefan@marxist.se To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 03 17:17:18 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 1iRIZ4-0002kl-4N for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Nov 2019 17:17:18 +0100 Original-Received: from localhost ([::1]:54488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRIZ2-0004Lo-W0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Nov 2019 11:17:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47902) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRIYs-0004LQ-23 for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2019 11:17:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRIYp-0000Hc-Vd for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2019 11:17:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRIYo-0000GV-6V for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2019 11:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iRIYn-0007Qf-UV for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2019 11:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Nov 2019 16:17: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.157279776228459 (code B ref 11339); Sun, 03 Nov 2019 16:17:01 +0000 Original-Received: (at 11339) by debbugs.gnu.org; 3 Nov 2019 16:16:02 +0000 Original-Received: from localhost ([127.0.0.1]:34887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRIXp-0007Om-Du for submit@debbugs.gnu.org; Sun, 03 Nov 2019 11:16:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRIXn-0007OL-E9 for 11339@debbugs.gnu.org; Sun, 03 Nov 2019 11:15:59 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iRIXh-0008HN-Vb; Sun, 03 Nov 2019 11:15:54 -0500 Original-Received: from [176.228.60.248] (port=2386 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iRIXh-0001wl-2w; Sun, 03 Nov 2019 11:15:53 -0500 In-reply-to: <87d0ea9uxg.fsf@gmx.net> (message from Stephen Berman on Sat, 02 Nov 2019 16:09:31 +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:170882 Archived-At: > From: Stephen Berman > Cc: stefan@marxist.se, 11339@debbugs.gnu.org > Date: Sat, 02 Nov 2019 16:09:31 +0100 > > Concerning my followup to my OP, that involved another difference I > observed in completion behavior between buffer names and file names with > non-ASCII characters when *-completion-ignore-case is non-nil, and > that's what the recipe above shows in more detail than in my followup, > which didn't explicitly contrast the behavior with ASCII-only characters > (the above recipe also uses names that differ beyond the case > differences, to avoid the question of expectations where only case > differs): with buffer names, all completions are shown regardless of the > case of the input, but with file names, completion is done according to > the case of the input, i.e. read-file-name-completion-ignore-case > appears to have no effect (again, only when the names contain non-ASCII > characters). This seems to be a clear bug. Yes, it was a bug, and a very old one: our case-insensitive comparison of file names worked by bytes, which is only TRT for pure-ASCII strings. I hope I fixed this now, please try the latest master.