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: Thu, 01 Sep 2011 22:48:37 -0400 Message-ID: References: <83vcth40ik.fsf@kalahari.s2.org> <83r5444ome.fsf@kalahari.s2.org> <87pqjmfgia.fsf@gmail.com> <8739ggf8ph.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314931728 29541 80.91.229.12 (2 Sep 2011 02:48:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2011 02:48:48 +0000 (UTC) Cc: Eli Zaretskii , azure@iki.fi, emacs-devel@gnu.org To: Vijay Lakshminarayanan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 02 04:48:44 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 1QzJoA-0004xs-JH for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 04:48:43 +0200 Original-Received: from localhost ([::1]:42648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzJoA-0008Oe-4d for ged-emacs-devel@m.gmane.org; Thu, 01 Sep 2011 22:48:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzJo8-0008OZ-6h for emacs-devel@gnu.org; Thu, 01 Sep 2011 22:48:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzJo7-0006f7-Dc for emacs-devel@gnu.org; Thu, 01 Sep 2011 22:48:40 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:63006 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzJo6-0006eu-6J; Thu, 01 Sep 2011 22:48:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EALVDYE64rwMJ/2dsb2JhbABCqFJ4gUABAQQBViMFCwsOJhIUGA0QAROIBbl6hl8EoA+EQA X-IronPort-AV: E=Sophos;i="4.68,317,1312171200"; d="scan'208";a="134006151" 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; 01 Sep 2011 22:48:37 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0D748660B6; Thu, 1 Sep 2011 22:48:37 -0400 (EDT) In-Reply-To: <8739ggf8ph.fsf@gmail.com> (Vijay Lakshminarayanan's message of "Thu, 01 Sep 2011 23:25:54 +0530") 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:143706 Archived-At: > Going through w32-fns.el, I see there's `w32-convert-standard-filename' > which actually replaces /cygdrive/ paths correctly. Indeed, Well, that's a bug: convert-standard-filename was meant for something completely different and has degenerated into an ugly beast whose behavior is a big mess, so we need a new function instead which is clearly documented as translating a file-name "valid in the system, outside of Emacs" into a filename "valid within Emacs". And it needs to be hookable so that users can add things like "proper/careful handling of cygwin file names", as opposed to merely handling "/cygdrive/...". Stefan