GNU bug report logs - #74091
31.0.50; string-pixel-width in mode line disables region

Previous Next

Package: emacs;

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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: me <at> eshelyaron.com, 74091 <at> debbugs.gnu.org
Subject: Re: bug#74091: 31.0.50; string-pixel-width in mode line disables
 region
Date: Sat, 09 Nov 2024 20:14:43 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: me <at> eshelyaron.com,  74091 <at> debbugs.gnu.org
> Date: Sat, 09 Nov 2024 13:06:13 -0500
> 
> AFAICT the problem is new with the addition of the `kill-permanent`
> arg to `kill-all-local-variables`.
> 
> Here's an example of a problem:
> 
>     src/emacs -Q --batch --eval '(message "%s" (list (setq-default foo nil) (setq-local foo t) (kill-all-local-variables t) (local-variable-p `foo) foo (default-value `foo) (with-temp-buffer foo) foo))'
> 
> =>
> 
>     (nil t nil t t nil nil nil)
> 
> If we call `kill-all-local-variables` without the additional argument, we
> get the correct answer:
> 
>     (nil t nil nil nil nil nil nil)

This feature was introduced in Emacs 29, so we should preferably fix
it in Emacs 30.  Any suggestions?




This bug report was last modified 194 days ago.

Previous Next


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