From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: Re: vc-start-entry and add-log-current-defun, vc-comment-to-change-log Date: Sat, 26 Mar 2011 12:31:26 +0100 Message-ID: <8762r6unht.fsf@mat.ucm.es> References: <87aagkxruy.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301139114 12105 80.91.229.12 (26 Mar 2011 11:31:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Mar 2011 11:31:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 26 12:31:50 2011 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.69) (envelope-from ) id 1Q3Rie-0002Es-Qm for ged-emacs-devel@m.gmane.org; Sat, 26 Mar 2011 12:31:48 +0100 Original-Received: from localhost ([127.0.0.1]:46598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3Rie-000604-9X for ged-emacs-devel@m.gmane.org; Sat, 26 Mar 2011 07:31:48 -0400 Original-Received: from [140.186.70.92] (port=42915 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3RiY-0005vq-I1 for emacs-devel@gnu.org; Sat, 26 Mar 2011 07:31:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3RiX-0007S1-Fx for emacs-devel@gnu.org; Sat, 26 Mar 2011 07:31:42 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3RiX-0007Rv-AS for emacs-devel@gnu.org; Sat, 26 Mar 2011 07:31:41 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q3RiU-0002Bv-Sn for emacs-devel@gnu.org; Sat, 26 Mar 2011 12:31:38 +0100 Original-Received: from 11.pool85-54-11.dynamic.orange.es ([85.54.11.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Mar 2011 12:31:38 +0100 Original-Received: from oub by 11.pool85-54-11.dynamic.orange.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Mar 2011 12:31:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 11.pool85-54-11.dynamic.orange.es X-Hashcash: 1:20:110326:gmane.emacs.devel::BUKMc+WKEq/IiODA:0000000000000000000000000000000000000000000007o/ User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.21 (linux) Cancel-Lock: sha1:bnUXPCyyTJWraHmf6Ea6DHPtw/w= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:137708 Archived-At: >> Regarding Re: vc-start-entry and add-log-current-defun, >> vc-comment-to-change-log; Stefan Monnier >> adds: >> I always found it a little annoying that add-change-log-entry >> and vc-start-entry could lead to similar but different >> entries in the corresponding log files. > I don't know what you mean by vc-start-entry. It seems that I use an ancient vc version. In my version vc-next-action calls vc-next-action-on-file calls vc-checkin calls vc-start-entry And it is this last function which I wanted to change and add (let ((defun (add-log-current-defun))) at the beginning of that function and later insert defun. >> vc-comment-to-change-log allows you to insert vc entries to the >> Changelog, but changelog has at least for me the nicer format. > That's why log-edit-mode provides C-c C-a to bring the ChangeLog entry > into the VC-Log buffer before committing. I have not seen this feature in my vc version! No wait I am confused you say I can use C-c C-a in ChangeLog, well not in GNU emacs 22 I am using. Can you please clarify? >> But I found my solution not very elegant so are there plans >> to implement such a feature in the vc packages? Uwe