From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#53352: 29.0.50; IMAP INBOX not refreshing using `gnus-group-get-new-news' Date: Mon, 07 Feb 2022 13:17:05 -0800 Message-ID: <874k5as7fy.fsf@ericabrahamsen.net> References: <87fspkiqxt.fsf@md5i.com> <87o845tm9b.fsf@gnus.org> <874k5vg2ld.fsf@md5i.com> <87o842boci.fsf@gnus.org> <87iluae6ij.fsf@md5i.com> <87ee4x5w5g.fsf@gnus.org> <87o841cdq1.fsf@md5i.com> <8735ld854r.fsf@igel.home> <878rv56mm6.fsf@ericabrahamsen.net> <87wnip2dep.fsf@gnus.org> <87y235ym7a.fsf@ericabrahamsen.net> <87zgn3uf2i.fsf@igel.home> <87fsousjs5.fsf@ericabrahamsen.net> <87r18evaif.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18978"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Michael Welsh Duggan , Lars Ingebrigtsen , 53352@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 07 22:18:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHBOk-0004lL-RT for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 22:18:11 +0100 Original-Received: from localhost ([::1]:45520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHBOj-00019W-H4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 16:18:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHBOc-000179-06 for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 16:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHBOb-0001ce-NA for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 16:18:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHBOb-0001i9-Jj for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 16:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Feb 2022 21:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53352 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 53352-submit@debbugs.gnu.org id=B53352.16442686346523 (code B ref 53352); Mon, 07 Feb 2022 21:18:01 +0000 Original-Received: (at 53352) by debbugs.gnu.org; 7 Feb 2022 21:17:14 +0000 Original-Received: from localhost ([127.0.0.1]:43944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHBNq-0001h8-K2 for submit@debbugs.gnu.org; Mon, 07 Feb 2022 16:17:14 -0500 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:47900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHBNo-0001gv-MF for 53352@debbugs.gnu.org; Mon, 07 Feb 2022 16:17:13 -0500 Original-Received: from localhost (c-71-197-232-41.hsd1.wa.comcast.net [71.197.232.41]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8BBEBFA0A6; Mon, 7 Feb 2022 21:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1644268626; bh=8U5aHUoo2wuu8iOiX9rOAldMOZukZXllc+1jHS1d7kw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=F7ZeMSJw2C9NIvChcxe+qGB3wgCqOC3STv6XMo558bn0dXfQoyvCvKQhNYUIgkrrT K3/Wz2cBE9OyrwWAwPKdhObRmuQt4UGFMWd27eB6TxlehgAQd5HbbwZEHX7YywGpUp MdJKEgkTB1/thXfCGiQ+99nFagc7qujJWkQq+Khk= In-Reply-To: <87r18evaif.fsf@igel.home> (Andreas Schwab's message of "Mon, 07 Feb 2022 18:42:32 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226284 Archived-At: On 02/07/22 18:42 PM, Andreas Schwab wrote: > On Feb 07 2022, Eric Abrahamsen wrote: > >> On 02/07/22 11:49 AM, Andreas Schwab wrote: >>> On Jan 24 2022, Eric Abrahamsen wrote: >>> >>>> diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el >>>> index 2cf11fb12f..dd9c277805 100644 >>>> --- a/lisp/gnus/gnus-start.el >>>> +++ b/lisp/gnus/gnus-start.el >>>> @@ -2867,12 +2867,6 @@ gnus-gnus-to-quick-newsrc-format >>>> (princ "(setq gnus-newsrc-file-version ") >>>> (princ (gnus-prin1-to-string gnus-version)) >>>> (princ ")\n")) >>>> - ;; Sort `gnus-newsrc-alist' according to order in >>>> - ;; `gnus-group-list'. >>>> - (setq gnus-newsrc-alist >>>> - (mapcar (lambda (g) >>>> - (nth 1 (gethash g gnus-newsrc-hashtb))) >>>> - (delete "dummy.group" gnus-group-list))) >>> >>> But the sorting should still be permanent, shoudn't it? >> >> It really doesn't matter, at this point. > > It doesn't? I get erroneous behaviour without this. It shouldn't -- if you're not using topic mode, the group sorting is drawn from `gnus-group-list'. And when you save->shutdown->restart Gnus, `gnus-group-list' sorts `gnus-newsrc-alist', which gets written to file, and on restart it is used to reconstruct the sort order for `gnus-newsrc-alist'. Can you tell me what the erroneous behaviour is, and also what "this" refers to?