[Top][All Lists]

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

Re: ido-read-file-name default-filename

From: Karl Chen
Subject: Re: ido-read-file-name default-filename
Date: Wed, 17 May 2006 17:20:41 -0700
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>>>>> On 2006-05-17 14:25 PDT, Kim F Storm writes:

    Kim> I have installed a change which I think will fix this in
    Kim> general.  Please try the latest version.

Hi Kim, it works, but only when ido-show-dot-for-dired is nil.
The use case 
    (ido-everywhere 1)
    M-x diff RET
    RET for current buffer-file-name

Perhaps the solution is if default-filename is not nil, then
initially put it before "." even if ido-show-dot-for-dired.  Or
maybe diff-mode should let-bind ido-show-dot-for-dired nil.  

I guess one problem is read-file-name is overloaded for 2
different use cases: 1. read a file name (not a directory), and
2. read a file name or a directory name.  Separating
read-file-name into two functions or adding a flag indicating
intent would help.

Karl 2006-05-17 17:15

reply via email to

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