From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: convert-standard-filename Date: Sun, 7 Aug 2011 17:43:18 +0200 Message-ID: References: <83vcufaaqf.fsf@gnu.org> <83hb5vvwdp.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1312731836 15817 80.91.229.12 (7 Aug 2011 15:43:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2011 15:43:56 +0000 (UTC) Cc: Eli Zaretskii , sds@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 07 17:43:49 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 1Qq5W0-0001kA-QH for ged-emacs-devel@m.gmane.org; Sun, 07 Aug 2011 17:43:48 +0200 Original-Received: from localhost ([::1]:58233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq5W0-0007pV-7H for ged-emacs-devel@m.gmane.org; Sun, 07 Aug 2011 11:43:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq5Vy-0007pF-6x for emacs-devel@gnu.org; Sun, 07 Aug 2011 11:43:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qq5Vx-0007FL-F6 for emacs-devel@gnu.org; Sun, 07 Aug 2011 11:43:46 -0400 Original-Received: from mail-ey0-f171.google.com ([209.85.215.171]:50150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq5Vr-0007Ek-RV; Sun, 07 Aug 2011 11:43:39 -0400 Original-Received: by eyg24 with SMTP id 24so4272724eyg.30 for ; Sun, 07 Aug 2011 08:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Vp8ccEZylMeOs5eYusATaNscEJSvGT9meoRBtovBLrM=; b=W/TALo9FhfRIArPV12hdhFJtSvrFEgMwafjwiflvd0pwxWIegWBDHGCDXM4ixOwMTr YQ8GPTpUf94lHOQrgd4PVq7SuxCGxpnTH0J8EhZWRxbJXtNn+IDyXJWM+8yfNlms68Aj rA6qRfSfZFDe0li2nEgV9LUniw5OqXZ0ZLskw= Original-Received: by 10.213.107.17 with SMTP id z17mr1353594ebo.49.1312731818469; Sun, 07 Aug 2011 08:43:38 -0700 (PDT) Original-Received: by 10.213.4.71 with HTTP; Sun, 7 Aug 2011 08:43:18 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.171 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:142958 Archived-At: On Sun, Aug 7, 2011 at 17:33, Stefan Monnier wrote: >>> But how should it decide what is relative and what is not, e.g. in the >>> case of "c:/foo" (or worse "c:foo") mentioned in the docstring? >> Why by file-name-absolute-p, of course ;-) > > This would mean that the input is interpreted in an OS-dependent way. > It would seem to make more sense to say that the arg to > convert-filename-argument (or its new replacement) should be > a Unix-style filename, i.e. "C:" is always interpreted as > a relative file name, even under Window or DOS. If we allow OS-dependent file names then does it not make more sense to interpret them in the OS-dependent way? At least that seems much more likely to make users surprised.