From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74091: 31.0.50; string-pixel-width in mode line disables region Date: Sat, 09 Nov 2024 20:14:43 +0200 Message-ID: <86ttcgl1f0.fsf@gnu.org> References: <86y1254owq.fsf@gnu.org> <86ldy54m2g.fsf@gnu.org> <86ed3w33g1.fsf@gnu.org> <8634k0mkgy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12954"; mail-complaints-to="usenet@ciao.gmane.io" Cc: me@eshelyaron.com, 74091@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 09 19:15:33 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t9pzg-0003Dy-MY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Nov 2024 19:15:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9pzD-0007At-KN; Sat, 09 Nov 2024 13:15:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9pzC-0007Aj-Hk for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 13:15:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9pzC-0001ZH-8T for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 13:15:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=ksVAocomiAnwly2KV2GyiBaOaTyzX0zmITrmgB6aVGc=; b=C+ByQsP+Mg2vgYKO3TLA+I/0rJQYQP61ez89C7ac3pa1PU2McBQk4OPu2k7520pAvJa0RFpd2Br68c4+c8GC2mjs4orvjJJVDPx1k7aKthqsxHe/S7h5B5emcx0LtofaLdTqVM5pAuWsCfZaXDpQxgkMPhjDuxp4fAvvKOAKSevl5Udo/eCbm13yhsK7hyc7QLAhdhvw26WPipWO3tTLVHCOjnzcJXesH2tbYUpI+oqncHTic4nqIq4ouslfxC9eAMurpXq7i/9vAZMKtb9Apq31cR2wQNCOu/2iTwHPXyIb4EuQrmgKKwphiwJt4u5ezbFaw64HqbwjrEqcL/C0lQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9pzB-000086-Rz for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 13:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 18:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74091 X-GNU-PR-Package: emacs Original-Received: via spool by 74091-submit@debbugs.gnu.org id=B74091.1731176098475 (code B ref 74091); Sat, 09 Nov 2024 18:15:01 +0000 Original-Received: (at 74091) by debbugs.gnu.org; 9 Nov 2024 18:14:58 +0000 Original-Received: from localhost ([127.0.0.1]:54416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9pz8-00007b-14 for submit@debbugs.gnu.org; Sat, 09 Nov 2024 13:14:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9pz6-00007O-Cd for 74091@debbugs.gnu.org; Sat, 09 Nov 2024 13:14:57 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9pyx-0001YI-Uq; Sat, 09 Nov 2024 13:14:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ksVAocomiAnwly2KV2GyiBaOaTyzX0zmITrmgB6aVGc=; b=GXb9yY77lEHg migzPBFFnsn0sepMPvonvYrJWvIICBYvANxwU0J5VZe8JKOim/0iMHFzcjMAEwgS6Xhs9qtLq2BKH dc8il4d4OjlUZwi9zTQbeMTqJs5tw8OrhS11WSIZcWj1Qht8w6Y2rAp8nwAD3vgHjnSMyZa2Vx70Z QKE9Ylb6xXKNFXk0nMkUA4yhXhBZD0wW1iemHHK3dAC4FREWzrqaOQVKW2i7aR0cDaZQj/oQ5+F0C O5rVLATENG5OO+XJpPgrDa4z+jqDbiFvTRrL2qRZaHkauBgQr460RI3jHcCOjKoAxbcyTiygt1JBz Nh5p6whExJySgBxjkZhLBQ==; In-Reply-To: (message from Stefan Monnier on Sat, 09 Nov 2024 13:06:13 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295153 Archived-At: > From: Stefan Monnier > Cc: me@eshelyaron.com, 74091@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?