GNU bug report logs - #80864
[PATCH] Declare some gnus-art buffer-local variables as such at top level

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Augusto Stoffel <arstoffel@HIDDEN>; Keywords: patch; dated Sun, 19 Apr 2026 13:41:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 80864 <at> debbugs.gnu.org:


Received: (at 80864) by debbugs.gnu.org; 30 Apr 2026 11:22:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 30 07:22:08 2026
Received: from localhost ([127.0.0.1]:54588 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wIPT5-0002XH-GJ
	for submit <at> debbugs.gnu.org; Thu, 30 Apr 2026 07:22:08 -0400
Received: from flow-a1-smtp.messagingengine.com ([103.168.172.136]:43623)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1wIPT2-0002W5-G2
 for 80864 <at> debbugs.gnu.org; Thu, 30 Apr 2026 07:22:05 -0400
Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])
 by mailflow.phl.internal (Postfix) with ESMTP id 4AF321380123;
 Thu, 30 Apr 2026 07:21:59 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-05.internal (MEProxy); Thu, 30 Apr 2026 07:21:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:cc:content-type:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to; s=fm1; t=1777548119; x=
 1777551719; bh=qT4LqQ8WYoJ8CT1nkN/Wm71x0sHk/hgJ6GO9vA7SqwY=; b=p
 QMmR4CL4/FGxJDET7d5CQjQMGfzsE9d2DlzfEWBZD6difMdG30UKuK/7oxbnFwGb
 XUPdDbuy6IZApT4PysoKIJfDZ6voNi31f1JzteKgi9dsROEqQXydUm2k8ctw1W5h
 0cCoFZueJkvJ1iPGviMc0vVqYOvDHcxo8WzraEa6e5mA/YdSAuV8Tb7TDMhXtFvc
 GifDIkrG9pexf1eJrD0mDGayStIyonP4wXiEI//98efQB3r0xlHIWpBcIxWKt92w
 HKWWqN3Yo8/6BnExmRvu/natuKpBPyxwh8f25sVYPgIEjMIcqZMhjMQ9u087ANnx
 fFtl9qnMpzeZJUoSOhl4Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1777548119; x=1777551719; bh=qT4LqQ8WYoJ8CT1nkN/Wm71x0sHk/hgJ6GO
 9vA7SqwY=; b=Hk9cUwO3FCr8j+CEKaFCtgcAc98r6/xKzhn6f2j2mRhinDoHTPQ
 eanNXL6fRPsZiLvj0hyDEbJjK4d9JbEExuRmGEm2qcp4OKdTG3pq2gu3mCN1Bcof
 7kuRLsKWuhYM1BL2CglOnN5GEO5PpFmk9D7IS/EMzwTEx5oEmU85HhNNE0TzL8PZ
 i7omKvazIcdEi3Ssk5qR5jmMUKoEwTK4hppa9OO1UNKm0CttI2bqumNDFkrERRda
 Js3FA6YIydd5O507lQ/PhWcu8eUl+BjRO+aRVNNcjzXLXG+rgbol1k8mqF9tUdOB
 ZyodHH1m1bhAgQUQ1B6Jpbk/2k+eieH9pEA==
X-ME-Sender: <xms:VjvzadW48iLLV-wUmiuJqu4BXWWPgOKkF1UfVi-Vl05crcxiAFJ_QA>
 <xme:VjvzaW6AsfFL8OJVB30cWg-YCOU9tC-GcVBrXEdn_5nRYwCDo2mXdXjoKrfelQgbY
 wlNsC3qK6tFtzRZ2WipumXoCG_1FGaUMVjgCcZE6r-W_J-lYabLZQ>
X-ME-Received: <xmr:VjvzaQpS1JEI3jPLI8HpzauSvBchQvDFDLWXRhqGztR_pPtJk5lUAAqlAqZOm8Qp8ooGyglKo95z>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdekjedulecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr
 ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug
 hrpefhvfevufgjfhffkfggtgesthdttddttddttdenucfhrhhomhepufgvrghnucghhhhi
 thhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqeenucggtf
 frrghtthgvrhhnpedvvdehgefghfeuhfelkeduffehgfehkeefteekfffgffdvueefuefg
 udffhfduhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh
 hmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgdpnhgspghrtghpthht
 ohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheptghohhgvnhesrghnugihrd
 gsuhdrvgguuhdprhgtphhtthhopeektdekieegseguvggssghughhsrdhgnhhurdhorhhg
 pdhrtghpthhtohepvghrihgtsegvrhhitggrsghrrghhrghmshgvnhdrnhgvthdprhgtph
 htthhopegrrhhsthhofhhfvghlsehgmhgrihhlrdgtohhmpdhrtghpthhtoheplhgrrhhs
 ihesghhnuhhsrdhorhhgpdhrtghpthhtohephigrmhgrohhkrgesjhhplhdrohhrgh
X-ME-Proxy: <xmx:VjvzaRkJhLU-sKYK3AF9mV2_bC5WCoMUmVpEt8StYbH7WN8q0jaodg>
 <xmx:VjvzaUPMeAiV8Vq4pIeRpszqNz_RRODPZFnHwHyyJQ34Fa1zTrN_Dg>
 <xmx:VjvzadMuhYnxZ_TirBwKlOYBs_NrXURl1tmhSt6vqCBRB4DRZmM8cg>
 <xmx:VjvzadhdjkWuXUFmcMiDmv81ZI-axo69aFSq0FajBmb9EqHCwAWIwA>
 <xmx:VzvzaU46H8IBANdNN99HY939iagObZ0S5waHre6PKm4QiZ9IjKzEOlvQ>
Feedback-ID: i62564b17:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 30 Apr 2026 07:21:58 -0400 (EDT)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id A30687E1B71; Thu, 30 Apr 2026 12:21:54 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Augusto Stoffel <arstoffel@HIDDEN>, 80864 <at> debbugs.gnu.org, Andrew G
 Cohen <cohen@HIDDEN>, Eric Abrahamsen <eric@HIDDEN>,
 Katsumi  Yamaoka <yamaoka@HIDDEN>
Subject: Re: bug#80864: [PATCH] Declare some gnus-art buffer-local variables
 as such at top level
In-Reply-To: <87ik9n3w6o.fsf@HIDDEN>
References: <87ik9n3w6o.fsf@HIDDEN>
Date: Thu, 30 Apr 2026 12:21:54 +0100
Message-ID: <87fr4chewd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 80864
Cc: Lars Magne Ingebrigtsen <larsi@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Augusto Stoffel [19/Apr  3:40pm +02] wrote:
> Tags: patch
>
> It would be nice to make gnus-art easier to use as a library for
> external packages, in the sense that calling `gnus-display-mime' in a
> buffer containing text/rfc822 content should give you a nice pretty
> message, independently of a major mode or Gnus being running.
>
> A first step would be to not have to worry about making buffer-local
> some variables that must only be used that way.  This patch does it in
> the cases which I think are pretty safe.
>
> What do you think?

This should be fine, adding some Gnus people for review.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80864; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Apr 2026 13:40:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 19 09:40:46 2026
Received: from localhost ([127.0.0.1]:38909 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wESOE-0000hJ-18
	for submit <at> debbugs.gnu.org; Sun, 19 Apr 2026 09:40:46 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:46182)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <arstoffel@HIDDEN>)
 id 1wESOB-0000gb-89
 for submit <at> debbugs.gnu.org; Sun, 19 Apr 2026 09:40:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <arstoffel@HIDDEN>)
 id 1wESO5-0003S6-Np
 for bug-gnu-emacs@HIDDEN; Sun, 19 Apr 2026 09:40:37 -0400
Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <arstoffel@HIDDEN>)
 id 1wESO3-000805-Md
 for bug-gnu-emacs@HIDDEN; Sun, 19 Apr 2026 09:40:37 -0400
Received: by mail-wm1-x333.google.com with SMTP id
 5b1f17b1804b1-488a88aeec9so34231485e9.2
 for <bug-gnu-emacs@HIDDEN>; Sun, 19 Apr 2026 06:40:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1776606033; x=1777210833; darn=gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=oGIfqwomayeRFSH6/l+N9AQ5EXPZra6j0A+P4Mq4C2M=;
 b=dIz+O8MH9/4xMIxliSeX3FAw+jGxjsKCoUtn5VDMIQDX2tJ4nNGqKcSDHVhh90waaL
 gAqoohD3iZB4FlkTDkr7rMOza7gbfnpZl4ab79qbpDAhrXM4E2ARi/Ep61/+Wan+mz0u
 bvSgz9LwMf8E8HJqIelTflZtCOuyizF9NWmo3qWjvVZ/i/8Mcht8b+FASopC5XL6etIt
 lp/V+BwF2dmixLdRFs2MG6BOOpzwSCM55/Fhpye7PnLbJ7R7SVm8W7o9K4qH5S7tpGqC
 dr0lr3J26h559iuNiN7riDovz+x/yiX+rYRHUdMWX8bW4xpNGmEZpWK95ztzr4v9VI1J
 DWHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1776606033; x=1777210833;
 h=mime-version:message-id:date:subject:to:from:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=oGIfqwomayeRFSH6/l+N9AQ5EXPZra6j0A+P4Mq4C2M=;
 b=ls0D8sk720/E2r4s6Zjq7h3BXuY/BkrgpxsVsydKOXo9y6MHtTyALDbbn9sXmzo5W7
 NiYFdeUUOTf9wf6qaGTvxnufBEeG5wPklGaLvDzJ4+gAgpSsJDe5CMToVeoABRxeNo/g
 rvFjf/yf6lcU9vI8RIqYUFOX5v7qv6GRAa1W2yk5f6i60g/MTbvRKG/WbPQ9JwiVrYIe
 P7ipHUiZkoASpXD3ukvl7a6AgoM0cLKYT0rNX7/xIFUfJQKezSmuKmNSWZHbDhS4NSxM
 /8ip3F6Hnzg4XlTft2SK9Ok5ZgxT0oJvvjKJcac15EPksyHWAQ6ytGYhGMc90mJRK7D7
 Yvsg==
X-Gm-Message-State: AOJu0YwcXwi5eKp4DhtvAjR0uLwjhX+dV1jYPra5Z7dkwrj1V0Rt0sqg
 y1r0cI+K7beNRDUoTEQhmuRpXdgbwUdIhMldGj0kP2GorS2KT6KspwbMOnPRTA==
X-Gm-Gg: AeBDieusd3L7i/PPuMeDILmg1YOInTiWFFrFQ1+1Y8kzwMKBFRCyRIMoRW503L0x5dy
 milsc0jQBXU5C5t+WwB/1Xk12p63Fn73/9f+PsHB0fmIrKdDZOtU9CqfYblbQZhOcp3NjKl3yN6
 I64Sk3KIOoBHM2LsW/QeDsp1IP8zVwZQdQ5/nOMvPP54qb9IdJyTyrdNDFWjEE8wp9cJNZGVd8S
 SYlE2NmJ2QHq3ApSmfUzJm1IaSRuD6MVmq2V6gkyuSKCyZfjMzZAZt9UmBGLidBM0LG9tMeIH7G
 sppXUWoauiW+Phxm8RHT1FuKQ6fP3fYEc43VLnjLNw6yNwBzkWhiTU3BgTMyW2Lo909bZY6ulFU
 m5512ti6MSPeQUHTLW6Z/IDAavv+9lYe+O09D8u2lY38kla0QKCfRHhowNHuEllQxLcAz4csEIK
 mFwLLj6pnquA==
X-Received: by 2002:a05:600c:888b:b0:480:1d0b:2d32 with SMTP id
 5b1f17b1804b1-488fb74bccbmr115285805e9.12.1776606033036; 
 Sun, 19 Apr 2026 06:40:33 -0700 (PDT)
Received: from ars3 ([2a02:8109:8a95:9a00::269a])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4891bb3d121sm19907565e9.14.2026.04.19.06.40.31
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 19 Apr 2026 06:40:32 -0700 (PDT)
From: Augusto Stoffel <arstoffel@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [PATCH] Declare some gnus-art buffer-local variables as such at top
 level
X-Debbugs-Cc: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Date: Sun, 19 Apr 2026 15:40:31 +0200
Message-ID: <87ik9n3w6o.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2a00:1450:4864:20::333;
 envelope-from=arstoffel@HIDDEN; helo=mail-wm1-x333.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Tags: patch It would be nice to make gnus-art easier to use
 as a library for external packages,
 in the sense that calling `gnus-display-mime'
 in a buffer containing text/rfc822 content should give you a nice pret [...]
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (arstoffel[at]gmail.com)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

--=-=-=
Content-Type: text/plain

Tags: patch

It would be nice to make gnus-art easier to use as a library for
external packages, in the sense that calling `gnus-display-mime' in a
buffer containing text/rfc822 content should give you a nice pretty
message, independently of a major mode or Gnus being running.

A first step would be to not have to worry about making buffer-local
some variables that must only be used that way.  This patch does it in
the cases which I think are pretty safe.

What do you think?


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Declare-some-gnus-art-buffer-local-variables-as-such.patch

From e70526f23efbd5f91441c0221aef1b836c5e58d4 Mon Sep 17 00:00:00 2001
From: Augusto Stoffel <arstoffel@HIDDEN>
Date: Sun, 19 Apr 2026 15:13:29 +0200
Subject: [PATCH] Declare some gnus-art buffer-local variables as such at top
 level

* lisp/gnus/gnus-sum.el (gnus-article-charset)
(gnus-article-ignored-charsets): Use defvar-local.
* lisp/gnus/gnus-art.el (gnus-article-wash-types)
(gnus-article-image-alist, gnus-article-mime-handle-alist)
(gnus-article-current-summary): Use defvar-local.
(gnus-article-mode): No need to call make-local-variable here anymore.
---
 lisp/gnus/gnus-art.el | 14 ++++----------
 lisp/gnus/gnus-sum.el |  4 ++--
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 56473f81f06..9d935ce8630 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1677,9 +1677,9 @@ gnus-english-month-names
     "September" "October" "November" "December"))
 
 (defvar article-goto-body-goes-to-point-min-p nil)
-(defvar gnus-article-wash-types nil)
+(defvar-local gnus-article-wash-types nil)
 (defvar gnus-article-emphasis-alist nil)
-(defvar gnus-article-image-alist nil)
+(defvar-local gnus-article-image-alist nil)
 
 (defvar gnus-article-mime-handle-alist-1 nil)
 (defvar gnus-treatment-function-alist
@@ -1731,9 +1731,9 @@ gnus-treatment-function-alist
     (gnus-treat-highlight-citation gnus-article-highlight-citation)
     (gnus-treat-body-boundary gnus-article-treat-body-boundary)))
 
-(defvar gnus-article-mime-handle-alist nil)
+(defvar-local gnus-article-mime-handle-alist nil)
 (defvar article-lapsed-timer nil)
-(defvar gnus-article-current-summary nil)
+(defvar-local gnus-article-current-summary nil)
 
 (defvar gnus-article-mode-syntax-table
   (let ((table (copy-syntax-table text-mode-syntax-table)))
@@ -4567,14 +4567,8 @@ gnus-article-mode
   (gnus-update-format-specifications nil 'article-mode)
   (setq-local page-delimiter gnus-page-delimiter)
   (setq-local gnus-page-broken nil)
-  (make-local-variable 'gnus-article-current-summary)
   (make-local-variable 'gnus-article-mime-handles)
   (make-local-variable 'gnus-article-decoded-p)
-  (make-local-variable 'gnus-article-mime-handle-alist)
-  (make-local-variable 'gnus-article-wash-types)
-  (make-local-variable 'gnus-article-image-alist)
-  (make-local-variable 'gnus-article-charset)
-  (make-local-variable 'gnus-article-ignored-charsets)
   (setq-local bookmark-make-record-function #'gnus-summary-bookmark-make-record)
   ;; Prevent Emacs from displaying non-break space with
   ;; `nobreak-space' face.
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 0fdb97d496c..361458ce8c2 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -1392,8 +1392,8 @@ gnus-article-emulate-mime
 (defvar gnus-summary-display-cache nil)
 (defvar gnus-article-mime-handles nil)
 (defvar gnus-article-decoded-p nil)
-(defvar gnus-article-charset nil)
-(defvar gnus-article-ignored-charsets nil)
+(defvar-local gnus-article-charset nil)
+(defvar-local gnus-article-ignored-charsets nil)
 (defvar gnus-scores-exclude-files nil)
 (defvar gnus-page-broken nil)
 
-- 
2.53.0


--=-=-=--




Acknowledgement sent to Augusto Stoffel <arstoffel@HIDDEN>:
New bug report received and forwarded. Copy sent to larsi@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to larsi@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#80864; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 30 Apr 2026 11:30:02 UTC

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