[Top][All Lists]

[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 17:00:32 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

David Kastrup <address@hidden> writes:

> "Juanma Barranquero" <address@hidden> writes:
>> At least I didn't find difficult to remember that frames are windows
>> and windows are panes (and yeah, I know, Emacs Was There First :)
>> locate-user-emacs-file, then, as ugly as it is.
>>From functions like file-name-as-directory and directory-file-name one
> could possibly derive locate-user-emacs-file-name.  However, I find
> that this sounds illogical since the _name_ is not what is _located_.
> So locate-*-file seems more appropriate.

Actually, in correspondence with `make-temp-name', the function might
be named `make-user-file-name'.  The disadvantage is that `make'
carries with it the slight connotation that the file and/or name will
be a new one.  That would be somewhat alleviated by using
`get-user-file-name' (get is used in a similar function with buffers).

I think I should stop now before someone shoots me.

David Kastrup

reply via email to

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