From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.devel Subject: Re: Suggestion on completion Date: Wed, 17 Jan 2007 09:56:20 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1168999011 24072 80.91.229.12 (17 Jan 2007 01:56:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Jan 2007 01:56:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 17 02:56:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H702e-0008Ho-42 for ged-emacs-devel@m.gmane.org; Wed, 17 Jan 2007 02:56:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H702e-0005sd-D2 for ged-emacs-devel@m.gmane.org; Tue, 16 Jan 2007 20:56:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H702T-0005sP-2L for emacs-devel@gnu.org; Tue, 16 Jan 2007 20:56:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H702R-0005qz-4k for emacs-devel@gnu.org; Tue, 16 Jan 2007 20:56:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H702R-0005qs-13 for emacs-devel@gnu.org; Tue, 16 Jan 2007 20:56:31 -0500 Original-Received: from [65.54.246.211] (helo=bay0-omc3-s11.bay0.hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H702L-0003qa-5E; Tue, 16 Jan 2007 20:56:25 -0500 Original-Received: from hotmail.com ([64.4.26.44]) by bay0-omc3-s11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Tue, 16 Jan 2007 17:56:23 -0800 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 16 Jan 2007 17:56:23 -0800 Original-Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Wed, 17 Jan 2007 01:56:20 GMT X-Originating-IP: [216.145.54.7] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: Original-To: herberteuler@hotmail.com, monnier@iro.umontreal.ca, rms@gnu.org X-OriginalArrivalTime: 17 Jan 2007 01:56:23.0579 (UTC) FILETIME=[B0D596B0:01C739DA] 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:65250 Archived-At: >> > name would no longer make sense. So I think it is better to add >> > a new variable `completion-ignored-names'. Those names would be >> > checked for an exact match. >> >>It could be a regexp rather than a list of precise names. > >Suppose we add a variable `completion-ignored-names-regexp' that a >name would not be provided as a first completion if it matches one of >the names in this variable and there are other names that do not >match any names in this variable. > >Then we can say that, the cases that `completion-ignored-extensions' >and `completion-ignored-names' can handle are only special cases, or >``subsets'' that `completion-ignored-names-regexp' can handle. > >How about adding the variable `completion-ignored-names-regexp', and >making `completion-ignored-extensions' a deprecated variable and the >same as `completion-ignored-names-regexp'? Please give me suggestions on this design, especially on making the deprecated variable. I'm not sure whether it is Ok along with Emacs' policy, and I think Stefan's way is really elegant. I need an approach from discussing, or I cannot start writing. Thanks. Regards, Guanpeng Xu _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/