From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tim Van Holder" Newsgroups: gmane.emacs.devel Subject: Re: 23.0.60; new vc-status interface: no more multi-file commits? Date: Fri, 11 Apr 2008 20:56:26 +0200 Message-ID: References: <200804111613.m3BGDFfs005044@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207940206 19396 80.91.229.12 (11 Apr 2008 18:56:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2008 18:56:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Dan Nicolaescu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 11 20:57:19 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 1JkOR4-0007oF-VB for ged-emacs-devel@m.gmane.org; Fri, 11 Apr 2008 20:57:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkOQQ-0005mK-N3 for ged-emacs-devel@m.gmane.org; Fri, 11 Apr 2008 14:56:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JkOQM-0005j9-90 for emacs-devel@gnu.org; Fri, 11 Apr 2008 14:56:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JkOQJ-0005b7-21 for emacs-devel@gnu.org; Fri, 11 Apr 2008 14:56:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkOQI-0005ae-Qy for emacs-devel@gnu.org; Fri, 11 Apr 2008 14:56:30 -0400 Original-Received: from gv-out-0910.google.com ([216.239.58.190]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JkOQH-0007FA-R8 for emacs-devel@gnu.org; Fri, 11 Apr 2008 14:56:30 -0400 Original-Received: by gv-out-0910.google.com with SMTP id y18so311291gvf.17 for ; Fri, 11 Apr 2008 11:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Rnn0CWDF9HN6HT4wOrbJaOglINVaR4I614zuFRvO/74=; b=AIGSxzsq2zsSjmnp+lLjc6aXkIDTVKRU7sz1WDAgRS90W9QZyU5glJAmGs+CB3Q3g5PJxdMB2aOxb8dyZmRFBSHbIh9j+TqotDdG4CjbsFK2z1ltPBL4vxDW3/EiIalOS75RuAA4DrY+w5RESe+ZmplADUNqRWrMFP4dHy8EAQM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oPQTO52hPZAQtBgnUVtAMpsL2s1Kcw+2EVbWULa5tDsectF2iThzvnjiJYnrT9aQGLjCr/nL4Ng/19pYa0pJ2Ta+xV4Dl8rPGU3jkriwPRz2W4sThoWV5UEFWSvkyeD+VKf07HO6p7vCE4E15UfhS+MynuHVTu0wApj6RBQaQB8= Original-Received: by 10.151.15.9 with SMTP id s9mr3647042ybi.215.1207940186734; Fri, 11 Apr 2008 11:56:26 -0700 (PDT) Original-Received: by 10.150.50.9 with HTTP; Fri, 11 Apr 2008 11:56:26 -0700 (PDT) In-Reply-To: <200804111613.m3BGDFfs005044@sallyv1.ics.uci.edu> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Google Wireless Transcoder (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:94989 Archived-At: On Fri, Apr 11, 2008 at 6:13 PM, Dan Nicolaescu wrote: > "Tim Van Holder" writes: > > > With todays CVS build, it looks like there is a new interface for C-x > > v d; in itself that is quite nice (especially since it also lists > > removed files, which the previous system never did, at least not for a > > CVS backend). > > However, it looks like one main functionality is omitted from this, > > namely the ability to commit files directly (i.e. the old v-v action > > in VC-under-dired; not that big a deal for a CVS backend, but with > > changeset-based systems like svn/git that would seem to be a serious > > lack, not to mention that it directly contradicts the information in > > NEWS). > > C-x v v should work just fine. If you mark multiple files it commits > all of them, if none are marked it commits the file on the current > line. vc-dired did the same thing. > It does not have a shorter binding yet, or a menu entry. Leave it to me not to try the full command. I'm too used to the v-v shorthand from vc-dired. Since neither v or v-v did it, and there was no menu entry, I (incorrectly) assumed the feature simply was not there. > > As an aside, is there a way to cleanly abort a long-running background > > status update? I briefly checked the behaviour of vc-status on a tree > > with svn backend; it also seemed to lack the ability to commit changed > > files. > > Can you please explain exactly what the problem was? This was just to mention that the (apparent) lack of a Commit action was not limited to the CVS backend. > > On top of that, the retrieving of the status info uses a > > background process; in the case of the tree I was using (a gcc > > checkout), that process is quite slow, and there did not seem to be an > > obvious way to cancel it. C-g did nothing (since it's a background > > process), and when it finished after I had killed the vc-status buffer > > I received a 'selecting deleted buffer' error. > > C-c C-c kills the update process (second to last menu entry). I didn't notice that. Would be nice if the background task could check that its buffer was still alive when updating it, so that it would silently abort if the (overly impatient) user killed it (or, alternatively, kill the process if the buffer is killed).