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: completion-ignored-extensions: match full file names Date: Sat, 15 Jan 2011 19:13:20 -0500 Message-ID: References: <7E365780-0E85-4169-98B2-EB53D703A2BA@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1295136819 18093 80.91.229.12 (16 Jan 2011 00:13:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Jan 2011 00:13:39 +0000 (UTC) Cc: david.reitter@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 16 01:13:35 2011 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.69) (envelope-from ) id 1PeGFS-000496-5z for ged-emacs-devel@m.gmane.org; Sun, 16 Jan 2011 01:13:34 +0100 Original-Received: from localhost ([127.0.0.1]:48498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeGFR-00009o-Ip for ged-emacs-devel@m.gmane.org; Sat, 15 Jan 2011 19:13:33 -0500 Original-Received: from [140.186.70.92] (port=43950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeGFJ-00009i-Oi for emacs-devel@gnu.org; Sat, 15 Jan 2011 19:13:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeGFI-00076E-93 for emacs-devel@gnu.org; Sat, 15 Jan 2011 19:13:25 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:40478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeGFH-000769-WD for emacs-devel@gnu.org; Sat, 15 Jan 2011 19:13:24 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PeGFE-0002jN-5g; Sat, 15 Jan 2011 19:13:20 -0500 In-reply-to: (message from Stefan Monnier on Fri, 14 Jan 2011 10:26:22 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:134587 Archived-At: > From: Stefan Monnier > Cc: David Reitter , emacs-devel@gnu.org > Date: Fri, 14 Jan 2011 10:26:22 -0500 > > I'd much rather add regexp-support, which will give a lot more > flexibility and should be pretty easy to implement. Of course, it will > have to use a new variable since as you point out the current > completion-ignored-extensions aren't compatible with > a regexp interpretation. I don't object, but this has a disadvantage that we would need to start using this regexp-based variable right away, to filter out only literally the ".cvs", ".bzr", ".git" etc. directories, not just any directory that ends in these extensions. IOW, introducing the new variable would mean that the default value of completion-ignored-extensions will change and the default value of the new variable will be non-nil. So it sounds like a more invasive change.