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: file-truename, convert-standard-filename Date: Fri, 05 Feb 2010 15:14:07 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265400867 24526 80.91.229.12 (5 Feb 2010 20:14:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2010 20:14:27 +0000 (UTC) Cc: Andreas Schwab , Drew Adams , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 05 21:14:24 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NdUZL-0002iL-L0 for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2010 21:14:23 +0100 Original-Received: from localhost ([127.0.0.1]:44439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdUZK-0004Ye-RG for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2010 15:14:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdUZF-0004XX-8J for emacs-devel@gnu.org; Fri, 05 Feb 2010 15:14:17 -0500 Original-Received: from [199.232.76.173] (port=36073 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdUZE-0004XP-Uz for emacs-devel@gnu.org; Fri, 05 Feb 2010 15:14:16 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdUZD-00073D-VN for emacs-devel@gnu.org; Fri, 05 Feb 2010 15:14:16 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:32824) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NdUZD-000737-M8 for emacs-devel@gnu.org; Fri, 05 Feb 2010 15:14:15 -0500 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o15KE7AN020965; Fri, 5 Feb 2010 15:14:07 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 7609F3AA07; Fri, 5 Feb 2010 15:14:07 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Fri, 5 Feb 2010 19:33:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-NAI-Spam-Level: X-NAI-Spam-Score: 0.7 X-NAI-Spam-Rules: 2 Rules triggered SUBJ_HAS_UNIQ_ID=0.7, RV3464=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120957 Archived-At: >> You never apply convert-standard-filename to the name of an existing >> file, since by definition this file name already fits the current OS >> (otherwise it would not exist). > No, that must be a misunderstanding. Indeed, you misunderstand. > The file name used internally in Emacs is not the file name used by > the OS. convert-standard-file-name translates from Emacs file name > syntax to OS dito. No, convert-stndard-filename is used for standard filenames like "~/.emacs" to make them usable (so it may turn it into "~/.e#acs" on those OSes where `m' is not allowed). Stefan