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 19:55:53 +0900 Message-ID: <914CCC23-1E02-4FC1-A400-F280B819A3D8@mac.com> References: <20071227145202.8A12A830BC9@snark.thyrsus.com> <20071228092526.GC23009@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 1198839379 11569 80.91.229.12 (28 Dec 2007 10:56:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 10:56:19 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 28 11:56:23 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 1J8Ct5-0000os-2f for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 11:56:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8Csk-0002NN-34 for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 05:56:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8Csf-0002Lc-Bg for emacs-devel@gnu.org; Fri, 28 Dec 2007 05:55:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8Csd-0002KB-CQ for emacs-devel@gnu.org; Fri, 28 Dec 2007 05:55:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8Csd-0002Jv-6p for emacs-devel@gnu.org; Fri, 28 Dec 2007 05:55:55 -0500 Original-Received: from hosted04.westnet.com.au ([203.10.1.217]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8Csc-00028y-JC for emacs-devel@gnu.org; Fri, 28 Dec 2007 05:55:55 -0500 Original-Received: from hosted04.westnet.com.au (hosted04.westnet.com.au [127.0.0.1]) by hosted04.westnet.com.au (Postfix) with SMTP id 98BEB21D6FF; Fri, 28 Dec 2007 19:55:50 +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 hosted04.westnet.com.au (Postfix) with ESMTP id 2DEB121D4AD; Fri, 28 Dec 2007 19:55:48 +0900 (WST) In-Reply-To: <20071228092526.GC23009@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:85540 Archived-At: On 28 Dec 2007, at 6:25 PM, Eric S. Raymond wrote: > Alexandru Harsanyi : >> 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. > > It shouldn't *be* a new backend function, but it should probably > *call* > such a function. This is what I intended to say too :-) > The reason I say that is that there are some ignorable > files that don't fit in the .svnignore/.cvsignore model. > > As an example, right now I have in there logic to ignore Makefile if > it has a peer named Makefile.in or Makefile.am. At least for the Emacs repository, .cvsignore lists Makefile so it is ignored by CVS. A `vc-cvs-dired-ignorable-p' implementation which looks only at .cvsignore will ignore the Makefile with no extra logic. > > This is a good idea, but I have several higher-priority changes in my > queue. Are you interested enough to do it? I'm happy to make these changes, I will send you a patch for review. > Best Regards, Alex.