X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_NEUTRAL,TW_YG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4FDF7646.7090708@cornell.edu> Date: Mon, 18 Jun 2012 14:41:10 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: MS-DOS-style paths are not recognized in elisp function in 23.4-2 References: <2914 DOT 38 DOT 96 DOT 167 DOT 131 DOT 1340041216 DOT squirrel AT mail DOT lo-cal DOT org> In-Reply-To: <2914.38.96.167.131.1340041216.squirrel@mail.lo-cal.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-Original-Sender: kbrown AT cornell DOT edu - Mon Jun 18 14:41:13 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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