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:05:35 +0300 Message-ID: <83ty8vt4y8.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 1314972354 18692 80.91.229.12 (2 Sep 2011 14:05:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2011 14:05:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 02 16:05: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 1QzUNR-0005MK-Uj for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 16:05:50 +0200 Original-Received: from localhost ([::1]:37724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzUNR-0001kw-B7 for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 10:05:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzUNO-0001kr-Vt for emacs-devel@gnu.org; Fri, 02 Sep 2011 10:05:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzUNN-00014t-RZ for emacs-devel@gnu.org; Fri, 02 Sep 2011 10:05:46 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:36992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzUNN-00014h-L6 for emacs-devel@gnu.org; Fri, 02 Sep 2011 10:05:45 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQW00200EUR5D00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Fri, 02 Sep 2011 17:05:44 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQW001TYF5IIYB0@a-mtaout20.012.net.il>; Fri, 02 Sep 2011 17:05:43 +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:143714 Archived-At: > From: Andy Moreton > Date: Fri, 02 Sep 2011 12:43:03 +0100 > > > Full support for Cygwin-specific file names can only happen on the C > > level. E.g., in w32.c:normalize_filename. We should probably have a > > similar function in ntlib, because lib-src programs will need to use > > it as well (see the example with emacsclient posted here). > > > > Anything else will necessarily be buggy or at least incomplete. > > I disagree. The right way to get the cygwin mount points is to run > 'mount -m' and look at the output. Doing so at the C level properly > involves calling into the cygwin DLL, which is fragile for a non-cygwin > application. It doesn't matter who and how runs "mount -m". The results of that should be used on the C level. Otherwise, the result will be semi-broken, because Emacs manipulates file names on the C level without going through Lisp.