From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: vc-state always calls heuristic function Date: Wed, 24 Nov 2004 08:54:49 -0500 Message-ID: References: <1B3ACCFD5694A94DBA4E231402B0E9ED57AE5B@mucmail1.sdm.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101304563 22285 80.91.229.6 (24 Nov 2004 13:56:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2004 13:56:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 24 14:55:53 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CWxcf-0003Lh-00 for ; Wed, 24 Nov 2004 14:55:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWxln-00068N-TW for ged-emacs-devel@m.gmane.org; Wed, 24 Nov 2004 09:05:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CWxlG-00067S-VP for emacs-devel@gnu.org; Wed, 24 Nov 2004 09:04:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CWxlF-00066s-7b for emacs-devel@gnu.org; Wed, 24 Nov 2004 09:04:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWxlF-00066h-2p for emacs-devel@gnu.org; Wed, 24 Nov 2004 09:04:45 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CWxbj-0003eY-QO for emacs-devel@gnu.org; Wed, 24 Nov 2004 08:54:55 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 186F48282FA; Wed, 24 Nov 2004 08:54:55 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id C12EA4AC545; Wed, 24 Nov 2004 08:54:49 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id AF0568CA69; Wed, 24 Nov 2004 08:54:49 -0500 (EST) Original-To: In-Reply-To: <1B3ACCFD5694A94DBA4E231402B0E9ED57AE5B@mucmail1.sdm.de> (klaus berndl's message of "Wed, 24 Nov 2004 09:39:48 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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: main.gmane.org gmane.emacs.devel:30318 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30318 > and between each pass of the loop it is interruptable..well, but of course > there remains the problem - how to interrupt if one pass takes long > time... Google for `while-no-input'. > Hmm, now i'm confused... ECB needs a function how to get the VC-state. Well, > the user can customize which function ECB should use. But if he should > not use `vc-recompute-state' how he should get fresh-but-slow state?? Oh, you're right I got confused: vc-cvs-heuristic-state doesn't pay attention to vc-cvs-stay-local. Hmmm.... I guess VC could/should provide a function like vc-recompute-state or vc-check-for-updates. Currently this operation is only provided as part of vc-next-action, but it might be nice to decouple the two. Stefan