From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sven Bretfeld" Newsgroups: gmane.emacs.help Subject: Re: VC-CVS commit with standard comment Date: 22 Feb 2010 13:05:58 +0100 Message-ID: <87bpfhxyop.fsf@gmx.ch> References: <87bpfp8r3c.fsf@gmx.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1266845434 2360 80.91.229.12 (22 Feb 2010 13:30:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 13:30:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 22 14:30:30 2010 Return-path: Envelope-to: geh-help-gnu-emacs@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 1NjX3V-0005IK-QF for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 13:06:30 +0100 Original-Received: from localhost ([127.0.0.1]:56391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjX3V-0003gE-32 for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 07:06:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjX36-0003g9-Uw for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 07:06:04 -0500 Original-Received: from [140.186.70.92] (port=50521 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjX35-0003g1-7v for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 07:06:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjX34-000739-6j for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 07:06:03 -0500 Original-Received: from mx5.rz.ruhr-uni-bochum.de ([134.147.64.33]:49361) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NjX33-000731-RN for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 07:06:02 -0500 X-Queued: (qmail 11575 invoked from network); 22 Feb 2010 12:05:59 -0000 Original-Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx5.rz.ruhr-uni-bochum.de with SMTP; 22 Feb 2010 12:05:59 -0000 X-Queued: (qmail 32236 invoked by uid 281); 22 Feb 2010 12:05:59 -0000 X-Qmailscanner: from 88.153.160.5 (0axIjN0NPR9nAtEBS0BimQ==@88.153.160.5) by c2-3-4.rz.ruhr-uni-bochum.de (envelope-from , uid 80) with qmail-scanner-2.01 (sophie: 3.05/3.4/4.50. Clear:RC:1(88.153.160.5):. Processed in 0.018058 secs); 22 Feb 2010 12:05:59 -0000 Original-Received: from ip-88-153-160-5.unitymediagroup.de (HELO kamaloka) (0axIjN0NPR9nAtEBS0BimQ==@88.153.160.5) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-AES128-SHA encrypted) SMTP; 22 Feb 2010 12:05:59 -0000 In-Reply-To: (Vagn Johansen's message of "Sat, 20 Feb 2010 18:57:28 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72014 Archived-At: Vagn Johansen writes: >>>> Is it possible to set an automatic standard comment when checking in a >>>> version controlled file? > (add-hook 'log-edit-mode-hook '(lambda () (interactive) (insert "new"))) That's almost working. Thanks. The problem is that the second checkin wants to add the comment "newnew", the third "newnewnew". Greetings, Sven