GNU bug report logs - #71889
[PATCH] nnatom: Ensure some parsed values are one line

Previous Next

Package: emacs;

Reported by: Daniel Semyonov <daniel <at> dsemy.com>

Date: Mon, 1 Jul 2024 23:45:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71889 in the body.
You can then email your comments to 71889 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71889; Package emacs. (Mon, 01 Jul 2024 23:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Semyonov <daniel <at> dsemy.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 01 Jul 2024 23:45:02 GMT) Full text and rfc822 format available.

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

From: Daniel Semyonov <daniel <at> dsemy.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] nnatom: Ensure some parsed values are one line
Date: Tue, 02 Jul 2024 02:44:04 +0300
[Message part 1 (text/plain, inline)]
Tags: patch

Hi,

Attached is a patch which ensures some values parsed by nnatom from Atom
feeds only contain a single line of whitespace-trimmed text.

Daniel



In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.41, cairo version 1.18.0) of 2024-06-12 built on coldharbour
Repository revision: 3905db6e3aa947b847c072259ad6d08c8a15e10e
Repository branch: master
System Description: Void Linux

Configured using:
 'configure -C --prefix=/opt/Emacs --without-x --with-pgtk
 --with-small-ja-dic --with-native-compilation 'CFLAGS=-march=native
 -O2''

[0001-nnatom-Ensure-some-parsed-values-are-one-line.patch (text/patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71889; Package emacs. (Tue, 02 Jul 2024 21:25:01 GMT) Full text and rfc822 format available.

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

From: Daniel Semyonov <daniel <at> dsemy.com>
To: 71889 <at> debbugs.gnu.org
Subject: Re: bug#71889: [PATCH] nnatom: Ensure some parsed values are one line
Date: Wed, 03 Jul 2024 00:23:43 +0300
>>>>> Daniel Semyonov writes:

    > Attached is a patch which ensures some values parsed by nnatom from Atom
    > feeds only contain a single line of whitespace-trimmed text.

Just to clarify, this patch is intended to ensure values parsed from
Atom feeds can be used by Gnus without issues.
Without this patch feeds which contain multiple lines of text in some
nodes can cause strange behavior in Gnus (though I haven't encountered
any actual feeds like this, I had to construct one).

This issue exists in both emacs-30 and the master branch.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 06 Jul 2024 10:15:01 GMT) Full text and rfc822 format available.

Notification sent to Daniel Semyonov <daniel <at> dsemy.com>:
bug acknowledged by developer. (Sat, 06 Jul 2024 10:15:01 GMT) Full text and rfc822 format available.

Message #13 received at 71889-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Semyonov <daniel <at> dsemy.com>
Cc: 71889-done <at> debbugs.gnu.org
Subject: Re: bug#71889: [PATCH] nnatom: Ensure some parsed values are one line
Date: Sat, 06 Jul 2024 13:14:18 +0300
> Date: Wed, 03 Jul 2024 00:23:43 +0300
> From:  Daniel Semyonov via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> >>>>> Daniel Semyonov writes:
> 
>     > Attached is a patch which ensures some values parsed by nnatom from Atom
>     > feeds only contain a single line of whitespace-trimmed text.
> 
> Just to clarify, this patch is intended to ensure values parsed from
> Atom feeds can be used by Gnus without issues.
> Without this patch feeds which contain multiple lines of text in some
> nodes can cause strange behavior in Gnus (though I haven't encountered
> any actual feeds like this, I had to construct one).
> 
> This issue exists in both emacs-30 and the master branch.

Thanks, installed on the emacs-30 branch, and closing the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 03 Aug 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 93 days ago.

Previous Next


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