GNU bug report logs - #19999
24.4; Selecting Mutiple Custom Themes

Previous Next

Package: emacs;

Reported by: Daniel E. Doherty <ded-law <at> ddoherty.net>

Date: Wed, 4 Mar 2015 10:27:02 UTC

Severity: normal

Tags: confirmed, patch

Merged with 34267

Found in versions 24.4, 26.1.91

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

Bug is archived. No further changes may be made.

Full log


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

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: 19999 <at> debbugs.gnu.org
Cc: ded-law <at> ddoherty.net
Subject: Re: bug#19999: 24.4; Selecting Mutiple Custom Themes
Date: Mon, 6 Jan 2020 11:55:16 -0300
[Message part 1 (text/plain, inline)]
tags 19999 patch
thanks

Daniel E. Doherty <ded-law <at> ddoherty.net> writes:

> (customize-themes)
> Check "Select more than one theme at a time"
> Check "leuven"
> Check "wombat"
> Click "Save Theme Settings"
>
> Open custom.el
>
> Only one of the themes is enabled.

I'm able to reproduce this on the release branch.

enable-theme, which is called while setting custom-enabled-themes,
destructively modifies custom-enabled-themes, thus affecting what will
be stored in the 'saved-value property of custom-enabled-themes when
saving it with custom-theme-save.

One possible fix is to make the updating of custom-enabled-themes in
enable-theme side-effect free, as the attached patch does.

Best regards,
Mauro.
[Message part 2 (text/html, inline)]
[0001-Fix-saving-multiple-themes.patch (text/x-patch, attachment)]

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

Previous Next


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