From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: completion-ignored-extensions: match full file names Date: Thu, 13 Jan 2011 21:53:12 -0500 Message-ID: References: <7E365780-0E85-4169-98B2-EB53D703A2BA@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294973615 25306 80.91.229.12 (14 Jan 2011 02:53:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Jan 2011 02:53:35 +0000 (UTC) Cc: Emacs-Devel devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 14 03:53:31 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 1PdZn6-0006li-93 for ged-emacs-devel@m.gmane.org; Fri, 14 Jan 2011 03:53:28 +0100 Original-Received: from localhost ([127.0.0.1]:57754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdZn5-0004pP-OL for ged-emacs-devel@m.gmane.org; Thu, 13 Jan 2011 21:53:27 -0500 Original-Received: from [140.186.70.92] (port=55265 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdZmz-0004pC-BO for emacs-devel@gnu.org; Thu, 13 Jan 2011 21:53:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdZmw-00049Z-OI for emacs-devel@gnu.org; Thu, 13 Jan 2011 21:53:21 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:48078 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdZmw-00049S-Kp for emacs-devel@gnu.org; Thu, 13 Jan 2011 21:53:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAONIL01FxIbi/2dsb2JhbACkTXS8eYVMBIRojio X-IronPort-AV: E=Sophos;i="4.60,321,1291611600"; d="scan'208";a="88026729" Original-Received: from 69-196-134-226.dsl.teksavvy.com (HELO ceviche.home) ([69.196.134.226]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 13 Jan 2011 21:53:18 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 52109660C9; Thu, 13 Jan 2011 21:53:12 -0500 (EST) In-Reply-To: <7E365780-0E85-4169-98B2-EB53D703A2BA@gmail.com> (David Reitter's message of "Thu, 13 Jan 2011 19:54:49 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:134518 Archived-At: > Completion always choose the one directory without the extension, because > completion-ignored-extensions' contains ".git/". So, matching ".git/" > is a bit too general - I'd rather match something like "^\.git" in order to > just exclude the internal ".git" directories. Is that possible, and if not, > would be it easy to realize? Currently completion-ignored-extensions contains a list of strings and can't specify regexps. Patches to make it possible to use regexps would be welcome (probably via some other variables). Stefan