This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]