[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few Windows build fixes

From: Jan Djärv
Subject: Re: A few Windows build fixes
Date: Mon, 29 Aug 2011 21:48:20 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110624 Thunderbird/5.0

Eli Zaretskii skrev 2011-08-29 18:08:
From: Stefan Monnier<address@hidden>
Date: Mon, 29 Aug 2011 11:48:32 -0400
Cc: address@hidden

CURDIR-based paths are passed to native Emacs for load path
purposes and if they have /cygdrive/ stuff in them, Emacs doesn't
understand that.

There's a general need for Emacs to understand/accept /cygdrive/foo
names passed on the command-line, so that could be fixed in
lisp/startup.el and lisp/w32*.el.

That would fix the invocations of Emacs, but I suspect there are also
invocations of other programs, like addpm and etags, which will suffer
from the same problem and cannot be fixed like that without
non-trivial source-level changes.  Also, there's a problem when the
same CURDIR-based file name is passed to `cp' or `rm', which are
Cygwin programs and therefore need the original /cygdrive/x/foo file
name, and also to a non-Cygwin program like addpm.  It's a mess...

Cygwin programs do understand that x:/foo is the same as /cygdrive/x/foo.
Programs output a warning the first time, but you can disable the warning.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]