GNU bug report logs - #19463
25.0.50; Files with special chars in the name cannot be written on MS Windows

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Mon, 29 Dec 2014 15:58:02 UTC

Severity: normal

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#19463: closed (25.0.50; Files with special chars in the name
 cannot be written on MS Windows)
Date: Sat, 31 Jan 2015 16:35:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 31 Jan 2015 18:34:36 +0200
with message-id <8361bmkixv.fsf <at> gnu.org>
and subject line Re: bug#19463: 25.0.50; Files with special chars in the name cannot be written on MS Windows
has caused the debbugs.gnu.org bug report #19463,
regarding 25.0.50; Files with special chars in the name cannot be written on MS Windows
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
19463: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19463
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50;
 Files with special chars in the name cannot be written on MS Windows
Date: Mon, 29 Dec 2014 16:56:48 +0100
The following problem I have observed when running tramp-tests.el on MS
Windows. It isn't a Tramp problem, 'tho.

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.

--8<---------------cut here---------------start------------->8---
(dolist
    (file
     '(" foo\tbar baz\t"
       "$foo$bar$$baz$"
       "-foo-bar-baz-"
       "%foo%bar%baz%"
       "&foo&bar&baz&"
       "?foo?bar?baz?"
       "*foo*bar*baz*"
       "'foo\"bar'baz\""
       "#foo~bar#baz~"
       "!foo|bar!baz|"
       ":foo;bar:baz;"
       "<foo>bar<baz>"
       "(foo)bar(baz)"
       "[foo]bar[baz]"
       "{foo}bar{baz}"))
  (condition-case err
      (write-region file nil (expand-file-name file temporary-file-directory))
    (error (message "%s" (error-message-string err)))))

=>

Opening output file: invalid argument, c:/Users/Michael/AppData/Local/Temp/ foo	bar baz
Wrote c:/Users/Michael/AppData/Local/Temp/$foo$bar$$baz$
Wrote c:/Users/Michael/AppData/Local/Temp/-foo-bar-baz-
Wrote c:/Users/Michael/AppData/Local/Temp/%foo%bar%baz%
Wrote c:/Users/Michael/AppData/Local/Temp/&foo&bar&baz&
Opening output file: invalid argument, c:/Users/Michael/AppData/Local/Temp/?foo?bar?baz?
Opening output file: invalid argument, c:/Users/Michael/AppData/Local/Temp/*foo*bar*baz*
Opening output file: invalid argument, c:/Users/Michael/AppData/Local/Temp/'foo"bar'baz"
Wrote c:/Users/Michael/AppData/Local/Temp/#foo~bar#baz~
Opening output file: invalid argument, c:/Users/Michael/AppData/Local/Temp/!foo|bar!baz|
Opening output file: invalid argument, c:/Users/Michael/AppData/Local/Temp/:foo;bar:baz;
Opening output file: invalid argument, c:/Users/Michael/AppData/Local/Temp/<foo>bar<baz>
Wrote c:/Users/Michael/AppData/Local/Temp/(foo)bar(baz)
Wrote c:/Users/Michael/AppData/Local/Temp/[foo]bar[baz]
Wrote c:/Users/Michael/AppData/Local/Temp/{foo}bar{baz}
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 19463-done <at> debbugs.gnu.org
Subject: Re: bug#19463: 25.0.50;
 Files with special chars in the name cannot be written on MS Windows
Date: Sat, 31 Jan 2015 18:34:36 +0200
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: 19463 <at> debbugs.gnu.org
> Date: Tue, 30 Dec 2014 18:38:57 +0100
> 
> This information is important for the User Manual. People like me, who
> don't know too much about MS Windows, would check this first. And even
> MS Windows aficionados might not know such details about file names.

OK, done on the release branch.


This bug report was last modified 10 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.