From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: A few Windows build fixes Date: Mon, 29 Aug 2011 21:48:20 +0200 Message-ID: <4E5BED04.9050501@swipnet.se> References: <83vcth40ik.fsf@kalahari.s2.org> <83r5444ome.fsf@kalahari.s2.org> <83bov8fbey.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1314647363 5485 80.91.229.12 (29 Aug 2011 19:49:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2011 19:49:23 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , azure@iki.fi To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 29 21:49:18 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qy7pe-0004ga-M8 for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2011 21:49:18 +0200 Original-Received: from localhost ([::1]:37123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy7pe-0007cz-7x for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2011 15:49:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy7pb-0007cU-2R for emacs-devel@gnu.org; Mon, 29 Aug 2011 15:49:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qy7pa-0002x0-67 for emacs-devel@gnu.org; Mon, 29 Aug 2011 15:49:15 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:42795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy7pY-0002wS-88; Mon, 29 Aug 2011 15:49:12 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id BF3B5E934F; Mon, 29 Aug 2011 21:48:31 +0200 (CEST) X-SENDER-IP: [85.225.45.26] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak5mABvsW05V4S0aPGdsb2JhbABCiRKeagoBAQEBHhkNJYFAAQEFOEABEAsNBwEMFg8JAwIBAgExBgENBg0BBQIBAYdwuXmGTASYLR6LWg X-IronPort-AV: E=Sophos;i="4.68,298,1312149600"; d="scan'208";a="214302631" Original-Received: from unknown (HELO coolsville.localdomain) ([85.225.45.26]) by ipb2.telenor.se with ESMTP; 29 Aug 2011 21:48:31 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 4BA137FA059; Mon, 29 Aug 2011 21:48:19 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: <83bov8fbey.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.127.194.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143637 Archived-At: Eli Zaretskii skrev 2011-08-29 18:08: >> From: Stefan Monnier >> Date: Mon, 29 Aug 2011 11:48:32 -0400 >> Cc: emacs-devel@gnu.org >> >>> 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.