GNU bug report logs - #39812
26.1; face-remapping-alist is sometimes set to an unexpected value

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Thu, 27 Feb 2020 19:21:02 UTC

Severity: minor

Found in version 26.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Markus Triska <triska <at> metalevel.at>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 39812 <at> debbugs.gnu.org
Subject: bug#39812: 26.1; face-remapping-alist is sometimes set to an unexpected value
Date: Fri, 28 Feb 2020 08:15:03 +0100
Noam Postavsky <npostavs <at> gmail.com> writes:

> face-remap-add-relative destructively modifies the list value, so
> setting face-remapping-alist to a quoted literal gives unexpected
> results like this.

Thank you for looking into this! Using copy-tree makes it work.

However, I find it very unexpected that face remapping modifies a value
that appears as a literal constant in my own code. Is it possible to
make face remapping word without such destructive side-effects?

Alternatively, would you please consider documenting how to work around
this, for example at the place where the sample snippet is mentioned?

Thank you and all the best!
Markus






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

Previous Next


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