From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: A few Windows build fixes Date: Mon, 05 Sep 2011 22:49:52 -0400 Message-ID: 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> <83ty8vt4y8.fsf@gnu.org> <83obz2uc11.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315277405 18445 80.91.229.12 (6 Sep 2011 02:50:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2011 02:50:05 +0000 (UTC) Cc: andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 06 04:50:01 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 1R0ljc-0007BQ-Lt for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2011 04:50:00 +0200 Original-Received: from localhost ([::1]:45806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0ljb-0000lL-SU for ged-emacs-devel@m.gmane.org; Mon, 05 Sep 2011 22:49:59 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0ljZ-0000l5-0C for emacs-devel@gnu.org; Mon, 05 Sep 2011 22:49:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0ljX-0007jJ-Os for emacs-devel@gnu.org; Mon, 05 Sep 2011 22:49:56 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:13431 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0ljW-0007if-JW; Mon, 05 Sep 2011 22:49:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EALiJZU64rwMJ/2dsb2JhbABCqB15gUYBAQQBViMQCzQSFBgNEAETiAa4GYZqBKAXhEA X-IronPort-AV: E=Sophos;i="4.68,336,1312171200"; d="scan'208";a="134596963" Original-Received: from 184-175-3-9.dsl.teksavvy.com (HELO ceviche.home) ([184.175.3.9]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 05 Sep 2011 22:49:52 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 872826614B; Mon, 5 Sep 2011 22:49:52 -0400 (EDT) In-Reply-To: <83obz2uc11.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 Sep 2011 19:47:22 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:143769 Archived-At: >> > 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 >> I don't think so: we only want to convert cygwin file names when they >> "enter" Emacs and everything else (e.g. all primitives that access >> files) should not know about them. > You cannot possibly hope to plug all the holes this way. A file name > can "enter" Emacs in any number of ways, including as a substring of > some string or buffer. Trying to catch all those loopholes is never > going to work reliably. We have no chance to plug all hole reliably anyway. The closest to "handle it everywhere" already exists, it's called cygwin-mount.el. There's no point re-inventing it. Instead we want something that's less intrusive, even though it will miss a few more cases (but by being less intrusive it can work better in the cases where it does work). Stefan