GNU bug report logs -
#25183
26.0.50; expanding quoted file name on w32
Previous Next
Reported by: Michael Albinus <michael.albinus <at> gmx.de>
Date: Mon, 12 Dec 2016 15:55:02 UTC
Severity: normal
Found in version 26.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: 25183 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
> Date: Sun, 25 Dec 2016 12:31:40 +0100
>
> (expand-file-name "/:~/path/./file") => "/:~/path/file"
>
> looks proper to me.
That's proper on Unix, but on MS-Windows it will look like a
non-absolute file name, which might break things.
> Prepending "c:/" moves the file to another location
> on the c: drive, perhaps.
It should use CWD, not necessarily c:/. See below.
> What does (expand-file-name "/:dir/path/./file") ?
It produces "/:CURDIR/dir/path/file", where CURDIR is the current
default directory, including the drive letter. My current way of
thinking is to produce the same when "dir" is replaced with "~". Is
that acceptable, in particular for Tramp?
Thanks.
This bug report was last modified 8 years and 195 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.