From owner-cvs-all@FreeBSD.ORG Fri May 9 07:57:52 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BE9C37B401; Fri, 9 May 2003 07:57:52 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id E691C43F3F; Fri, 9 May 2003 07:57:50 -0700 (PDT) (envelope-from bmah@employees.org) Received: from bmah.dyndns.org (12-240-204-110.client.attbi.com[12.240.204.110]) by attbi.com (sccrmhc03) with ESMTP id <2003050914575000300k61bke>; Fri, 9 May 2003 14:57:50 +0000 Received: from intruder.bmah.org (localhost [127.0.0.1]) by bmah.dyndns.org (8.12.9/8.12.9) with ESMTP id h49Evlrh006979; Fri, 9 May 2003 07:57:48 -0700 (PDT) (envelope-from bmah@intruder.bmah.org) Message-Id: <200305091457.h49Evlrh006979@bmah.dyndns.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Dag-Erling Smorgrav In-Reply-To: References: <200305082109.h48L9deO082933@repoman.freebsd.org> <200305082120.h48LKExV017697@bmah.dyndns.org> Comments: In-reply-to Dag-Erling Smorgrav message dated "Fri, 09 May 2003 12:34:36 +0200." From: bmah@acm.org (Bruce A. Mah) X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_806122405P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 09 May 2003 07:57:47 -0700 Sender: bmah@employees.org cc: "Bruce A. Mah" cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bmah@acm.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 14:57:52 -0000 --==_Exmh_806122405P Content-Type: text/plain; charset=us-ascii If memory serves me right, Dag-Erling Smorgrav wrote: > bmah@acm.org (Bruce A. Mah) writes: > > If anyone knows how to make emacs's version control put up something > > resembling our CVS commit message template file when I commit, I'd > > greatly appreciate it. I must do this four or five times every release. > > Like eivind@ taught me a long time ago (or tried to, anyway): "don't > commit from emacs". I'd rather make the tool fit my way of working, rather than adjust my way of working to fit the tool. :-) Anyways...I think I figured it out (at least for GNU Emacs 21.3). Add this to ~/.emacs: (add-hook 'vc-log-mode-hook '(lambda() (if (= (buffer-size) 0) (insert " PR: Approved by: Reviewed by: ")))) Add other CVS template fields as desired. Salt to taste. Cook until golden brown. Bruce. --==_Exmh_806122405P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQE+u8Hr2MoxcVugUsMRAoJgAKDvmFmrtIXUrEuH1WIeylAOsw6kBACg4OAE AwU1dqjk6HdC3wk2P2x0004= =I9dW -----END PGP SIGNATURE----- --==_Exmh_806122405P--