--- Begin Message ---
Subject: |
log-edit improvements |
Date: |
Thu, 18 Feb 2010 11:14:43 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Severity: wishlist
[ resent from
http://lists.gnu.org/archive/html/emacs-devel/2010-02/msg00425.html ]
Could someone update log-edit-mode's font-lock patterns so that the
first line is highlighted specially (at least in the Bzr and Arch
cases)?
I think log-edit-mode should even go further in this direction.
The buffer should be created as
----------------
Author:
Summary:
blablabla
----------------
where <blablabla> is the text taken from the ChangeLog. Then for
backends which support the notion of summary-line, C-c C-c could just
signal an error if the Summary line is still blank.
After that, empty header entries will get removed and the text is passed
as-is to the backend who is then free to pass it as-is to the underlying
VCS or to extract the various fields and do whatever it feels like
with them.
Stefan
--- End Message ---