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: 23 Feb 2010 10:46:26 +0100 Message-ID: <87bpfgcmj1.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 1266918629 11721 80.91.229.12 (23 Feb 2010 09:50:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2010 09:50:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Vagn Johansen" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 10:50:22 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 1NjrPJ-0005CY-RH for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 10:50:22 +0100 Original-Received: from localhost ([127.0.0.1]:51873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjrPG-0003Bd-Ce for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 04:50:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjrMb-0001oy-Lm for help-gnu-emacs@gnu.org; Tue, 23 Feb 2010 04:47:33 -0500 Original-Received: from [140.186.70.92] (port=37625 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjrMa-0001oU-Ip for help-gnu-emacs@gnu.org; Tue, 23 Feb 2010 04:47:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjrMX-00022h-Vs for help-gnu-emacs@gnu.org; Tue, 23 Feb 2010 04:47:32 -0500 Original-Received: from mx1.rz.ruhr-uni-bochum.de ([134.147.32.86]:34525) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NjrMX-000224-M5 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2010 04:47:29 -0500 X-Queued: (qmail 28524 invoked from network); 23 Feb 2010 09:46:28 -0000 Original-Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx1.rz.ruhr-uni-bochum.de with SMTP; 23 Feb 2010 09:46:28 -0000 X-Queued: (qmail 11260 invoked by uid 281); 23 Feb 2010 09:46:27 -0000 X-Qmailscanner: from 88.153.160.5 (0axIjN0NPR9wZaEzaYLB0w==@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.020584 secs); 23 Feb 2010 09:46:27 -0000 Original-Received: from ip-88-153-160-5.unitymediagroup.de (HELO kamaloka) (0axIjN0NPR9wZaEzaYLB0w==@88.153.160.5) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-AES128-SHA encrypted) SMTP; 23 Feb 2010 09:46:27 -0000 In-Reply-To: (Vagn Johansen's message of "Mon, 22 Feb 2010 19:42:22 +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.4-2.6 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:72062 Archived-At: Hi Vagn Johansen writes: > "Sven Bretfeld" writes: >>> (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". > > Maybe this will work (untested) > > (add-hook 'log-edit-mode-hook '(lambda () (interactive) > (delete-region (point-min) (point-max)) > (insert "new"))) That's working perfectly. Thank you very much. Greetings, Sven