From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexandru Harsanyi Newsgroups: gmane.emacs.devel Subject: Re: Speeding up vc-dired still more Date: Fri, 28 Dec 2007 11:53:26 +0900 Message-ID: References: <20071227145202.8A12A830BC9@snark.thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198810425 16408 80.91.229.12 (28 Dec 2007 02:53:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 02:53:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eric S. Raymond Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 28 03:53:59 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 1J85MC-0006jM-Lk for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 03:53:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J85Lr-0000AS-KQ for ged-emacs-devel@m.gmane.org; Thu, 27 Dec 2007 21:53:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J85Ll-00005j-Qu for emacs-devel@gnu.org; Thu, 27 Dec 2007 21:53:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J85Lj-0008Tu-BB for emacs-devel@gnu.org; Thu, 27 Dec 2007 21:53:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J85Lj-0008Tb-1h for emacs-devel@gnu.org; Thu, 27 Dec 2007 21:53:27 -0500 Original-Received: from hosted05.westnet.com.au ([203.10.1.219]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J85Li-00055N-Ip for emacs-devel@gnu.org; Thu, 27 Dec 2007 21:53:26 -0500 Original-Received: from hosted05.westnet.com.au (hosted05.westnet.com.au [127.0.0.1]) by hosted05.westnet.com.au (Postfix) with SMTP id D92DE3F12BC; Fri, 28 Dec 2007 11:53:23 +0900 (WST) Original-Received: from [10.0.1.4] (dsl-58-7-169-97.wa.westnet.com.au [58.7.169.97]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by hosted05.westnet.com.au (Postfix) with ESMTP id 9827B3F16D2; Fri, 28 Dec 2007 11:53:22 +0900 (WST) In-Reply-To: <20071227145202.8A12A830BC9@snark.thyrsus.com> X-Mailer: Apple Mail (2.753) X-PMX-Branch: TNG-Outgoing X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85531 Archived-At: On 27 Dec 2007, at 11:52 PM, Eric S. Raymond wrote: > Dan Nicolaescu : >> That will show 1000 calls to vc-bzr-registered, vc-git-registered, >> vc-arch-registered, vc-svn-registered etc etc. > > Not any more. I've added a check against > completion-ignored-extensions, encapsulated in a new function called > vc-dired-ignorable-p. > Perhaps `vc-dired-ignorable-p' should be a backend function (vc- BACKEND-dired-ignorable-p). I'm thinking that the CVS backend could look at .cvsignore for the list of files to ignore, the SVN backend at .svnignore, and so on. This way, Emacs will ignore the same set of files as the VC backend would ignore when used in command line mode. Alex.