From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Multibyte and unibyte file names Date: Thu, 24 Jan 2013 11:00:23 +0100 Message-ID: <87fw1q3npk.fsf@gmx.de> References: <83ehhbn680.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1359021647 8561 80.91.229.3 (24 Jan 2013 10:00:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 10:00:47 +0000 (UTC) Cc: Kazuhiro Ito , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 24 11:01:06 2013 Return-path: Envelope-to: ged-emacs-devel@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 1TyJcI-00016u-0p for ged-emacs-devel@m.gmane.org; Thu, 24 Jan 2013 11:01:06 +0100 Original-Received: from localhost ([::1]:43511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyJc0-0003Vd-JS for ged-emacs-devel@m.gmane.org; Thu, 24 Jan 2013 05:00:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyJbr-0003UD-Cq for emacs-devel@gnu.org; Thu, 24 Jan 2013 05:00:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyJbp-00022l-Tv for emacs-devel@gnu.org; Thu, 24 Jan 2013 05:00:39 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:65449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyJbp-00022b-Kd for emacs-devel@gnu.org; Thu, 24 Jan 2013 05:00:37 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MARzI-1U9uCk2eVO-00BdfS for ; Thu, 24 Jan 2013 11:00:36 +0100 Original-Received: (qmail invoked by alias); 24 Jan 2013 10:00:35 -0000 Original-Received: from p57BB98C6.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.152.198] by mail.gmx.net (mp032) with SMTP; 24 Jan 2013 11:00:35 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18NxK0CPskNPF/szEbBN+jyqWV8Pvea+buDRDfLjt IiIV0axCSIlctY In-Reply-To: <83ehhbn680.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 23 Jan 2013 19:45:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156615 Archived-At: Eli Zaretskii writes: > which on Windows means that, e.g. > > (let ((file-name-coding-system 'cp1252)) > (file-name-directory "/eliz@fencepost.gnu.org:=E6=BC=A2=E5=AD=97/")) > > =3D> "/eliz@fencepost.gnu.org: /" > > And there are other similar handlers in Tramp (e.g., the > file-name-nondirectory handler) which do the same. IOW, they seem > to _assume_ that the corresponding "real" handler never needs to > encode the file name. A false assumption. I've just committed a patch to the trunk, which checks in `tramp-tramp-file-p', whether file names are unibyte strings. If they aren't, Tramp ceases to work. That's the best I can do for the moment. Best regards, Michael.