cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common
new.sgml
Bruce A. Mah
bmah at acm.org
Fri May 9 07:57:52 PDT 2003
If memory serves me right, Dag-Erling Smorgrav wrote:
> bmah at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 223 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20030509/6cb1c9e3/attachment.bin
More information about the cvs-all
mailing list