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 #72 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 13:17:05 -0800
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?




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.