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: convert-standard-filename Date: Mon, 08 Aug 2011 00:38:10 -0400 Message-ID: References: <83vcufaaqf.fsf@gnu.org> <83hb5vvwdp.fsf@gnu.org> <83sjpczk76.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1312778300 22922 80.91.229.12 (8 Aug 2011 04:38:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2011 04:38:20 +0000 (UTC) Cc: sds@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 06:38:16 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 1QqHbU-0003eX-5D for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 06:38:16 +0200 Original-Received: from localhost ([::1]:47371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqHbT-0000SR-4u for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 00:38:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqHbQ-0000SA-Il for emacs-devel@gnu.org; Mon, 08 Aug 2011 00:38:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqHbP-0007ws-HV for emacs-devel@gnu.org; Mon, 08 Aug 2011 00:38:12 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:36962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqHbP-0007wo-EH for emacs-devel@gnu.org; Mon, 08 Aug 2011 00:38:11 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QqHbO-0002dQ-VJ; Mon, 08 Aug 2011 00:38:11 -0400 In-reply-to: (message from Lennart Borgman on Mon, 8 Aug 2011 06:26:28 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:142997 Archived-At: > From: Lennart Borgman > Date: Mon, 8 Aug 2011 06:26:28 +0200 > Cc: monnier@iro.umontreal.ca, sds@gnu.org, emacs-devel@gnu.org > > On Mon, Aug 8, 2011 at 06:19, Eli Zaretskii wrote: > > > >> Are there any cases were the result would be ambigious? > > > > The case of "c:foobar", as pointed out by Stefan earlier in this > > thread.  If it's taken as a local absolute file name, then on Windows > > there's no need to do anything about it.  If it is taken as a Posix > > relative file name, the colon should be replaced with some other > > character. > > I see. But on Windows it could hardly be a Posix relative file name, > or could it? It can't, so convert-standard-filename should replace the colon. That's what convert-standard-filename does: takes a Posix file name and produces a file name usable on non-Posix filesystems.