GNU bug report logs - #53294
29.0.50; Indirect font changes incorrectly affecting original buffer

Previous Next

Package: emacs;

Reported by: Andrew Hyatt <ahyatt <at> gmail.com>

Date: Sun, 16 Jan 2022 05:14:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrew Hyatt <ahyatt <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 53294 <at> debbugs.gnu.org
Subject: bug#53294: 29.0.50; Indirect font changes incorrectly affecting original buffer
Date: Sun, 16 Jan 2022 17:00:38 +0200
> From: Andrew Hyatt <ahyatt <at> gmail.com>
> Cc: 53294 <at> debbugs.gnu.org
> Date: Sun, 16 Jan 2022 09:43:16 -0500
> 
> Yes, the non-nil CLONE argument is essential to reproduce. But 
> that just means the indirect buffer will inherit the state from 
> the direct buffer.  It doesn't imply that changes made to the 
> indirect buffer's state will affect the original buffer, which is 
> what is happening here.

But "inheriting" the state means the indirect buffer gets the copy of
the variables of the original buffer, and that is not a deep copy,
AFAIU.

Stefan, any comments on this issue?




This bug report was last modified 3 years and 144 days ago.

Previous Next


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