MS-DOS-style paths are not recognized in elisp function in 23.4-2
Ken Brown
kbrown@cornell.edu
Mon Jun 18 18:41:00 GMT 2012
On 6/18/2012 1:40 PM, Neal Groothuis wrote:
> Hello all,
>
> In Emacs 23.4-2 on Cygwin, the byte-compile-file Elisp function does not
> recognize MS-DOS style paths. E.g., if I call (byte-compile-file
> "C:/foo/bar.el" t), it will try to compile
> "/home/ngroothuis/C:/foo/bar.el".
>
> This is a problem for those of developing in Clojure, as Leiningen's Swank
> plugin has Emacs execute an ELisp file in the user's home directory.
> Since Clojure runs on the JVM, when it reads the HOME environment variable
> to build the path to the ELisp file, it sees the MS-DOS style path rather
> than the POSIX-style path.
Does the cygpath utility help?
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list