emacs-devel
[Top][All Lists]
Advanced

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

Re: Still bugs in read-file-name completion on w32


From: Stefan Monnier
Subject: Re: Still bugs in read-file-name completion on w32
Date: Fri, 21 Apr 2006 13:20:51 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> It does not affect me on Windows. These are the files matcing "test" in c:\:
>> 
>> test av mellanslag.txt             test.doc.PPT
>> test.html                          test.html~
>> test.jpg                           test.txt
>> test.txt~                          test.zip
>> test1.txt                          test2.txt
>> test_stor.mp3
>> 
> I think you missed an important part of Lennart's mail. In his case only one
> file matched "test", and it did not match the regexp he used
> for completions.

> I think this is by design. Completion is there to help the user choose
> a file, not to prevent them from choosing the wrong file. By default we
> ignore backup files and known binary suffixes, but if the only match for
> what the user has typed is a file that we would normally ignore, then we
> happily complete to that, because ultimately the user knows best.

Are you sure?
I know this is the expected behavior of completion-ignored-extensions, but
I didn't know this is the expected behavior of the `predicate' argument to
read-file-name.


        Stefan




reply via email to

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