From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: A few Windows build fixes Date: Fri, 02 Sep 2011 17:14:24 +0300 Message-ID: <83sjoft4jj.fsf@gnu.org> References: <83vcth40ik.fsf@kalahari.s2.org> <83r5444ome.fsf@kalahari.s2.org> <87pqjmfgia.fsf@gmail.com> <8739ggf8ph.fsf@gmail.com> <8262lbu7g5.fsf@gmail.com> <83y5y7cthv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314972894 22766 80.91.229.12 (2 Sep 2011 14:14:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2011 14:14:54 +0000 (UTC) Cc: andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 02 16:14:50 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 1QzUWA-0001Tc-8c for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 16:14:50 +0200 Original-Received: from localhost ([::1]:52301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzUW9-0005MC-Jh for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 10:14:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzUW6-0005BS-5x for emacs-devel@gnu.org; Fri, 02 Sep 2011 10:14:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzUW4-0002ci-RU for emacs-devel@gnu.org; Fri, 02 Sep 2011 10:14:46 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:38889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzUW4-0002cQ-L0 for emacs-devel@gnu.org; Fri, 02 Sep 2011 10:14:44 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQW00200F6D8700@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Fri, 02 Sep 2011 17:14:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQW002CDFJY2Z50@a-mtaout20.012.net.il>; Fri, 02 Sep 2011 17:14:23 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 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:143715 Archived-At: > From: Stefan Monnier > Date: Fri, 02 Sep 2011 08:48:27 -0400 > Cc: emacs-devel@gnu.org > > >> similar function in ntlib, because lib-src programs will need to use > >> it as well (see the example with emacsclient posted here). > > I don't think so. E.g. emacsclient doesn't need to know about those > things, because it should just pass its arguments untouched to server.el > which can then do whatever it feels like doing with it, including > un-cygwinize file names. emacsclient already leaves alone any file name that begins with a slash, so the observation that it does something with /cygdrive/x/foo file names needs more info to understand why that happens. But in general, it is my experience that if several programs pass file names between them, any "magic" file names should be handled in the same way by all of them. Otherwise, the solution will never be reliable enough.