From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35383: 27.0.50; Complete process of decoding Gnus group names Date: Tue, 30 Apr 2019 20:11:15 +0300 Message-ID: <83wojbquz0.fsf@gnu.org> References: <878sw1995f.fsf@ericabrahamsen.net> <87sgu87ayo.fsf@ericabrahamsen.net> <87k1fj49o2.fsf@ericabrahamsen.net> <87bm0uhxqy.fsf@ericabrahamsen.net> <87d0l5ihgr.fsf@ericabrahamsen.net> <878svtihdw.fsf@ericabrahamsen.net> <835zqwu8cq.fsf@gnu.org> <87sgu0h92o.fsf@ericabrahamsen.net> <83wojcrvu3.fsf@gnu.org> <87muk7fmrx.fsf@ericabrahamsen.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="102056"; mail-complaints-to="usenet@blaine.gmane.org" Cc: yamaoka@jpl.org, 35383@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 30 19:31:37 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 1hLWbQ-000QLm-J2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 19:31:36 +0200 Original-Received: from localhost ([127.0.0.1]:50780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLWbP-0000GD-HU for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 13:31:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLWIZ-0001gQ-I3 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 13:12:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLWIU-0003Lp-My for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 13:12:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLWIU-0003Lj-JZ for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 13:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLWIU-0006fB-AF for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 13:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2019 17:12: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.155664429125561 (code B ref 35383); Tue, 30 Apr 2019 17:12:02 +0000 Original-Received: (at 35383) by debbugs.gnu.org; 30 Apr 2019 17:11:31 +0000 Original-Received: from localhost ([127.0.0.1]:42311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLWHy-0006eD-P9 for submit@debbugs.gnu.org; Tue, 30 Apr 2019 13:11:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLWHx-0006dx-1I for 35383@debbugs.gnu.org; Tue, 30 Apr 2019 13:11:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLWHr-00038E-GA; Tue, 30 Apr 2019 13:11:23 -0400 Original-Received: from [176.228.60.248] (port=2988 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hLWHq-0005Oz-2g; Tue, 30 Apr 2019 13:11:22 -0400 In-reply-to: <87muk7fmrx.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Tue, 30 Apr 2019 10:03:46 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:158522 Archived-At: > From: Eric Abrahamsen > Cc: yamaoka@jpl.org, 35383@debbugs.gnu.org > Date: Tue, 30 Apr 2019 10:03:46 -0700 > > I think that's sufficient. I'm really only looking at two variables: > `gnus-agent-file-coding-system', which I'm 100% sure is only used > internally by Gnus/Emacs, and `nnmail-active-file-coding-system', which > I'm 99% sure is only used internally. It sounds like utf-8-emacs is TRT in both cases. > > What other checks and guarantees did you consider? (Sorry, I didn't > > read the entire thread, so maybe just point me to the message where > > you described this.) > > That's where the encoding cookie idea came from -- if there's no cookie, > read as 'raw-text, otherwise honor the cookie. But as Katsumi Yamaoka > pointed out, the way Gnus reads the file will ignore any encoding > cookie, so that's no good. You could give up the cookie. It is only important if the file is visited by "C-x C-f" etc., which will be rare. So having a cookie is a nicety, not a requirement.