emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-truename, convert-standard-filename


From: Lennart Borgman
Subject: Re: file-truename, convert-standard-filename
Date: Fri, 5 Feb 2010 21:18:16 +0100

On Fri, Feb 5, 2010 at 9:14 PM, Stefan Monnier <address@hidden> wrote:
>
>> 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).


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") => "c:\path\to\file.txt"

But I must have been misunderstanding someting since this is quite
obvious ... ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]