all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36780: 26.1; request:  savehist should also save log-edit-comment-ring by default
@ 2019-07-24  8:59 ndame
  2019-08-23  5:12 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: ndame @ 2019-07-24  8:59 UTC (permalink / raw)
  To: 36780

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 749 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-08-23 18:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <<Axt4dg.WUI45G8D7I2l.s1vDqjehdBkdaPEsarTp@freemail.hu>
     [not found] ` <<87blwgforq.fsf@gnus.org>
     [not found]   ` <<83blwgb6ni.fsf@gnu.org>
2019-08-23 18:04     ` bug#36780: 26.1; request: savehist should also save log-edit-comment-ring by default Drew Adams
2019-07-24  8:59 ndame
2019-08-23  5:12 ` Lars Ingebrigtsen
2019-08-23  8:57   ` Eli Zaretskii
2019-08-23 18:36     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.