From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#35383: 27.0.50; Complete process of decoding Gnus group names Date: Wed, 24 Apr 2019 17:06:19 +0900 Organization: Emacsen advocacy group Message-ID: References: <878sw1995f.fsf@ericabrahamsen.net> <87sgu87ayo.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="210295"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-cygwin) Cc: 35383@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 24 10:13:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJD1h-000sVq-57 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Apr 2019 10:13:09 +0200 Original-Received: from localhost ([127.0.0.1]:37694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJD1g-0003O2-3k for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Apr 2019 04:13:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJD1V-0003MJ-Ao for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2019 04:12:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJCvo-0001ia-CK for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2019 04:07:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41416) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJCvm-0001hy-Mt for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2019 04:07:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hJCvm-00076W-Dn for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2019 04:07:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <878sw1995f.fsf@ericabrahamsen.net> Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Apr 2019 08:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35383 X-GNU-PR-Package: emacs Original-Received: via spool by 35383-submit@debbugs.gnu.org id=B35383.155609319027267 (code B ref 35383); Wed, 24 Apr 2019 08:07:02 +0000 Original-Received: (at 35383) by debbugs.gnu.org; 24 Apr 2019 08:06:30 +0000 Original-Received: from localhost ([127.0.0.1]:54959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJCvG-00075j-3Q for submit@debbugs.gnu.org; Wed, 24 Apr 2019 04:06:30 -0400 Original-Received: from cichlid.maple.relay.mailchannels.net ([23.83.214.36]:50687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJCvD-00075Z-Jz for 35383@debbugs.gnu.org; Wed, 24 Apr 2019 04:06:28 -0400 X-Sender-Id: tih5qno0ow|x-authuser|yamaoka@hampton.hostforweb.net Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0E53B5C3BFD; Wed, 24 Apr 2019 08:06:26 +0000 (UTC) Original-Received: from hampton.hostforweb.net (unknown [100.96.11.48]) (Authenticated sender: tih5qno0ow) by relay.mailchannels.net (Postfix) with ESMTPA id 620465C5231; Wed, 24 Apr 2019 08:06:25 +0000 (UTC) X-Sender-Id: tih5qno0ow|x-authuser|yamaoka@hampton.hostforweb.net Original-Received: from hampton.hostforweb.net (hampton.hostforweb.net [172.245.115.217]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Wed, 24 Apr 2019 08:06:26 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: tih5qno0ow|x-authuser|yamaoka@hampton.hostforweb.net X-MailChannels-Auth-Id: tih5qno0ow X-Power-Vacuous: 0db731ea3e2beb94_1556093185692_1888278995 X-MC-Loop-Signature: 1556093185692:2108943223 X-MC-Ingress-Time: 1556093185692 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1hJCv7-009xTu-R7; Wed, 24 Apr 2019 03:06:23 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:GGaHRVMdG2CXbM5sMsvKd6BRRRA= X-OutGoing-Spam-Status: No, score=-0.2 X-AuthUser: yamaoka@hampton.hostforweb.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158172 Archived-At: --=-=-= Hi, I found that certain kinds[1] of Japanese mails (like the attached text part) saved in a nnml group get corrupted when viewing. The root cause is this: (defvar nnmail-file-coding-system 'undecided "Coding system used in nnmail.") The default value used to be `raw-text'. Because `nnml-file-coding-system' inherits it, when viewing an article from a file `nnmail-find-file' reads and decodes the contents, and then `gnus-display-mime'[1] decodes it again. IIUC `gnus-display-mime' expects a raw article, so any back end should not decode the first fetched data, I think. This helps: (setq nnml-file-coding-system 'raw-text) Note that the backlog or the `gnus-original-article-buffer' keeps an corrupted article, so (setq gnus-keep-backlog nil) and each time killing the original buffer will make it easy to debug. [1] a single text/plain part with format=flowed spec, or a multipart message containing a text/plain part, etc. [2] The default value of `gnus-display-mime-function'. Regards, --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: base64 5a+/6ZmQ54Sh5a+/6ZmQ54Sh5LqU5Yqr44Gu5pOm44KK5YiH44KM5rW356CC5Yip5rC06a2a44Gu 5rC06KGM5pyr6Zuy5p2l5pyr6aKo5p2l5pyr6aOf44GG5a+d44KLDQrlh6bjgavkvY/jgoDlh6bj goTjgbbjgonlsI/ot6/jga7ol6rmn5HlrZDjg5HjgqTjg53jg5HjgqTjg53jg5HjgqTjg53jga7j grfjg6Xjg7zjg6rjg7Pjgqzjg7MNCuOCt+ODpeODvOODquODs+OCrOODs+OBruOCsOODvOODquOD s+ODgOOCpOOCsOODvOODquODs+ODgOOCpOOBruODneODs+ODneOCs+ODlOODvOOBruODneODs+OD neOCsw0K44OK44O844Gu6ZW35LmF5ZG944Gu6ZW35YqpDQo= --=-=-=--