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: some vc-status updates Date: Tue, 08 Jan 2008 23:28:45 -0800 Message-ID: <200801090728.m097Son4004816@oogie-boogie.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199863905 20932 80.91.229.12 (9 Jan 2008 07:31:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2008 07:31:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: tromey@redhat.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 09 08:32:04 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 1JCVPs-0000QU-Rk for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 08:32:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCVPV-0000AG-H5 for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 02:31:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCVP9-0008RR-CL for emacs-devel@gnu.org; Wed, 09 Jan 2008 02:31:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCVP6-0008QV-Lp for emacs-devel@gnu.org; Wed, 09 Jan 2008 02:31:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCVP6-0008QR-B4 for emacs-devel@gnu.org; Wed, 09 Jan 2008 02:31:12 -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 1JCVP5-0007I0-TZ for emacs-devel@gnu.org; Wed, 09 Jan 2008 02:31:12 -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 m097Son4004816; Tue, 8 Jan 2008 23:28:50 -0800 (PST) In-Reply-To: (Tom Tromey's message of "Tue, 08 Jan 2008 18:31:18 -0700") Original-Lines: 32 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:86623 Archived-At: Tom Tromey writes: > This adds a bunch of functionality to vc-status. Thanks, I checked this in. > * vc-diff does not work unless you have a file marked. Maybe > vc-status-marked-files should return the current directory in this > case? Doing the same thing as vc-dired: diff the current files seems like the most conservative version. I did this. > Mostly this was an experiment, to see how easy it would be to turn > vc-status into a pcvs replacement. It doesn't look super hard, I > guess, though there is still a good amount to do. In particular: > > * Asynchronous operation The backend status call needs to be done with vc-exec-after. > * Updates. Can you do a full-directory update in VC? Probably not. But update needs a bit of work anyway: it does not work for VCSes that only do whole repository updates at a time (hg, git). > * A new backend method for "ignore". > * Saving buffers should probably update the vc-status buffer. PCL-CVS does that. Can that code be "stolen"?