GNU bug report logs - #76123
[PATCH] Eliminate savehist duplicated symbols

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Fri, 7 Feb 2025 20:07:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 76123 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Ship Mints <shipmints <at> gmail.com>, 76123 <at> debbugs.gnu.org
Subject: Re: bug#76123: [PATCH] Eliminate savehist duplicated symbols
Date: Fri, 7 Feb 2025 12:45:12 -0800
Ship Mints <shipmints <at> gmail.com> writes:

> This patch avoids savehist saving symbols duplicated between
> 'savehist-minibuffer-history-variables' and
> 'savehist-additional-variables'. I've accumulated symbols on
> 'savehist-additional-variables' that wind up, over time, in the master
> minibuffer list documented as being dynamic.
>
>   The contents of this variable is built while Emacs is running,
>   and saved along with minibuffer history.
>
> savehist had no defensive mechanism until now. The patch should do no harm
> to users and will transparently save some resources.

Would it be worth adding a test for this?




This bug report was last modified 99 days ago.

Previous Next


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