GNU bug report logs -
#3462
Auto-fill VC log contents
Previous Next
Reported by: Lluis Vilanova <vilanova <at> ac.upc.edu>
Date: Wed, 3 Jun 2009 19:25:05 UTC
Severity: wishlist
Tags: patch
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #15 received at 3462 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
El Thu, Jun 04, 2009 at 12:14:47PM -0400, Stefan Monnier ens deleit� amb les seg�ents paraules:
> > (I think that modifying `add-change-log-entry' and related functions
> > to accept a destination buffer instead of a file would be valuable, so
> > changes can be directly pushed into the `VC-log' buffer)
>
> Thank you. Indeed, making add-log use the *VC-log* buffer (when it
> exists and when there's no ChangeLog file) would be a very welcome
> addition. I believe it would provide the same functionality as your
> log-edit-fill, but more generic and better integrated.
>
> If you can cook up a patch for it, we would definitely consider it for
> inclusion in Emacs-23.2
Yay! Attached is a patch to both add-log and log-edit. Note that a few TODO's
are marked along add-log code where I couldn't understand what the code was
doing (just started to learn elisp... well, in fact just switched into emacs :)).
The major show-stoppers right now are:
* Couldn't get change-log-minor-mode to highlight the text as in
change-log-mode.
* Would be nice to allow adding entries to the bottom of current change log
block instead of the top.
* diff-add-change-log-entries-other-window has a somewhat strange behaviour and
ends up showing two windows with the same Changelog/VC-log buffer (I think the
bug was already there).
See that some changes were made into log-edit to seamlessly integrate with this
new feature in add-log.
As always, comments are welcome.
apa!
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
[change-log-use-buffer.patch (text/x-diff, attachment)]
This bug report was last modified 9 years and 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.