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 05:54:53 +0300 Message-ID: <83sjpczk76.fsf@gnu.org> References: <83vcufaaqf.fsf@gnu.org> <83hb5vvwdp.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: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1312772108 29941 80.91.229.12 (8 Aug 2011 02:55:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2011 02:55:08 +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 04:55:03 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 1QqFzY-0001AX-VO for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 04:55:01 +0200 Original-Received: from localhost ([::1]:60324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqFzY-0007B6-LO for ged-emacs-devel@m.gmane.org; Sun, 07 Aug 2011 22:55:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqFzV-0007Am-1m for emacs-devel@gnu.org; Sun, 07 Aug 2011 22:54:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqFzT-0004ze-S0 for emacs-devel@gnu.org; Sun, 07 Aug 2011 22:54:56 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:53363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqFzT-0004zZ-KJ; Sun, 07 Aug 2011 22:54:55 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LPL0050096V6300@a-mtaout23.012.net.il>; Mon, 08 Aug 2011 05:54:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.94.185]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LPL005V89FG1B70@a-mtaout23.012.net.il>; Mon, 08 Aug 2011 05:54:54 +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.175 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:142987 Archived-At: > From: Lennart Borgman > Date: Mon, 8 Aug 2011 00:05:05 +0200 > Cc: Eli Zaretskii , sds@gnu.org, emacs-devel@gnu.org >=20 > > The whole point of convert-standard-filename was to provide an > > OS-dependent file name from an OS-independent one (typically from > > a constant filename in a package). =C2=A0So interpreting the inpu= t to this > > function in an OS-dependent way is wrong. >=20 > I would rather have it return a file name that fits the OS, regardl= ess > of the file name that it is given. That would be in contradiction with the function's purpose, see above= . > If it does not work this way then file names read in some way must = be > tested first to see if which type they are. convert-standard-filename was originally not supposed to handle file names that "are read", only file names that are hard-coded in Emacs sources.