From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#35383: 27.0.50; Complete process of decoding Gnus group names Date: Thu, 25 Apr 2019 09:10:13 -0700 Message-ID: <87bm0uhxqy.fsf@ericabrahamsen.net> References: <878sw1995f.fsf@ericabrahamsen.net> <87sgu87ayo.fsf@ericabrahamsen.net> <87k1fj49o2.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="106510"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35383@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 25 18:11:14 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 1hJgxt-000Rbg-8n for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Apr 2019 18:11:13 +0200 Original-Received: from localhost ([127.0.0.1]:60100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJgxs-0005TQ-5e for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Apr 2019 12:11:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJgxj-0005SX-HE for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2019 12:11:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJgxi-0001tH-IK for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2019 12:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJgxi-0001se-Er for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2019 12:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hJgxi-0007Id-2S for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2019 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Apr 2019 16:11: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.155620862328011 (code B ref 35383); Thu, 25 Apr 2019 16:11:02 +0000 Original-Received: (at 35383) by debbugs.gnu.org; 25 Apr 2019 16:10:23 +0000 Original-Received: from localhost ([127.0.0.1]:59169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJgx5-0007Hj-5g for submit@debbugs.gnu.org; Thu, 25 Apr 2019 12:10:23 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:59902 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJgx3-0007HW-O5 for 35383@debbugs.gnu.org; Thu, 25 Apr 2019 12:10:22 -0400 Original-Received: from localhost (75-172-115-9.tukw.qwest.net [75.172.115.9]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 7EB2EFA05C; Thu, 25 Apr 2019 16:10:15 +0000 (UTC) In-Reply-To: (Katsumi Yamaoka's message of "Thu, 25 Apr 2019 08:48:19 +0900") 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:158256 Archived-At: On 04/25/19 08:48 AM, Katsumi Yamaoka wrote: > On Wed, 24 Apr 2019 10:04:13 -0700, Eric Abrahamsen wrote: >> On 04/24/19 17:06 PM, Katsumi Yamaoka wrote: >>> The root cause is this: >>> (defvar nnmail-file-coding-system 'undecided >>> "Coding system used in nnmail.") >>> The default value used to be `raw-text'. > >> Oh, that was a misunderstanding on my part, then -- I certainly didn't >> mean to change anything about article encoding or display, or anything >> related to MIME. I'll switch that default back again. > > Thanks. > > I found one more issue, it is harmless though. An active file > locally saved now has a coding cookie, so `(not (eobp))' at the > line 2150 in gnus-start.el is not enough to check if there is no > more active. Because of this, when starting Gnus I got > > Warning: Warning - invalid active: > > for the nnnil method, that is my `gnus-select-method'. Here are > the contents of ~/News/agent/nnnil/agent.lib/active: > > --8<---------------cut here---------------start------------->8--- > ;; -*- encoding: utf-8-emacs; -*- > > --8<---------------cut here---------------end--------------->8--- > > Why the warning is issued is to run (read (current-buffer)) at > the beginning of the contents. This is actually an error but > `condition-case' conceals it. A patch: > > --- gnus-start.el~ 2019-04-23 05:13:52.741025900 +0000 > +++ gnus-start.el 2019-04-24 23:45:37.989239900 +0000 > @@ -2149,2 +2149,3 @@ > (goto-char (point-min)) > + (re-search-forward "\\(?:^[\n ]*;.*[\n ]*\\)+" nil t) > (while (not (eobp)) Hmm, this is all done in a temp buffer, with `insert-buffer-substring' -- I wonder if the encoding cookie will even be honored in this case? I need to do a bit more testing here. Thanks for flagging this up. Eric