From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#22169: 25.0.50; File name compiletion doesn't work with non-ASCII characters on OS X Date: Tue, 22 Dec 2015 06:42:47 +0100 Message-ID: References: <83y4cw3kie.fsf@gnu.org> <83twnk3fg1.fsf@gnu.org> <83oads2x99.fsf@gnu.org> <83io3z3drh.fsf@gnu.org> <831tan32q2.fsf@gnu.org> <83r3ikxmis.fsf@gnu.org> <83fuyxt35q.fsf@gnu.org> <8337uwucyt.fsf@gnu.org> <83wps8sc6h.fsf@gnu.org> <83fuyvss0h.fsf@gnu.org> <83poxzqhln.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d39e251f4ed0527761363 X-Trace: ger.gmane.org 1450763001 2850 80.91.229.3 (22 Dec 2015 05:43:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2015 05:43:21 +0000 (UTC) Cc: random832@fastmail.com, 22169@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 22 06:43:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aBFj4-0007gt-9G for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Dec 2015 06:43:10 +0100 Original-Received: from localhost ([::1]:48819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBFj3-00029o-I9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Dec 2015 00:43:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBFj0-00029i-5a for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 00:43:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBFix-0005Ms-09 for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 00:43:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBFiw-0005MS-TB for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 00:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aBFiw-0005Er-G1 for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 00:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Dec 2015 05:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22169-submit@debbugs.gnu.org id=B22169.145076297520120 (code B ref 22169); Tue, 22 Dec 2015 05:43:02 +0000 Original-Received: (at 22169) by debbugs.gnu.org; 22 Dec 2015 05:42:55 +0000 Original-Received: from localhost ([127.0.0.1]:59364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBFio-0005ES-Sm for submit@debbugs.gnu.org; Tue, 22 Dec 2015 00:42:55 -0500 Original-Received: from mail-vk0-f42.google.com ([209.85.213.42]:36032) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBFim-0005ED-WB for 22169@debbugs.gnu.org; Tue, 22 Dec 2015 00:42:53 -0500 Original-Received: by mail-vk0-f42.google.com with SMTP id f2so73791079vkb.3 for <22169@debbugs.gnu.org>; Mon, 21 Dec 2015 21:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=w5yAeegl4HNyhbTlzSo/QRZJvP7LRN5NAj0eaEz2+rM=; b=KulAShH9K2W61dNpG1yXcN8ss3AhR0YDe+MPj0u0aw6nCqv4ScksuJYHfdFsU1YR7J jbTgFriW6VW6HJ7NwUSLXlUYfJoRW3B288cNJVHg5pFGBop9ZtGySTI6JEH6Pi7T4M4J jOHnwTH/nO34oXFDFc+gX/ct9slB3GntxgzSEQiRWbSWMYN68KF3KAmLJ3wFHoTHq2F1 GsZxtLYqihjvcfEHp8SrW1XwM/yFUBr4UZr9BKqGxTZigajdXwRgIog4E8J6wOHyARag QDojYxtFp1egiQCo1NmkGrM8nCyF+PA3x1ooUvlCVI8vqnaqvWzqHESEGMGfgDm/s0VU u+Nw== X-Received: by 10.31.152.207 with SMTP id a198mr14710709vke.68.1450762967313; Mon, 21 Dec 2015 21:42:47 -0800 (PST) Original-Received: by 10.31.210.133 with HTTP; Mon, 21 Dec 2015 21:42:47 -0800 (PST) In-Reply-To: <83poxzqhln.fsf@gnu.org> 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110271 Archived-At: --001a113d39e251f4ed0527761363 Content-Type: text/plain; charset=UTF-8 Hi! > I haven't had time to see what actually happens in the code, though. > However, > > the " if (STRING_MULTIBYTE (file))" looks suspicious as the decoded > value needs > > to be checked even for strings like "a". (However, I don't really know > what > > STRING_MULTIBYTE does.) > > Does removing the STRING_MULTIBYTE test make it work? > Yes, it does: (file-name-all-completions "a" ".") ("aaosecond.txt") -- Anders --001a113d39e251f4ed0527761363 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

> I haven't had time to see= what actually happens in the code, though. However,
> the " if (STRING_MULTIBYTE (file))" looks suspicious as the = decoded value needs
> to be checked even for strings like "a". (However, I don'= ;t really know what
> STRING_MULTIBYTE does.)

Does removing the STRING_MULTIBYTE test make it work?

Yes, it does:

(file-name-all= -completions "a" ".")
("aaosecond.txt&qu= ot;)

=C2=A0 =C2=A0 -- Anders
=

--001a113d39e251f4ed0527761363--