From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: VC / Git: amend function / mark for add / timing Date: Wed, 14 Oct 2009 01:34:42 +0300 Organization: JURTA Message-ID: <8763ajympx.fsf@mail.jurta.org> References: <9B112266-8695-41CB-A8EA-8D39833060AE@gmail.com> <200910131728.n9DHShQc013450@godzilla.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 1255473481 11206 80.91.229.12 (13 Oct 2009 22:38:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2009 22:38:01 +0000 (UTC) Cc: David Reitter , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 14 00:37:50 2009 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 1Mxq06-0001Aq-3B for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2009 00:37:50 +0200 Original-Received: from localhost ([127.0.0.1]:54799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxq02-0005Eh-Kf for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2009 18:37:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxpzy-0005Ea-5U for emacs-devel@gnu.org; Tue, 13 Oct 2009 18:37:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxpzt-0005Dv-7j for emacs-devel@gnu.org; Tue, 13 Oct 2009 18:37:41 -0400 Original-Received: from [199.232.76.173] (port=43550 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxpzt-0005Dl-5h for emacs-devel@gnu.org; Tue, 13 Oct 2009 18:37:37 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:47752 helo=mx2.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mxpzs-0003Q1-O7 for emacs-devel@gnu.org; Tue, 13 Oct 2009 18:37:36 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.28.50.cable.starman.ee [82.131.28.50]) by mx2.starman.ee (Postfix) with ESMTP id 077663F40C2; Wed, 14 Oct 2009 01:37:29 +0300 (EEST) In-Reply-To: <200910131728.n9DHShQc013450@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 13 Oct 2009 10:28:43 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:116122 Archived-At: > > It would be nice if VC provided a function to add the "--amend" > > argument to "git commit" so that the last commit is amended. This is > > useful when one forgets to check in file, especially after using C-x v > > v to commit a single file. The logical binding I thought of at first > > was C-u C-x v v, but that seems to do something else. > > It shouldn't be too hard to implement this, just that someone needs to > figure out what is the best UI for it. I think we already have the best UI in PCL-CVS where the prefix key C-u asks for additional arguments. -- Juri Linkov http://www.jurta.org/emacs/