Received: (at 80317) by debbugs.gnu.org; 8 Feb 2026 12:42:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 08 07:42:51 2026
Received: from localhost ([127.0.0.1]:48639 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vp47m-0007e1-Ri
for submit <at> debbugs.gnu.org; Sun, 08 Feb 2026 07:42:51 -0500
Received: from out203-205-221-190.mail.qq.com ([203.205.221.190]:48453)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <andpuke@HIDDEN>)
id 1vp47h-0007cZ-Ry
for 80317 <at> debbugs.gnu.org; Sun, 08 Feb 2026 07:42:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com;
s=s201512; t=1770554554;
bh=nYv5bM7dpKIZU29Iga4jH4sjj/2tGEvQuEQnIeBJK+g=;
h=Date:From:To:Cc:Subject:In-Reply-To:References;
b=YoZKCFh2alhwjwn3rlyCWkm1v4i/o4OBQkvxGJ+XF9JM5K5qKCggLi7OSuk6yudnV
2kUcPYBSg45ObkxegYOJfEzfhJuFzUleG57g+u8/mO+faymj8p7P/Uf90N22mbcOPK
dKfX9rh/xusxQESyk6JtgJjWbPFHKXSR1VVXK6hA=
Received: from Costume-Party.local ([39.189.38.251])
by newxmesmtplogicsvrszb51-0.qq.com (NewEsmtp) with SMTP
id AA0B1824; Sun, 08 Feb 2026 20:42:32 +0800
X-QQ-mid: xmsmtpt1770554552t4p6qsvz2
Message-ID: <tencent_B430887556ADB0FF4ADC76BB4D1CD17B2C09@HIDDEN>
X-QQ-XMAILINFO: NR2AmdDOCZJo1RQVIruKQF7PtTyiVx6nsizzuOuyRptTB7jQ8pf3RvszDSBl/B
MVVNT8yPdzAgWd6J3C2bTAJXaoLaNbmIW9Aemap74Rte743CT4Q5bvO4Wnd3BFsB3YmVk4YThpw8
FNb9t07cJjQftjQQ6SHn2GtBalrKp8Yn7Wo+/utTROPrPAieTXxUBi++AdBKxu5fy52m/5o+y3E/
zk1oogrmskz5SakBuKSlVJ0yjZlXkHDPz53iL6DQLqH0MULqICPsZqxYdHrx9GKmqmBZOGjcTwsj
jUA9kfED/urKXhqOV+76K+7JExtZ0SQuOGUU7V6AZIl1mmlcNQjkg/l3OjWt5xNSnxu5WlcrzcbN
NNIwzZy0rbcngJcOTo52QBlyJDoKVmJvJk0IrXyy/zN9Hlw7whDhSduli34g0UpPD5KsflS1y9w2
CbuabsizHeQDJCJCAZkjW/LYIDMvgYQ1xhNxlm8Zt2SFfve/4JDm9xWoahK6CV8wSmMAxPtuPzp4
gtO8Gs0DUupEj4/lr/fNP1ZifQT+HUB+18F66btZTXV8Qjgyzz+YZpeUopm+wxvYNhhdw+G1jNuq
W+aPaXC3x04+vtPPgVc9+BBqY2sVyd0jVqqQtRCbAZt5N7EBSYK62QV+z99/RhuuY3zAfiLN66DC
zrlBWIPPUQzne7U/BI9a8bTlrz1VOh/y9jZvdEDsGEmxrIZPbBpzpcu/LM8VRfz34uluXJD0/D+f
5aD3s82EifMjMiO23TXpsK0EwT8ikwZknp2Cse7UDcHeF61Q5rULPQK/I71GHkYPs59+3jpYf5pD
uqlWtoFJzMN4nerYddMhogqDeFQvJwm/nqDU5qBoejX1eeKimbeBA/3uoN9N2TZWpm25EYWBMxzP
RYl27WXPwmw/Mdxy5agKB19+l3BqzYlE7HMhXnhe1W6ObZQ/f6gkZgzHfW/MqzL71Rjrb10F1Jq4
yr6auHBze2EDu/K0sE28vOfHbw9PQTGmoR/z5OFF6eKEAV2jlktmKyhbPJAJugvKEEDaexInFVFJ
YEUVplCg==
X-QQ-XMRINFO: OWPUhxQsoeAVwkVaQIEGSKwwgKCxK/fD5g==
Received: by Costume-Party.local (Postfix, from userid 501)
id 8EE0D2078A52EE; Sun, 8 Feb 2026 20:42:32 +0800 (CST)
Date: Sun, 08 Feb 2026 20:42:32 +0800
X-OQ-MSGID: <m2fr7b1k5j.wl-andpuke@HIDDEN>
From: LdBeth <andpuke@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#80317: 31.0.50;
Title field in Newsticker List buffer wrongly parsed
In-Reply-To: <86h5rsvhij.fsf@HIDDEN>
References: <m2sebjc20l.fsf@HIDDEN> <86h5rsvhij.fsf@HIDDEN>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue)
FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0
Emacs/29.1 (x86_64-apple-darwin20.6.0) MULE/6.0 (HANACHIRUSATO)
X-Face: 5o<iKE%wx{K9OOP<itv{pJs46PQB/LjqX'OvT_.B6JTAH@8<\ph?`HlCc{?su[nM"<R&0Eyl`hl'91j<ElaSvG%8=u4T7AGkt,WGpm]0_E;
h9cR/[2QJ/$rmLNg"sr+4Xn"sM'npacj~CkH6e"+K,-qL&y?Jep4^daFYiMYlxQ]Wmi_>cEYu3i)&}Y6/;
:n[#d/w>"j&Y3YEE~j1Iev\OHr,BI6C]R>_G>0Em,%iyv}?XTA,_HTr+\-Wgp=8UXIW_`C\N_E}3Qt'jSAbcP?|Qrbw9ijYl-p8.b\?0$7tQd9E'H*FRVW@50_*BH(a;
2#568u"#%"(1no/vY8G^5b
X-Attribution: ldb
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=US-ASCII
X-Spam-Score: 3.6 (+++)
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: My bad, I didn't check against the treeview interface. The
patch looks good to me. Best, LdBeth. >>>>> In >>>>> Eli Zaretskii wrote:
Rahul> From: Rahul Martim Juliato Rahul> Date: Sun, 01 Feb 2026 23:28:26
-0300 Rahul> Rahul> I believe this is something we missed treating on b [...]
Content analysis details: (3.6 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
The query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[203.205.221.190 listed in sa-trusted.bondedsender.org]
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust [203.205.221.190 listed in list.dnswl.org]
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (andpuke[at]foxmail.com)
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[203.205.221.190 listed in bl.score.senderscore.com]
0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay
0.4 RDNS_DYNAMIC Delivered to internal network by host with
dynamic-looking rDNS
3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP
addr 1)
X-Debbugs-Envelope-To: 80317
Cc: Ulf Jasper <ulf.jasper@HIDDEN>, 80317 <at> debbugs.gnu.org,
Rahul Martim Juliato <rahuljuliato@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: 2.6 (++)
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: My bad, I didn't check against the treeview interface. The
patch looks good to me. Best, LdBeth. >>>>> In >>>>> Eli Zaretskii wrote:
Rahul> From: Rahul Martim Juliato Rahul> Date: Sun, 01 Feb 2026 23:28:26
-0300 Rahul> Rahul> I believe this is something we missed treating on b [...]
Content analysis details: (2.6 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[203.205.221.190 listed in bl.score.senderscore.com]
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
The query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[203.205.221.190 listed in sa-accredit.habeas.com]
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust
[203.205.221.190 listed in list.dnswl.org]
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (andpuke[at]foxmail.com)
0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay
0.4 RDNS_DYNAMIC Delivered to internal network by host with
dynamic-looking rDNS
3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP
addr 1)
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager
My bad, I didn't check against the treeview interface.
The patch looks good to me.
Best,
LdBeth.
>>>>> In <86h5rsvhij.fsf@HIDDEN>
>>>>> Eli Zaretskii <eliz@HIDDEN> wrote:
Rahul> From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Rahul> Date: Sun, 01 Feb 2026 23:28:26 -0300
Rahul>
Rahul> I believe this is something we missed treating on bug#79617.
Rahul>
Rahul> In `newsticker--parse-text-container`, Atom feed entries with no `type`
Rahul> attribute (which defaults to "text" per the Atom spec) have their
Rahul> content passed through `newsticker--unxml`, which calls
Rahul> `xml-escape-string` on an already-plain-text string. This causes
Rahul> characters like ' to be displayed as ' in the Newsticker List
Rahul> buffer.
Rahul>
Rahul> For example, an Atom feed title like:
Rahul>
Rahul> <title>Project Anchor: NASA's Secret Gravity Shutdown
Rahul> Program</title>
Rahul>
Rahul> is displayed as:
Rahul>
Rahul> Project Anchor: NASA's Secret Gravity Shutdown Program
Rahul>
Rahul> Per the Atom spec (https://validator.w3.org/feed/docs/atom.html#text),
Rahul> the `type` attribute can be "text" (default), "html", or "xhtml". Only
Rahul> "xhtml" contains inline XML nodes that need `newsticker--unxml` to
Rahul> serialize back to a string. Both "text" and "html" contain plain strings
Rahul> that should be returned as-is.
Rahul>
Rahul> To reproduce, add any Atom feed without explicit `type` attributes on
Rahul> <title> elements (e.g. a YouTube RSS feed like:
Rahul> https://www.youtube.com/feeds/videos.xml?channel_id=UCIFk2uvCNcEmZ77g0ESKLcQ
Rahul> ) and look for titles containing apostrophes.
Rahul>
Rahul> I'm attaching a suggested patch that seems to fix the issue for me.
Eli> Thanks. LdBeth and Ulf, any comments?
bug-gnu-emacs@HIDDEN:bug#80317; Package emacs.
Full text available.Received: (at 80317) by debbugs.gnu.org; 7 Feb 2026 12:57:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 07 07:57:09 2026 Received: from localhost ([127.0.0.1]:34321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vohs4-0004LL-Mh for submit <at> debbugs.gnu.org; Sat, 07 Feb 2026 07:57:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48196) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vohs1-0004Kf-KD for 80317 <at> debbugs.gnu.org; Sat, 07 Feb 2026 07:57:06 -0500 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 <eliz@HIDDEN>) id 1vohrv-0002RW-Va; Sat, 07 Feb 2026 07:56:59 -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=bazMVxq02loS9NZQb4PrMJenvVQBHcCgp6+1UYGRjaU=; b=HvAmRGKBgDGX /Q1TzXhb5AamYyg7SWFSKa5/Vb2dVSEbs3DVnfZdI2iIS59poWlnMW4kNIXLPVmT9paPSPctZDz0l 8eOdnmF/Zlt2A50TA1NQJFNyiMFff/m9ZT8rbt69dPyxZ+yrDwoWu7tRAnyoze6f38k4Eo5RaKOYd M+tDAKZO+nFSOuRnudq7q3CLSiNq+ZTKXq/I4YVnSjXd+73zVkxcHoTUgdZigBXgbLEjICIrG0Tyo XSZSjQwEghYQD7K5iE5axKPk8eFmABDUJ31CpIh+oaS/ftSl/vCuMegjm5soD4g8xnD8/sHey+Tjc 1dMuvDDAxzSsptbVgKNquw==; Date: Sat, 07 Feb 2026 14:56:52 +0200 Message-Id: <86h5rsvhij.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Rahul Martim Juliato <rahuljuliato@HIDDEN>, Ulf Jasper <ulf.jasper@HIDDEN>, LdBeth <andpuke@HIDDEN> In-Reply-To: <m2sebjc20l.fsf@HIDDEN> (message from Rahul Martim Juliato on Sun, 01 Feb 2026 23:28:26 -0300) Subject: Re: bug#80317: 31.0.50; Title field in Newsticker List buffer wrongly parsed References: <m2sebjc20l.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 80317 Cc: 80317 <at> debbugs.gnu.org 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: -3.3 (---) > From: Rahul Martim Juliato <rahuljuliato@HIDDEN> > Date: Sun, 01 Feb 2026 23:28:26 -0300 > > I believe this is something we missed treating on bug#79617. > > In `newsticker--parse-text-container`, Atom feed entries with no `type` > attribute (which defaults to "text" per the Atom spec) have their > content passed through `newsticker--unxml`, which calls > `xml-escape-string` on an already-plain-text string. This causes > characters like ' to be displayed as ' in the Newsticker List > buffer. > > For example, an Atom feed title like: > > <title>Project Anchor: NASA's Secret Gravity Shutdown > Program</title> > > is displayed as: > > Project Anchor: NASA's Secret Gravity Shutdown Program > > Per the Atom spec (https://validator.w3.org/feed/docs/atom.html#text), > the `type` attribute can be "text" (default), "html", or "xhtml". Only > "xhtml" contains inline XML nodes that need `newsticker--unxml` to > serialize back to a string. Both "text" and "html" contain plain strings > that should be returned as-is. > > To reproduce, add any Atom feed without explicit `type` attributes on > <title> elements (e.g. a YouTube RSS feed like: > https://www.youtube.com/feeds/videos.xml?channel_id=UCIFk2uvCNcEmZ77g0ESKLcQ > ) and look for titles containing apostrophes. > > I'm attaching a suggested patch that seems to fix the issue for me. Thanks. LdBeth and Ulf, any comments?
bug-gnu-emacs@HIDDEN:bug#80317; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 2 Feb 2026 02:28:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 01 21:28:55 2026
Received: from localhost ([127.0.0.1]:48596 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vmjgM-0000sC-Op
for submit <at> debbugs.gnu.org; Sun, 01 Feb 2026 21:28:55 -0500
Received: from lists.gnu.org ([2001:470:142::17]:52378)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <rahuljuliato@HIDDEN>)
id 1vmjgK-0000rp-KI
for submit <at> debbugs.gnu.org; Sun, 01 Feb 2026 21:28:53 -0500
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 <rahuljuliato@HIDDEN>)
id 1vmjgB-0006pn-Qa
for bug-gnu-emacs@HIDDEN; Sun, 01 Feb 2026 21:28:45 -0500
Received: from mail-dl1-x122e.google.com ([2607:f8b0:4864:20::122e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <rahuljuliato@HIDDEN>)
id 1vmjg8-000453-5m
for bug-gnu-emacs@HIDDEN; Sun, 01 Feb 2026 21:28:43 -0500
Received: by mail-dl1-x122e.google.com with SMTP id
a92af1059eb24-12331482b8fso751278c88.1
for <bug-gnu-emacs@HIDDEN>; Sun, 01 Feb 2026 18:28:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1769999317; x=1770604117; darn=gnu.org;
h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=n74s/osRjr0IE3xmq5V54rJO92ibIDGjAyNSGebx/M0=;
b=mOq32jaYh2sW4DI0mDzq6LoQzSz0XkI8SxLjWkIJaLXPFrbwK0B4OLbJ7W1AdL/39g
vAZ/gRCdPlMPLzJABzNedFosInHlOX9zT1F0pwoIiWMjdQGQRXjRZiTrptj4TzIQp3b0
wSjs7KJ3yuYQkDBGsZntBcse0Z3rPCArYFS9uoOIr6G6YFg1/x26kUTxMuG9/CGqEBev
Ak81o3CWIB8H082YTV6x8GpXsVpg5toeC/cph48jvD+2ebAvia0B1VXixEIZiJzm2ZxO
oPtyLpumk72D0yY9qTz3z0sXY37NkrRm7lqUYUXCFYwFpIGEpaU8QDma0fc75KOTEXEL
e/Ng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1769999317; x=1770604117;
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=n74s/osRjr0IE3xmq5V54rJO92ibIDGjAyNSGebx/M0=;
b=T3PhI+3GnVuZYw08iyPJ1KFQM7AdjYwwEnfxADsleCav4WHzzo8TMvi9PpPM4zGQbV
MazBlrAwtftLEkrGUGVwP9kobjWi161JsOK8LQdQ1jyPdd2eFfD5kzOPRn0h9Ffbn1ZW
/gq2Kk1H+Vx5BEM3ajdTceYJehNDucwq79YLeoxn8Sp4wPHpR2rHeGmJvDh+hZoV0uCS
/bLtkkt3FD297tIOJL75GcHnQ8DPPDCRlZvMsNR1glIMl+ezmQ05nUMc84uIU2HlWxbJ
0kFRYsQ20VbqHmhRjdXBpURASTMl6UMidvCn9KfQrUIinLeBqB97J+fRiWECHeyOpzlv
2TBA==
X-Gm-Message-State: AOJu0YzOJv61F1/E84KJP1t/PPuNjfUYl+Q8X1xH/AYIP62/Ui5W1sgl
15sPTNhPtkOycVbZReQ4AQPlRuy4VTrk8bhWX0hNwREFfH7MHAbVQwq8mCheRMWw8/8=
X-Gm-Gg: AZuq6aLv9BE4/7XN837Kxv5nSFAxmggK70nL2tel65KVd+GTgJuQGZ6ScyWbrJKt0Nm
BlVHTUn5KchF+xsa8EytIPJ2YKpUWmqpOKTIaj0c3ol0rWhWdmYQtWe3MkfmYQlYdce2Zn9KWrn
gXAXI7SeZRLnGvSV5XHjQpsmI4Y9kMNTgHu1wMIoPc4f0k5iAgpi/1a5+ZG8+zwYtRZgXEl79BT
Diaiok9Y34fUOR5tFx9EqAZa1SOYvGgBd425OrEK7q0/i3KVIM0M1ysozugOdPimJ45NJ0B+Z5G
8GGUh9p5pQcFKAiHC68END/Jh5rdDdZAQxjECXdExW2ZdYmXAS7SHqp8TT8UfBYSQvYJhP+l+sx
6stfArimA6+Gzq6HpQA7sGCGV3PYH1f5M4B0NwlK/bkGfRb79oIDTSPDiqxon/BrUyRNcgFZ+bZ
3VUf1zUsL6LfV/glgmIYXQkP0Hu1BWN6BIXbtvcyoZu9HR1w2V8fW71a90jkE8aiNICx1ASFBBa
l0nmWk=
X-Received: by 2002:a05:7022:660b:b0:124:9acd:3ef9 with SMTP id
a92af1059eb24-125c0f79fb2mr5435474c88.8.1769999316791;
Sun, 01 Feb 2026 18:28:36 -0800 (PST)
Received: from MacBook-Pro.local ([2804:7f0:9089:c6c2:ac01:f13e:406:500e])
by smtp.gmail.com with ESMTPSA id
5a478bee46e88-2b7eddf72e3sm5328083eec.28.2026.02.01.18.28.35
for <bug-gnu-emacs@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 01 Feb 2026 18:28:35 -0800 (PST)
From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
X-Google-Original-From: Rahul Martim Juliato <rahul.juliato@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; Title field in Newsticker List buffer wrongly parsed
X-Debbugs-Cc:
Date: Sun, 01 Feb 2026 23:28:26 -0300
Message-ID: <m2sebjc20l.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2607:f8b0:4864:20::122e;
envelope-from=rahuljuliato@HIDDEN; helo=mail-dl1-x122e.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: I believe this is something we missed treating on bug#79617.
In `newsticker--parse-text-container`,
Atom feed entries with no `type` attribute
(which defaults to "text" per the Atom spec) have their content passed through
`newsticker--unxml`, which calls `xml-e [...]
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]
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 SPF_HELO_PASS SPF: HELO matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (rahuljuliato[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
I believe this is something we missed treating on bug#79617.
In `newsticker--parse-text-container`, Atom feed entries with no `type`
attribute (which defaults to "text" per the Atom spec) have their
content passed through `newsticker--unxml`, which calls
`xml-escape-string` on an already-plain-text string. This causes
characters like ' to be displayed as ' in the Newsticker List
buffer.
For example, an Atom feed title like:
<title>Project Anchor: NASA's Secret Gravity Shutdown
Program</title>
is displayed as:
Project Anchor: NASA's Secret Gravity Shutdown Program
Per the Atom spec (https://validator.w3.org/feed/docs/atom.html#text),
the `type` attribute can be "text" (default), "html", or "xhtml". Only
"xhtml" contains inline XML nodes that need `newsticker--unxml` to
serialize back to a string. Both "text" and "html" contain plain strings
that should be returned as-is.
To reproduce, add any Atom feed without explicit `type` attributes on
<title> elements (e.g. a YouTube RSS feed like:
https://www.youtube.com/feeds/videos.xml?channel_id=UCIFk2uvCNcEmZ77g0ESKLcQ
) and look for titles containing apostrophes.
I'm attaching a suggested patch that seems to fix the issue for me.
In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin25.2.0, NS
appkit-2685.30 Version 26.2 (Build 25C56)) of 2026-01-20 built on
MacBook-Pro.local
Repository revision: 9ba2f13176a756030e4d8476436662d630447f65
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2685
System Description: macOS 26.2
Configured features:
ACL DBUS GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB
Important settings:
value of $LANG: pt_BR.UTF-8
locale-coding-system: utf-8-unix
Major mode: Elisp/l
Minor modes in effect:
bug-reference-prog-mode: t
global-auto-revert-mode: t
auto-revert-mode: t
display-line-numbers-mode: t
completion-preview-mode: t
flymake-mode: t
icomplete-vertical-mode: t
icomplete-mode: t
electric-pair-mode: t
which-key-mode: t
minibuffer-electric-default-mode: t
minibuffer-depth-indicate-mode: t
display-time-mode: t
xterm-mouse-mode: t
winner-mode: t
save-place-mode: t
savehist-mode: t
repeat-mode: t
recentf-mode: t
tty-tip-mode: t
pixel-scroll-precision-mode: t
global-goto-address-mode: t
goto-address-mode: t
delete-selection-mode: t
override-global-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
vc-auto-revert-mode: t
mouse-wheel-mode: t
tab-bar-history-mode: t
tab-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
minibuffer-nonselected-mode: t
minibuffer-regexp-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow mail-extr emacsbug gnus-async novice tramp-archive tramp-gvfs
pcmpl-git pcmpl-unix help-fns radix-tree sort gnus-ml gnus-topic nndraft
nnmh nnmaildir nnnil gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls
dig nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-dbus
dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int
gnus-range message sendmail yank-media rfc822 mml mml-sec epa epg
rfc6068 epg-config mm-decode mm-bodies mm-encode mailabbrev gmm-utils
mailheader gnus-win smerge-mode ibuf-ext ibuffer ibuffer-loaddefs
bug-reference emacs-news-mode textsec uni-scripts mail-parse rfc2231
rfc2047 rfc2045 ietf-drums idna-mapping uni-confusable textsec-check
dired-aux dired-x dired dired-loaddefs whitespace misearch multi-isearch
rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri
rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap nxml-util nxml-enc xmltok shr pixel-fill
kinsoku url-file puny svg newst-treeview newst-reader newst-backend xml
em-unix em-term em-script em-prompt em-pred em-ls em-hist em-glob
em-extpipe em-cmpl em-dirs em-basic em-banner em-alias esh-mode esh-var
vc-git eshell esh-cmd generator esh-ext esh-proc esh-opt esh-io esh-arg
esh-module esh-module-loaddefs esh-util help-at-pt cursor-sensor
autorevert toml-ts-mode yaml-ts-mode html-ts-mode sgml-mode facemenu dom
markdown-ts-mode noutline outline display-line-numbers
completion-preview eglot external-completion jsonrpc xref diff diff-mode
track-changes ert ewoc debug backtrace filenotify imenu tramp-sh
checkdoc lisp-mnt flymake warnings private vterm bookmark tramp-cache
time-stamp tramp trampver tramp-integration tramp-message tramp-compat
tramp-loaddefs face-remap term shell pcomplete ehelp find-func
vterm-module term/xterm xterm .gnus icomplete elec-pair which-key init
project transient byte-opt format-spec ibuf-macs finder-inf rx
modus-themes derived pcase color speedbar ezimage dframe minibuf-eldef
mb-depth gnus nnheader gnus-util mail-utils range mm-util mail-prsvr
log-edit pcvs-util add-log vc vc-dispatcher rcirc parse-time iso8601
time-date disp-table files-x time xt-mouse winner saveplace savehist
repeat recentf tree-widget tty-tip grep compile text-property-search
comint ansi-osc ansi-color treesit pixel-scroll cua-base ring goto-addr
thingatpt delsel edmacro kmacro cl-extra help-mode use-package-bind-key
bind-key easy-mmode use-package-ensure use-package-core bytecomp
byte-compile vterm-autoloads package browse-url xdg url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs gv password-cache json
subr-x map url-vars package-activate early-init cus-edit pp cus-start
cus-load icons wid-edit cl-loaddefs cl-lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process
tty-child-frames emacs)
Memory information:
((conses 16 1579739 1282810) (symbols 48 36174 67)
(strings 32 259200 246844) (string-bytes 1 22540149)
(vectors 16 107413) (vector-slots 8 2042872 777874)
(floats 8 912 11849) (intervals 56 107815 17251) (buffers 1064 71))
--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=newst-backend-title-html-fix.patch
lisp/net/newst-backend.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/lisp/net/newst-backend.el b/lisp/net/newst-backend.el
index babd55fb29d..58bbb1b7fcb 100644
--- a/lisp/net/newst-backend.el
+++ b/lisp/net/newst-backend.el
@@ -1109,12 +1109,13 @@ newsticker--parse-atom-0.3
(defun newsticker--parse-text-container (node)
"Handle content according to ``type'' attribute."
- (let ((content (car (xml-node-children node))))
- (if (string= "html" (xml-get-attribute node 'type))
- ;; element contains entity escaped html
- content
- ;; plain text or xhtml
- (newsticker--unxml content))))
+ (let ((content (car (xml-node-children node)))
+ (type (xml-get-attribute node 'type)))
+ (if (string= "xhtml" type)
+ ;; xhtml: reverse-parse xml nodes back to string
+ (newsticker--unxml content)
+ ;; plain text (default) or entity-escaped html: return as-is
+ content)))
(defun newsticker--unxml (node)
"Reverse parsing of an xml string.
--=-=-=--
Rahul Martim Juliato <rahuljuliato@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#80317; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.