[Top][All Lists]

[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: Sun, 07 Aug 2011 23:35:50 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Sun, 07 Aug 2011 16:19:47 -0400
> [file-name-equal] should only operate on names without performing
> any actual file/directory lookup.

Why do you want to avoid hitting the disk?  The code which needs to
deal with these cases should only run on the OS that supports such
file names.

> The use in files.el is to generate a good backup file name, presumably
> because "#foobar.perl#" would get turned into "#foobar.per" whereas we
> prefer "#foobar.pe#".  I don't know how to do that with file-name-equal,
> but admittedly, dos-8+3-filename is not sufficient to do it either: it
> uses ad-hoc code in files.el.

Ah, that one...  Yes, it just used the facility that was already

reply via email to

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