MS-DOS-style paths are not recognized in elisp function in 23.4-2

Neal Groothuis ngroot@lo-cal.org
Mon Jun 18 17:40:00 GMT 2012


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.

- Neal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 52283 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120618/66ec7e17/attachment.obj>
-------------- next part --------------
--
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