bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: dired not loading directory if in buffer with file from that directo


From: Klaus Straubinger
Subject: Re: dired not loading directory if in buffer with file from that directory
Date: Thu, 29 Nov 2001 17:36:12 +0100 (CET)
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1

address@hidden (Andreas Schwab) wrote:

> It's a property of read-file-name:
<snip>
> Default name to DEFAULT-FILENAME if user enters a null string.
>  (If DEFAULT-FILENAME is omitted, the visited file name is used,
>   except that if INITIAL is specified, that combined with DIR is used.)

Yes, I see ... However, why does "find-file" (via the "(interactive)" F
option which calls read-file-name, I presume) prompt me with the
directory ("~/", for example) and then not set it as DEFAULT-FILENAME?
It obviously has an idea about the default, otherwise it could not
prompt as it does. Furthermore, I did not enter a null string, but the
directory of the visited file. So it simply should use it.

-- 
Klaus Straubinger



reply via email to

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