From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#19463: 25.0.50; Files with special chars in the name cannot be written on MS Windows Date: Mon, 29 Dec 2014 22:55:13 +0100 Message-ID: <87lhlq2kam.fsf@gmx.de> References: <87mw66a1q7.fsf@gmx.de> <837fxajtu3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419890181 19365 80.91.229.3 (29 Dec 2014 21:56:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 21:56:21 +0000 (UTC) Cc: 19463@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 29 22:56:11 2014 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 1Y5iIN-0000pA-Ag for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 22:56:11 +0100 Original-Received: from localhost ([::1]:34926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5iIM-0005EG-Jj for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 16:56:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5iII-0005E1-8E for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 16:56:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5iIF-0007xV-2T for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 16:56:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5iIE-0007xN-Ve for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 16:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y5iIE-000473-Kq for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 16:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Dec 2014 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19463-submit@debbugs.gnu.org id=B19463.141989012115755 (code B ref 19463); Mon, 29 Dec 2014 21:56:02 +0000 Original-Received: (at 19463) by debbugs.gnu.org; 29 Dec 2014 21:55:21 +0000 Original-Received: from localhost ([127.0.0.1]:60597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5iHX-000462-Vj for submit@debbugs.gnu.org; Mon, 29 Dec 2014 16:55:20 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:56960) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5iHU-00045p-Ch for 19463@debbugs.gnu.org; Mon, 29 Dec 2014 16:55:17 -0500 Original-Received: from detlef.gmx.de ([87.146.54.37]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LmKOI-1XWvh20gaY-00a12d; Mon, 29 Dec 2014 22:55:14 +0100 In-Reply-To: <837fxajtu3.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Dec 2014 18:37:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:a1m8t+BxBawBy/RpQbqdJaTvgg0OeBDi1pnTBSvYZzGUeAFPD1X QrM5EFygjeOLSke+z0LPcZIE9PzZuOto2AR6iGWzTbWa1DTd4TzoMj+UG5L2NPl03RtkB9Q ti5ANUrfmJpnNxEAycnTerJwWa6xHIYI58nFw2zsbvu3MU7mXuKUH6xJFrJx5gb22RYiVqw qjhLWIExKLdlG+GRdJU6g== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:97818 Archived-At: Eli Zaretskii writes: > It's a basic documented limitation of the file APIs, at least on the > level that Emacs on Windows uses them. See > > http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx > > (look under "Naming Conventions"). Thanks for the link. So I will adapt that test for the MS-Windows case. >> Files with special characters in their file name cannont be written >> locally. The following test is derived from tramp-test30-special-characters. >> Note, that this testcase runs w/o problems under GNU/Linux. > > This is expected. What exactly do you want us to do with this issue? > Unless we radically change the way we do file I/O (similarly to what > Cygwin does), which is a very large job, this issue cannot be > resolved. > > We simply should not use such file names on Windows. At least we shall mention this restriction, for example in (info "(emacs) Windows Files") For me as native user it is not obvious, that " " is allowed, but "\t" isn't. In your reference link, other reserved file names are also mentioned, like NUL etc. This is something one shall know as well. Maybe it is not necessary to document all those restrictions in the Emacs manual. But a hint might be useful, combined with a reference (maybe the link you have given). Best regards, Michael.