From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bug in file name completion Date: Thu, 17 Nov 2005 06:39:53 +0200 Message-ID: References: <437A71C7.40209@student.lu.se> <437BB698.5050500@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1132202465 17297 80.91.229.2 (17 Nov 2005 04:41:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Nov 2005 04:41:05 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 17 05:41:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EcbZI-0000Zx-Cm for ged-emacs-devel@m.gmane.org; Thu, 17 Nov 2005 05:40:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EcbZH-0002t2-SY for ged-emacs-devel@m.gmane.org; Wed, 16 Nov 2005 23:40:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EcbZ0-0002s1-5S for emacs-devel@gnu.org; Wed, 16 Nov 2005 23:39:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EcbYy-0002qw-Ij for emacs-devel@gnu.org; Wed, 16 Nov 2005 23:39:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EcbYy-0002qt-EY for emacs-devel@gnu.org; Wed, 16 Nov 2005 23:39:56 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EcbYy-0002As-GF for emacs-devel@gnu.org; Wed, 16 Nov 2005 23:39:56 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-82-25.inter.net.il [80.230.82.25]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BYS63950 (AUTH halo1); Thu, 17 Nov 2005 06:39:51 +0200 (IST) Original-To: Lennart Borgman In-reply-to: <437BB698.5050500@student.lu.se> (message from Lennart Borgman on Wed, 16 Nov 2005 23:45:44 +0100) 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:46139 Archived-At: > Date: Wed, 16 Nov 2005 23:45:44 +0100 > From: Lennart Borgman > Cc: emacs-devel@gnu.org > > Richard M. Stallman wrote: > > > c:/temp/eclean/ > > c:/temp/ecvs/ > > > > When I do > > > > C-x C-f c:/temp/, TAB > > > > it just completes to "c:/temp/eclean" instead of showing the > > alternatives. > > > >I wonder if that is due to spuriously matching the "CVS/" element of > >completion-ignored-extensions. Maybe we need to change that to "/CVS/". > > > > > The documentation says that > > Directories are ignored if they match any string in this list which > ends in a slash. > > It does not say that directories ending in any of those strings are > ignored. However the code in file_name_completion (in dired.c) looks too > me like it ignores directories ending in those strings. > > Which is the intended behaviour? Wed had a thread about this in the past. It started in the end of December 2003 and continued in January 2004. The subject was "CVS directories in completion-ignored-extensions". The "/CVS/" solution was proposed then, but Richard proposed a different solution that he liked better. I suggest we read that thread before deciding what to do with this.