Welcome to sources.redhat.com

Gary Thomas gary@chez-thomas.org
Tue Aug 6 12:41:00 GMT 2002


On Tue, 2002-08-06 at 13:33, Jonathan Larmour wrote:
> Gary Thomas wrote:
> > On Tue, 2002-08-06 at 13:17, Jonathan Larmour wrote:
> > 
> > 
> >>Gary takes the former approach I believe, although perhaps he has emacs 
> >>macros or something to help him which might be why.
> >>
> >>Commit log messages are also important as they are what people see in the 
> >>ecos-cvs list, which I certainly read, and I'm pretty sure Gary does too. 
> >>Yeah, what fun lives we lead ;).
> > 
> > 
> > I *do* have emacs macros which help with this.
> 
> Okay, can you indulge me with a peek? :-).
> 

Here's what I have in my .emacs file:

    (require 'add-log)
    (global-set-key "\C-x4a" 'add-change-log-entry)
    ;; (defun user-mail-address () "gthomas@redhat.com")
    (defun user-mail-address () "gary@chez-thomas.org")
    (defun user-full-name () "Gary Thomas")

Then, to make a ChangeLog entry, I just go to the file/function where
the change was made, type ^X-4-a and it finds the appropriate ChangeLog
file, makes the basic entry and I just fill in the details.

What I normally do is to run a script to see what I've changed 
(cvs-patch), then run another script which runs emacs on all of the 
changed files so I can update the ChangeLog (do_ChangeLogs).  Then run 
the (cvs-patch) script one more time and commit.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs-patch
Type: text/x-sh
Size: 145 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20020806/d8fae08c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do_ChangeLogs
Type: text/x-sh
Size: 217 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20020806/d8fae08c/attachment-0001.bin>


More information about the Ecos-patches mailing list