From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Fri, 28 Dec 2007 15:01:25 -0800 Message-ID: <200712282301.lBSN1SBg007890@oogie-boogie.ics.uci.edu> References: <20071228174512.66834830BC9@snark.thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198883004 5693 80.91.229.12 (28 Dec 2007 23:03:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 23:03:24 +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 Sat Dec 29 00:03:37 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 1J8OEm-0005f1-64 for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 00:03:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8OEQ-0006So-Q6 for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 18:03:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8OEN-0006RD-Sd for emacs-devel@gnu.org; Fri, 28 Dec 2007 18:03:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8OEM-0006Ne-75 for emacs-devel@gnu.org; Fri, 28 Dec 2007 18:03:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8OEM-0006NT-2g for emacs-devel@gnu.org; Fri, 28 Dec 2007 18:03:06 -0500 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8OEL-00030M-Ly for emacs-devel@gnu.org; Fri, 28 Dec 2007 18:03:05 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id lBSN1SBg007890; Fri, 28 Dec 2007 15:01:28 -0800 (PST) In-Reply-To: <20071228174512.66834830BC9@snark.thyrsus.com> (Eric S. Raymond's message of "Fri, 28 Dec 2007 12:45:12 -0500 (EST)") Original-Lines: 17 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:85570 Archived-At: "Eric S. Raymond" writes: > I've spent the last couple of hours looking at this issue. > A reminder: the payoff for getting it right would be another > significant speedup in (vc-dired-hook), which would translate to > a faster C-x v d display. Thanks for dealing with this! > Remarkably, it looks as if the code does not actually depend > in any significant way on the nil return from (vc-state file) meaning > that FILE is unregistered. Tests that might have used this method > use vc-backend instead. So introducing an 'unregistered state > shouldn't actually break anything. vc-hg-registered depended on vc-hg-state returning nil for unregistered and ignored files. I fixed it.