GNU bug report logs - #53352
29.0.50; IMAP INBOX not refreshing using `gnus-group-get-new-news'

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <mwd <at> md5i.com>

Date: Tue, 18 Jan 2022 23:08:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


Message #66 received at 53352 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Michael Welsh Duggan <mwd <at> md5i.com>, Lars Ingebrigtsen <larsi <at> gnus.org>,
 53352 <at> debbugs.gnu.org
Subject: Re: bug#53352: 29.0.50; IMAP INBOX not refreshing using
 `gnus-group-get-new-news'
Date: Mon, 07 Feb 2022 08:50:34 -0800
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. `gnus-group-list' is the source
of authority on sorting (if the user isn't using topic mode), and
`gnus-newsrc-hashtb' is more and more just used for persisting to disk.
We want to save the sort order on shutdown, but during a Gnus session it
doesn't matter.




This bug report was last modified 3 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.