X-Recipient: archive-cygwin@delorie.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 <kbrown@cornell.edu>
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@cygwin.com
Subject: Re: MS-DOS-style paths are not recognized in elisp function in 23.4-2
References: <2914.38.96.167.131.1340041216.squirrel@mail.lo-cal.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@cornell.edu - Mon Jun 18 14:41:13 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

