From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: some vc-dir notes Date: Fri, 18 Apr 2008 17:04:40 -0600 Message-ID: Reply-To: tromey@redhat.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208617620 1959 80.91.229.12 (19 Apr 2008 15:07:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 15:07:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 19 17:07:33 2008 connect(): Connection refused 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 1Jmze8-00060n-Ee for ged-emacs-devel@m.gmane.org; Sat, 19 Apr 2008 01:05:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmzdR-0006rt-NS for ged-emacs-devel@m.gmane.org; Fri, 18 Apr 2008 19:04:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JmzdN-0006rl-Mf for emacs-devel@gnu.org; Fri, 18 Apr 2008 19:04:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JmzdM-0006rW-4I for emacs-devel@gnu.org; Fri, 18 Apr 2008 19:04:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmzdM-0006rT-2m for emacs-devel@gnu.org; Fri, 18 Apr 2008 19:04:44 -0400 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JmzdL-0006o9-Jx for emacs-devel@gnu.org; Fri, 18 Apr 2008 19:04:43 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m3IN4g0Q029391 for ; Fri, 18 Apr 2008 19:04:42 -0400 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m3IN4ggX032098; Fri, 18 Apr 2008 19:04:42 -0400 Original-Received: from opsy.redhat.com (vpn-248-83.boston.redhat.com [10.13.248.83]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m3IN4gIk021831; Fri, 18 Apr 2008 19:04:42 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 58B723781A7; Fri, 18 Apr 2008 17:04:41 -0600 (MDT) X-Attribution: Tom User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:95456 Archived-At: After a moderate hiatus, today I tried Emacs CVS head and vc-dir again. I ran it on various parts of my GCC tree, checked out from svn and modified in places. First, nice! It is usably fast. This feature is probably what will drive me to running CVS Emacs daily... Now on to the bugs. Based on the help for "=" I expected an easy way to make a diff of the entire directory. I couldn't figure this out. I can mark files and do it, but I was hoping for something simpler. If I type "=" outside the content area of the buffer, I still get a result. Maybe I even wrote this part this way on purpose, I forget. Right now I'm not a big fan of it though. Maybe an operation with point before the content should work on the whole tree. I ran vc-dir on a directory with no changes and no unrecognized files. The display is just empty, which feels odd. I actually do miss the more explicit running/not running status patch I wrote... maybe just a footer would be nice. In any case, when something is running the mode line says "Waiting...". I think that is a bit passive and "Working..." would be a nicer. If I type '=' on an unregistered file I get: require(vc-nil) vc-find-backend-function(nil diff) vc-call-backend(nil diff ("/home/tromey/gnu/Trunk/trunk/Old.jar") nil nil "*v\ c-diff*") vc-diff-internal(t ("/home/tromey/gnu/Trunk/trunk/Old.jar") nil nil t) vc-diff(nil t) call-interactively(vc-diff nil nil) IMO it should just use whatever backend is displayed at the top of the buffer. In fact, using a different backend for any operation would seem weird. Tom