unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day
@ 2021-01-08  5:43 積丹尼 Dan Jacobson
  2021-01-10 13:40 ` Lars Ingebrigtsen
  2021-01-19  1:04 ` bug#45724: Happens since 27.1 積丹尼 Dan Jacobson
  0 siblings, 2 replies; 5+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-01-08  5:43 UTC (permalink / raw)
  To: 45724

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

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@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":


[-- Attachment #2: ugly --]
[-- Type: image/jpeg, Size: 50946 bytes --]

[-- Attachment #3: Type: text/plain, Size: 896 bytes --]


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...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day
  2021-01-08  5:43 bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day 積丹尼 Dan Jacobson
@ 2021-01-10 13:40 ` Lars Ingebrigtsen
  2021-01-11 14:06   ` 積丹尼 Dan Jacobson
  2021-01-19  1:04 ` bug#45724: Happens since 27.1 積丹尼 Dan Jacobson
  1 sibling, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-10 13:40 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 45724

積丹尼 Dan Jacobson <jidanni@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day
  2021-01-10 13:40 ` Lars Ingebrigtsen
@ 2021-01-11 14:06   ` 積丹尼 Dan Jacobson
  2021-01-22 18:09     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-01-11 14:06 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 45724

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@gnus.org> writes:
LI> What mail backend are you using?  Do you use the Gnus cache?  The Gnus
LI> Agent?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45724: Happens since 27.1
  2021-01-08  5:43 bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day 積丹尼 Dan Jacobson
  2021-01-10 13:40 ` Lars Ingebrigtsen
@ 2021-01-19  1:04 ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 5+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-01-19  1:04 UTC (permalink / raw)
  To: 45925, 45724

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.)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day
  2021-01-11 14:06   ` 積丹尼 Dan Jacobson
@ 2021-01-22 18:09     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-22 18:09 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 45724

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






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-22 18:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08  5:43 bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day 積丹尼 Dan Jacobson
2021-01-10 13:40 ` Lars Ingebrigtsen
2021-01-11 14:06   ` 積丹尼 Dan Jacobson
2021-01-22 18:09     ` Lars Ingebrigtsen
2021-01-19  1:04 ` bug#45724: Happens since 27.1 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).