[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in file name completion
From: |
Richard M. Stallman |
Subject: |
Re: Bug in file name completion |
Date: |
Fri, 18 Nov 2005 11:56:30 -0500 |
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 think the other solution was this:
I've always thought it would be nice, instead of having multiple variables
each of which contain a different types of entry, to have something like
`completion-ignored-names', where each element could be either: a string
(which is matched using just `equal'), or a list like (regexp REGEXP),
which the matcher would treat accordingly.
I still think that is a good idea.
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?
I think string-match-extended is a better name for it.
It probably should be implemented in C, for use by completion.