From owner-cvs-src@FreeBSD.ORG Fri May 9 08:12:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8237237B401; Fri, 9 May 2003 08:12:34 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82E7643F93; Fri, 9 May 2003 08:12:33 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 2BE90530F; Fri, 9 May 2003 17:12:31 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: bmah@acm.org References: <200305082109.h48L9deO082933@repoman.freebsd.org> <200305082120.h48LKExV017697@bmah.dyndns.org> <200305091457.h49Evlrh006979@bmah.dyndns.org> From: Dag-Erling Smorgrav Date: Fri, 09 May 2003 17:12:30 +0200 In-Reply-To: <200305091457.h49Evlrh006979@bmah.dyndns.org> (Bruce A. Mah's message of "Fri, 09 May 2003 07:57:47 -0700") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 15:12:34 -0000 bmah@acm.org (Bruce A. Mah) writes: > 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: > ")))) almost-but-not-quite-off-the-top-of-my-head: (defvar vc-cvs-template-file "CVS/Template") (defun vc-cvs-insert-template () (if (file-exists-p vc-cvs-template-file) (insert-file vc-cvs-template-file))) (add-hook 'vc-log-mode-hook 'vc-cvs-insert-template) and make sure to use -T when checking out or updating - this might help: (setq vc-checkout-switches "-T") DES -- Dag-Erling Smorgrav - des@ofug.org