From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Still bugs in read-file-name completion on w32 Date: Fri, 21 Apr 2006 14:33:20 +0100 Message-ID: <4448DF20.6020800@gnu.org> References: <4447992F.6040102@student.lu.se> <7dbe73ed0604210426j76e4e1aaj5857c8f7949fce24@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145626451 12650 80.91.229.2 (21 Apr 2006 13:34:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Apr 2006 13:34:11 +0000 (UTC) Cc: Lennart Borgman , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 21 15:34:05 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FWvlf-00056f-2G for ged-emacs-devel@m.gmane.org; Fri, 21 Apr 2006 15:33:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWvle-0003Dk-Fm for ged-emacs-devel@m.gmane.org; Fri, 21 Apr 2006 09:33:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWvlS-0003Co-A7 for emacs-devel@gnu.org; Fri, 21 Apr 2006 09:33:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWvlP-0003CT-Te for emacs-devel@gnu.org; Fri, 21 Apr 2006 09:33:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWvlP-0003CQ-NN for emacs-devel@gnu.org; Fri, 21 Apr 2006 09:33:35 -0400 Original-Received: from [213.86.207.50] (helo=exchange.integrasp.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FWvmy-0007U1-LB for emacs-devel@gnu.org; Fri, 21 Apr 2006 09:35:12 -0400 Original-Received: from ASSP-nospam (localhost [127.0.0.1]) by exchange.integrasp.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id JL5J47A6; Fri, 21 Apr 2006 14:26:30 +0100 Original-Received: from 192.168.111.65 ([192.168.111.65] helo=[192.168.111.65]) by ASSP-nospam ; 21 Apr 06 13:26:30 -0000 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: Mathias Dahl In-Reply-To: <7dbe73ed0604210426j76e4e1aaj5857c8f7949fce24@mail.gmail.com> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53190 Archived-At: Mathias Dahl wrote: > 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.