unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Michael Welsh Duggan <mwd@md5i.com>,
	Lars Ingebrigtsen <larsi@gnus.org>,
	53352@debbugs.gnu.org
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	[thread overview]
Message-ID: <874k5as7fy.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87r18evaif.fsf@igel.home> (Andreas Schwab's message of "Mon, 07 Feb 2022 18:42:32 +0100")


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?





  reply	other threads:[~2022-02-07 21:17 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 23:07 bug#53352: 29.0.50; IMAP INBOX not refreshing using `gnus-group-get-new-news' Michael Welsh Duggan
2022-01-21 10:29 ` Lars Ingebrigtsen
2022-01-22 16:25   ` Michael Welsh Duggan
2022-01-23 12:58     ` Lars Ingebrigtsen
2022-01-23 16:55       ` Michael Welsh Duggan
2022-01-24  9:18         ` Lars Ingebrigtsen
2022-01-24 16:15           ` Michael Welsh Duggan
2022-01-24 16:33             ` Lars Ingebrigtsen
2022-01-24 16:34             ` Andreas Schwab
2022-01-24 17:59               ` Eric Abrahamsen
2022-01-24 18:06                 ` Michael Welsh Duggan
2022-01-24 18:48                   ` Eric Abrahamsen
2022-01-24 18:31                 ` Lars Ingebrigtsen
2022-01-24 19:20                   ` Eric Abrahamsen
2022-01-24 21:15                     ` Michael Welsh Duggan
2022-01-24 22:18                       ` Eric Abrahamsen
2022-01-31 14:32                         ` Michael Welsh Duggan
2022-01-31 19:27                           ` Eric Abrahamsen
2022-02-07 10:49                     ` Andreas Schwab
2022-02-07 16:50                       ` Eric Abrahamsen
2022-02-07 17:42                         ` Andreas Schwab
2022-02-07 21:17                           ` Eric Abrahamsen [this message]
2022-02-07 21:34                             ` Andreas Schwab
2022-02-07 23:51                               ` Eric Abrahamsen
2022-02-09  4:38                               ` Eric Abrahamsen
2022-02-09  8:45                                 ` Andreas Schwab
2022-02-10 19:38                                   ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874k5as7fy.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=53352@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=mwd@md5i.com \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).