GNU bug report logs -
#74091
31.0.50; string-pixel-width in mode line disables region
Previous Next
Reported by: Eshel Yaron <me <at> eshelyaron.com>
Date: Tue, 29 Oct 2024 17:28:02 UTC
Severity: normal
Found in version 31.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Eshel Yaron <me <at> eshelyaron.com>, 74091 <at> debbugs.gnu.org
> Date: Sat, 09 Nov 2024 11:26:48 -0500
>
> I suspect the problem might be a bug in `reset_buffer_local_variables` around:
>
> /* Reset all (or most) per-buffer variables to their defaults. */
> if (permanent_too)
> bset_local_var_alist (b, Qnil);
>
> I suspect this was OK in the "original" uses of `permanent_too` because
> "by construction" none of those vars could be "swapped in" (i.e. have
> their value held in a C variable like `Vdeactivate_mark`), but we now
> have cases where this is not the case any more, so that if the value of
> `Vdeactivate_mark` held a buffer-local value, it ends up "promoted"
> to global.
Which development in Emacs made such a "promotion" possible?
This bug report was last modified 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.