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: Thu, 07 Nov 2019 16:49:22 +0200 Message-ID: <831rujg2rx.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> <83eeyphr5q.fsf@gnu.org> <87lfsvyd4i.fsf@gmx.net> <87h83jy5kp.fsf@gmx.net> <83v9rzh8gs.fsf@gnu.org> <875zjzy0yg.fsf@gmx.net> <831rulgcw3.fsf@gnu.org> <87wocb21so.fsf@gmx.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="94796"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 11339@debbugs.gnu.org, stefan@marxist.se, monnier@iro.umontreal.ca To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 07 15:56:21 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 1iSjCt-000OSQ-Jq for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Nov 2019 15:56:19 +0100 Original-Received: from localhost ([::1]:43804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSjCs-0000RS-F1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Nov 2019 09:56:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51690) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSj6p-0002hk-NT for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 09:50:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSj6o-0001eb-JK for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 09:50:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSj6o-0001eX-Fk for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 09:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSj6o-0003JQ-BW for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 09:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2019 14:50:02 +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.157313818712703 (code B ref 11339); Thu, 07 Nov 2019 14:50:02 +0000 Original-Received: (at 11339) by debbugs.gnu.org; 7 Nov 2019 14:49:47 +0000 Original-Received: from localhost ([127.0.0.1]:41873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSj6Z-0003Ij-59 for submit@debbugs.gnu.org; Thu, 07 Nov 2019 09:49:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSj6S-0003IR-92 for 11339@debbugs.gnu.org; Thu, 07 Nov 2019 09:49:41 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iSj6M-0001SB-Rr; Thu, 07 Nov 2019 09:49:34 -0500 Original-Received: from [176.228.60.248] (port=3060 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iSj6M-00021p-6S; Thu, 07 Nov 2019 09:49:34 -0500 In-reply-to: <87wocb21so.fsf@gmx.net> (message from Stephen Berman on Thu, 07 Nov 2019 15:34:15 +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:171083 Archived-At: > From: Stephen Berman > Cc: Stefan Monnier , stefan@marxist.se, > 11339@debbugs.gnu.org > Date: Thu, 07 Nov 2019 15:34:15 +0100 > > > The best I could see (unless I'm mistaken) is that in the "C-x b" case > > the second TAB sees that the string in the minibuffer is a possible > > completion, and declares success; it doesn't call all-completions as > > I'd expect. If this observation is correct, then relying on > > try-completions in this case is what trips us, because try-completions > > has special heuristics when the candidates are all identical but for > > the letter-case, the result being that only one candidate is returned. > > > > CC'ing Stefan who might have a better idea of what is going on here. > > So why do we have to rely on `try-completion' here? Because that's how completion--do-completion was coded, I suppose. > Emacs built with the patch below shows the behavior I want with `C-x > b' using the above recipe. I assume that are bad side effects > elsewhere Of course. We cannot make such a change, I think.