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: file-truename, convert-standard-filename Date: Fri, 5 Feb 2010 21:18:16 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1265401134 25393 80.91.229.12 (5 Feb 2010 20:18:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2010 20:18:54 +0000 (UTC) Cc: Andreas Schwab , Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 05 21:18:51 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 1NdUdd-000669-TA for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2010 21:18:50 +0100 Original-Received: from localhost ([127.0.0.1]:48200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdUdd-0006C5-BJ for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2010 15:18:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdUdS-0006A7-RC for emacs-devel@gnu.org; Fri, 05 Feb 2010 15:18:38 -0500 Original-Received: from [199.232.76.173] (port=48372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdUdS-00069p-C1 for emacs-devel@gnu.org; Fri, 05 Feb 2010 15:18:38 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdUdR-00007P-O2 for emacs-devel@gnu.org; Fri, 05 Feb 2010 15:18:38 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.158]:57718) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NdUdR-00007H-DJ for emacs-devel@gnu.org; Fri, 05 Feb 2010 15:18:37 -0500 Original-Received: by fg-out-1718.google.com with SMTP id 19so21212fgg.12 for ; Fri, 05 Feb 2010 12:18:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Ty4lz/ANXutUB/4xmeGPkSxpt/QB1S0nLdmc4RV0104=; b=am+glqMXA93tyWLMs0bEpWW2gXt5QIj4bOlwbMvEHVQQgnshJM7uHX+43oCl8IukKC sCSc5HivBGLieDg+b8xAgjJ5WoDuYvYZ5ddoUraOlS+gqxQjgjuvQOSnXf/G1V4ZcwVu T4GGU8P8sSlsJDYgDJWye/DsaUYY2cFcaC1jM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=F+YkcWXcHgLEytUhkdJP8szErlo+CyYKUsji31vVSwp0sZH0q8bWIXoscKBqSlC15f DckJePJk/ZjSWHEe4YzaAPm0nvWMsPqrFgMrHs7IfjgaCPgzU0ZGmTeRyXohb0Ym3T6v K02EBGj/FRIm74SkGDBoBa2P5qBlT2bh1NbRg= Original-Received: by 10.239.185.76 with SMTP id b12mr349074hbh.53.1265401116118; Fri, 05 Feb 2010 12:18:36 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:120958 Archived-At: On Fri, Feb 5, 2010 at 9:14 PM, Stefan Monnier w= rote: > >> The file name used internally in Emacs is not the file name used by >> the OS. =C2=A0convert-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). Yes, but that is not the whole story. On w32 you may have to convert an internal Emacs file name to an OS dito. (convert-standard-file-name "c:/path/to/file.txt") =3D> "c:\path\to\file= .txt" But I must have been misunderstanding someting since this is quite obvious ... ;-)