[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] expand-file-name leaves forward slashes

From: Jason Rumney
Subject: Re: [h-e-w] expand-file-name leaves forward slashes
Date: Mon, 28 Aug 2006 15:05:03 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20060516 Thunderbird/ Mnenhy/

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

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'.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]