GNU bug report logs - #78662
feature/igc: [PATCH] Make buffer_local_symbols exact roots

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Sun, 1 Jun 2025 08:38:01 UTC

Severity: normal

Tags: patch

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78662 in the body.
You can then email your comments to 78662 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#78662; Package emacs. (Sun, 01 Jun 2025 08:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Helmut Eller <eller.helmut <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 01 Jun 2025 08:38:02 GMT) Full text and rfc822 format available.

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

From: Helmut Eller <eller.helmut <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: feature/igc: [PATCH] Make buffer_local_symbols exact roots
Date: Sun, 01 Jun 2025 10:37:04 +0200
[Message part 1 (text/plain, inline)]
Tracing buffer_local_symbols and buffer_defaults exactly as in
the patch seems to work.

[0001-Make-buffer_defaults-and-buffer_local_symbols-exact-.patch (text/x-diff, attachment)]

Reply sent to Pip Cet <pipcet <at> protonmail.com>:
You have taken responsibility. (Sun, 01 Jun 2025 09:31:06 GMT) Full text and rfc822 format available.

Notification sent to Helmut Eller <eller.helmut <at> gmail.com>:
bug acknowledged by developer. (Sun, 01 Jun 2025 09:31:06 GMT) Full text and rfc822 format available.

Message #10 received at 78662-done <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> protonmail.com>
To: Helmut Eller <eller.helmut <at> gmail.com>
Cc: 78662-done <at> debbugs.gnu.org
Subject: Re: bug#78662: feature/igc: [PATCH] Make buffer_local_symbols exact
 roots
Date: Sun, 01 Jun 2025 09:29:55 +0000
"Helmut Eller" <eller.helmut <at> gmail.com> writes:

> Tracing buffer_local_symbols and buffer_defaults exactly as in
> the patch seems to work.

Thanks.  I see no reason why it wouldn't work, and it doesn't crash, so
I've pushed it and am closing the bug.

I did note that buffer_defaults.text changes from NULL to
&buffer_defaults.own_text on the first scan, but this seems harmless to
me.

If these strange objects (no MPS header, these two have a vectorlike
header but buffer_local_flags doesn't, not necessarily lisp-aligned)
cause any trouble, we could always allocate them on the MPS heap, giving
us the very slight benefit of putting some words behind a barrier.

Pip





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 29 Jun 2025 11:24:21 GMT) Full text and rfc822 format available.

This bug report was last modified 49 days ago.

Previous Next


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