GNU bug report logs - #36780
26.1; request: savehist should also save log-edit-comment-ring by default

Previous Next

Package: emacs;

Reported by: ndame <emacsuser <at> freemail.hu>

Date: Wed, 24 Jul 2019 09:00:02 UTC

Severity: wishlist

Tags: fixed

Found in version 26.1

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ndame <emacsuser <at> freemail.hu>
To: 36780 <at> debbugs.gnu.org
Subject: bug#36780: 26.1; request:  savehist should also save log-edit-comment-ring by default
Date: Wed, 24 Jul 2019 10:59:05 +0200 (CEST)
[Message part 1 (text/plain, inline)]
When committing things with vc I often reuse previous commit messages, usually
by editing them a bit. So it's very annoying when I restart emacs and lose the commit
message history.

I now added log-edit-comment-ring to savehist-additional-variables, but it should be 
the default, because minibuffer histories are saved by default, so I'd expect vc commit
messages are also saved, though it does not use the minibuffer, but it is frequently used
input field.

I recommend adding 

  (add-to-list 'savehist-additional-variables 'log-edit-comment-ring)

to log-edit.el, so if savehist is enabled then it is saved as well.
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.