emacs-devel
[Top][All Lists]
Advanced

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

Re: convert-standard-filename


From: Eli Zaretskii
Subject: Re: convert-standard-filename
Date: Mon, 08 Aug 2011 05:54:53 +0300

> From: Lennart Borgman <address@hidden>
> Date: Mon, 8 Aug 2011 00:05:05 +0200
> Cc: Eli Zaretskii <address@hidden>, address@hidden, address@hidden
> 
> > 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).  So interpreting the input to this
> > function in an OS-dependent way is wrong.
> 
> I would rather have it return a file name that fits the OS, regardless
> 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.




reply via email to

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