From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andre Spiegel Newsgroups: gmane.emacs.devel Subject: Re: vc-dired doesn't contact server (was Re: Adding 2006. + VC/PCL-CVS) Date: Thu, 16 Feb 2006 12:06:26 +0100 Message-ID: <1140087987.8867.4.camel@localhost.localdomain> References: <17395.47750.373082.471305@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140108806 7705 80.91.229.2 (16 Feb 2006 16:53:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2006 16:53:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 16 17:53:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9mNb-0008W7-MN for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2006 17:53:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9mAO-0001nA-MI for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2006 11:39:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F9gxy-0000mz-Fl for emacs-devel@gnu.org; Thu, 16 Feb 2006 06:06:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F9gxr-0000mW-0o for emacs-devel@gnu.org; Thu, 16 Feb 2006 06:06:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9gxo-0000mD-Gt for emacs-devel@gnu.org; Thu, 16 Feb 2006 06:06:21 -0500 Original-Received: from [193.113.160.14] (helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F9h2v-0002EX-DU for emacs-devel@gnu.org; Thu, 16 Feb 2006 06:11:37 -0500 Original-Received: from [10.0.1.3] (80.185.177.167) by mail.o2.co.uk (7.0.045) id 438649D000ABF50C; Thu, 16 Feb 2006 11:06:11 +0000 Original-To: Nick Roberts In-Reply-To: <17395.47750.373082.471305@kahikatea.snap.net.nz> X-Mailer: Evolution 2.4.1 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:50620 Archived-At: On Thu, 2006-02-16 at 12:34 +1300, Nick Roberts wrote: > Is there a variable that makes vc contact the server? Yes, it's called vc-stay-local. Set it to nil and VC contacts the repository for operations such as vc-directory. This tends to be rather slow, so setting that variable to t is usually preferred. If the state of the file in the repository is different than what the local heuristics suggest, you'll be notified of that at checkin time anyway. See the doc string of vc-stay-local; you can set it up so that it stays local only for certain repositories. You can also set it backend-specific by using vc-BACKEND-stay-local.