Stephen Leake wrote:
I'm now the ada-mode maintainer, and I'm testing the various ada-mode
functions on "pure Windows"; using the DOS shell instead of Cygwin.
It's not working, because all of the filenames have forward slashes as
directory separators!
To be specific, this:
(expand-file-name "c:/foo/bar")
is supposed to return
"c:\foo\bar"
No, it is supposed to return "c:/foo/bar", since Emacs uses forward
slashes everywhere to avoid confusion with backslashes as escape
characters in elisp strings. The function you are looking for is
`convert-standard-filename'.