emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug in file name completion


From: Lennart Borgman
Subject: Re: Bug in file name completion
Date: Thu, 17 Nov 2005 10:02:45 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Eli Zaretskii 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.
Reading the thread it seems to me that everyone liked Miles suggestion: http://lists.gnu.org/archive/html/emacs-devel/2004-01/msg00093.html

However a better name for the function were needed according to Richard. Maybe string-match-any?

Handa said that maybe this needed to be implemented in C.





reply via email to

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