tags:

views:

61

answers:

1

Hi,

I often commit files with similar cvs comment but not in a single operation. I would like to able to bring up previous comments I've used in a previous commit when I am in the process of writing a comment in emacs. Meaning, from within the VC-log buffer.

Is there a way to do this? Thanks

+4  A: 

Try M-p, aka

M-x log-edit-previous-comment

Though this requires that your Emacs is still the same process, so if you're starting a new Emacs for each commit, this won't work. To enable that, try either

  • committing from Emacs (see Version Control info pages, C-x v v to start)
  • using EmacsClient (set the EDITOR (or CVSEDITOR) environment variables)
Trey Jackson