From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: AW: behavior of vc-recompute-state in combination withvc-cvs-stay-local is t Date: Tue, 30 Nov 2004 08:25:06 -0500 Message-ID: References: <1B3ACCFD5694A94DBA4E231402B0E9ED9DD6E7@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 1101821172 6742 80.91.229.6 (30 Nov 2004 13:26:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Nov 2004 13:26:12 +0000 (UTC) Cc: spiegel@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 30 14:26:04 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 1CZ816-00072s-00 for ; Tue, 30 Nov 2004 14:26:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZ8AX-0007bt-LK for ged-emacs-devel@m.gmane.org; Tue, 30 Nov 2004 08:35:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CZ8AJ-0007aF-AU for emacs-devel@gnu.org; Tue, 30 Nov 2004 08:35:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CZ8AH-0007ZS-9E for emacs-devel@gnu.org; Tue, 30 Nov 2004 08:35:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZ8AG-0007Z0-R1 for emacs-devel@gnu.org; Tue, 30 Nov 2004 08:35:32 -0500 Original-Received: from [206.47.199.141] (helo=simmts12-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CZ80B-0007JJ-Nm; Tue, 30 Nov 2004 08:25:08 -0500 Original-Received: from empanada.home ([67.71.25.117]) by simmts12-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041130132506.HFIA1542.simmts12-srv.bellnexxia.net@empanada.home>; Tue, 30 Nov 2004 08:25:06 -0500 Original-Received: by empanada.home (Postfix, from userid 502) id 8BB6738A097; Tue, 30 Nov 2004 08:25:06 -0500 (EST) Original-To: In-Reply-To: <1B3ACCFD5694A94DBA4E231402B0E9ED9DD6E7@mucmail1.sdm.de> (klaus berndl's message of "Tue, 30 Nov 2004 12:21:55 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) 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:30535 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30535 One more note about vc-recompute-state: VC tries to handle CVS, RCS, SCCS, Arch, Subversion, and MetaCVS even if you don't have the corresponding software installed. The idea is that you might visit a file under CVS control even if you don't have CVS. So VC tried to only use the underlying programs when the user requests and action. vc-recompute-state is normally associated with an action (it's currently only called from vc-next-action), so it is free to call the underlying software. If your program uses vc-recompute-state blindly, it might cause errors because of files that are under the control of a revision control software which Emacs knows but which is not installed in the system. E.g. if the user does not have CVS installed but visits a file extracted from a tarball that includes a CVS administrative subdir. Stefan