all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacsuser@freemail.hu, 36780@debbugs.gnu.org
Subject: bug#36780: 26.1; request:  savehist should also save log-edit-comment-ring by default
Date: Fri, 23 Aug 2019 11:57:53 +0300	[thread overview]
Message-ID: <83blwgb6ni.fsf@gnu.org> (raw)
In-Reply-To: <87blwgforq.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri,  23 Aug 2019 07:12:57 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Fri, 23 Aug 2019 07:12:57 +0200
> Cc: 36780@debbugs.gnu.org
> 
> > 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.
> 
> `savehist-additional-variables' is explicitly reserved for users to add
> stuff to, so I don't think it'd be appropriate for log-edit.el to add
> anything to it.
> 
> But we could add a new variable, say `savehist-variables', that as a
> default value could be
> 
> (log-edit-comment-ring)
> 
> and anything else the Emacs maintainers think could be saved by default.
> 
> Opinions?

I don't see why the solution of customizing
savehist-additional-variables by the user is not the right one.  After
all, we are not talking about minibuffer history here.

The savehist package defines itself as being for "saving the
minibuffer history".  What you suggest makes it a much more general
facility, and we then would need to review many other variables and
decide whether they are candidates for saving (some of them are
already saved by separate features).  Maybe we should do that, but
that's a much broader issue than this particular bug report.





  reply	other threads:[~2019-08-23  8:57 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83blwgb6ni.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=36780@debbugs.gnu.org \
    --cc=emacsuser@freemail.hu \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.