From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Hideously slow VC status queries fixed Date: Thu, 27 Dec 2007 08:21:30 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20071227132130.GD1270@thyrsus.com> References: <20071227001113.3EDFE830B6E@snark.thyrsus.com> <200712270241.lBR2fAjv018571@oogie-boogie.ics.uci.edu> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198761705 16029 80.91.229.12 (27 Dec 2007 13:21:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2007 13:21:45 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 27 14:21:58 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 1J7sgQ-0003Rf-4f for ged-emacs-devel@m.gmane.org; Thu, 27 Dec 2007 14:21:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7sg4-00011W-Qd for ged-emacs-devel@m.gmane.org; Thu, 27 Dec 2007 08:21:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J7sg0-00011F-HU for emacs-devel@gnu.org; Thu, 27 Dec 2007 08:21:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J7sfx-0000y8-VI for emacs-devel@gnu.org; Thu, 27 Dec 2007 08:21:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7sfx-0000xk-OW for emacs-devel@gnu.org; Thu, 27 Dec 2007 08:21:29 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J7sfx-0008Cd-ER for emacs-devel@gnu.org; Thu, 27 Dec 2007 08:21:29 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 42C6B830BC9; Thu, 27 Dec 2007 08:21:30 -0500 (EST) Content-Disposition: inline In-Reply-To: <200712270241.lBR2fAjv018571@oogie-boogie.ics.uci.edu> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: 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:85505 Archived-At: Dan Nicolaescu : > That will show 1000 calls to vc-bzr-registered, vc-git-registered, > vc-arch-registered, vc-svn-registered etc etc. That could be sped up by noticing which files would normally be excluded by dired and using using that information to set an 'excluded property value. If dir-state did that, all those calls would be avoided > Another issue with vc-dired is that it does not show files that are not > registered and not ignored. So one cannot select the non-registered > files and register them in one shot... Yes, this has annoyed me. Yes another reason to think about rewriting vc-state and substantially enriching the repertoire of states it can pass back. -- Eric S. Raymond