> Uh? convert-standard-filename works right with non-absolute paths:
> (convert-standard-filename "file/test:.dat") => "file\\test!.dat"
It *sometimes* works right. Which isn't very useful.
> It just handles an initial "X:" differently (on Windows):
> (convert-standard-filename "c:file/test:.dat") => "c:file\\test!.dat"
Indeed. And if you want to place a config file named "a:b:c:d" in $HOME,
doing (expand-file-name (convert-standard-filename "a:b:c:d") "~")
will not return a valid answer on w32.
The result can only be trusted to be valid if the filename is absolute.
Stefan
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel