GNU bug report logs - #45724
27.1; gnus vs. raw big5 headers vs. the second day

Previous Next

Packages: gnus, emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Fri, 8 Jan 2021 06:04:01 UTC

Severity: minor

Tags: fixed

Found in version 27.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 45724 in the body.
You can then email your comments to 45724 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, bugs <at> gnus.org:
bug#45724; Package emacs,gnus. (Fri, 08 Jan 2021 06:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Fri, 08 Jan 2021 06:04:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; gnus vs. raw big5 headers vs. the second day
Date: Fri, 08 Jan 2021 13:43:20 +0800
[Message part 1 (text/plain, inline)]
Yes the mails we receive have properly mime encoded headers.
But let's say some agency sends an email with ancient illegal raw big5
headers:
$ iconv -f big5 headers.txt
Subject: 內政部部長電子信箱受理通知編號:20210108003         
From: "內政部部長電子信箱" <returnecss <at> minister.moi.gov.tw>

Well, on the first day, things work fine in gnus.

But on the second day upon reopening gnus, the headers have "degraded":

[20210108T131442.jpg (image/jpeg, inline)]
[Message part 3 (text/plain, inline)]
The *Summary* buffer has now a garbled line. Howver the *Article* buffer
is still doing fine.

Funny thing is, if we pipe the second article through procmail, and
enter gnus again, the newly created identical third article has an OK
*Summary* line.

Important settings:
  value of $LC_COLLATE: C
  value of $LC_CTYPE: zh_TW.UTF-8
  value of $LC_MESSAGES: C
  value of $LANG: zh_TW.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

(One also notes raw big5 enters the .overview file, but not always.)

My dot files are at https://www.jidanni.org/comp/configuration/

Anyway, sure, gnus can deal with such wacky headers fine on the first
day.

But on the second day, after totally quitting emacs and starting up
again, such headers are no longer dealt with properly, at least in the
*Summary* buffer.

Sure, "Tell the agency to stop sending illegal headers." Well, yes...

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#45724; Package emacs,gnus. (Sun, 10 Jan 2021 13:41:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 45724 <at> debbugs.gnu.org
Subject: Re: bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day
Date: Sun, 10 Jan 2021 14:40:44 +0100
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> But on the second day upon reopening gnus, the headers have "degraded":

What mail backend are you using?  Do you use the Gnus cache?  The Gnus
Agent?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#45724; Package emacs,gnus. (Mon, 11 Jan 2021 14:08:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 45724 <at> debbugs.gnu.org
Subject: Re: bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day
Date: Mon, 11 Jan 2021 22:06:48 +0800
In that image you can see "nnml:mail.misc".
In https://www.jidanni.org/comp/configuration/.gnus.el I don't have gnus
cache or gnus agent turned on.

>>>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
LI> What mail backend are you using?  Do you use the Gnus cache?  The Gnus
LI> Agent?




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#45724; Package emacs,gnus. (Tue, 19 Jan 2021 01:05:01 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 45925 <at> debbugs.gnu.org, 45724 <at> debbugs.gnu.org
Subject: Happens since 27.1
Date: Tue, 19 Jan 2021 09:04:16 +0800
Note with emacs-version "27.1"  these certain old messages that have been
sitting in my *Summary* buffer for years suddenly have got their Subject
garbled. (Fine though in *Article* buffer.)




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#45724; Package emacs,gnus. (Fri, 22 Jan 2021 18:10:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 45724 <at> debbugs.gnu.org
Subject: Re: bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day
Date: Fri, 22 Jan 2021 19:09:00 +0100
And this one was also fixed by the bug#45925 fix.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 22 Jan 2021 18:10:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 45724 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 22 Jan 2021 18:10:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 Feb 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 64 days ago.

Previous Next


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