emacs-devel
[Top][All Lists]
Advanced

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

Re: Don't concat directories to file names


From: David Kastrup
Subject: Re: Don't concat directories to file names
Date: Mon, 25 Jun 2007 20:32:02 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"Juanma Barranquero" <address@hidden> writes:

> On 6/25/07, Stefan Monnier <address@hidden> wrote:
>
>> Emacs follows this idea as well.  I.e. a directory is a file, and it has two
>> names: one to treat it as a filem and another to treat it as a directory.
>> So /usr is a directory whose file name is "/usr" and directory name is
>> "/usr/", see file-name-as-directory and directory-file-name.
>
> I know, I'm even using `directory-file-name' in The Function Without A
> Name. But Emacs users and developers apparently don't, if they don't
> balk at the idea of a function *-file returning the path (cough, the
> filename, I mean) of a directory.

That's why we have file-name-as-directory, isn't it?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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