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: vc-*-root finctions Date: Thu, 21 Feb 2008 12:01:46 -0800 Message-ID: <200802212001.m1LK1kNI022184@sallyv1.ics.uci.edu> References: <87skzn3mq9.fsf@ambire.localdomain> <87mypvxzd2.fsf@ambire.localdomain> <200802201850.m1KIofIk000198@sallyv1.ics.uci.edu> <87tzk2xr2q.fsf@ambire.localdomain> <200802211835.m1LIZcZ5005055@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203624288 27474 80.91.229.12 (21 Feb 2008 20:04:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2008 20:04:48 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , Thien-Thi Nguyen To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 21 21:05:05 2008 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 1JSHf6-0006Dh-Ue for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 21:04:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSHeb-00066h-T3 for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 15:04:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSHeX-00064u-QS for emacs-devel@gnu.org; Thu, 21 Feb 2008 15:04:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSHeW-000644-UW for emacs-devel@gnu.org; Thu, 21 Feb 2008 15:04:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSHeW-000641-N3 for emacs-devel@gnu.org; Thu, 21 Feb 2008 15:04:20 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JSHeW-0006UF-01 for emacs-devel@gnu.org; Thu, 21 Feb 2008 15:04:20 -0500 X-ICS-MailScanner-Watermark: 1204228907.40817@Gc9JiLfC0qLsjRryJrXr+Q Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1LK1kNI022184; Thu, 21 Feb 2008 12:01:46 -0800 (PST) In-Reply-To: (Tom Tromey's message of "Thu, 21 Feb 2008 12:01:13 -0700") Original-Lines: 22 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 10 (beta) 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:89856 Archived-At: Tom Tromey writes: > >>>>> "Stefan" == Stefan Monnier writes: > > Stefan> The asynchronous behavior is only important for all the other > Stefan> operations you'll want to perform later (once you already have > Stefan> a vc-status buffer with which to work): update/merge/pull, > Stefan> commit/push. > > On my gcc tree, a plain "svn status" takes a full minute (at the top > level). I think that is much too long a time for Emacs to be > unresponsive. So, I would prefer async operation for the dir-status > by default -- right now I simply can't use vc-dired for my work, and I > would like to be able to use something. > > I do agree that a particular back end could choose to work > synchronously. The current implementation does not care if the backend is asynchronous or not, the backend just needs to call the UPDATE-FUNCTION when it's done computing the status (I'm sure you knew that, this is just for everybody else's benefit)...