Gnus development mailing list
 help / color / mirror / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: ding@gnus.org
Subject: Unexpected behavior in gnus-group-list-groups after gnus-group-get-new-news
Date: Tue, 31 Oct 2023 14:07:13 +0530	[thread overview]
Message-ID: <87fs1rmbly.fsf@codeisgreat.org> (raw)

I am using Emacs from emacs-29 branch head.

Before calling gnus-group-get-new-news with ARG my group buffer looks
like this. i.e. pressing "l" gnus-group-list-groups, the group buffer
shows this.

--8<---------------cut here---------------start------------->8---
       1: nnimap+codeisgreat:golang
       1: nnimap+otp:INBOX
*      0: nnimap+otp:[Gmail]/Sent Mail
*      0: nnimap+otp:[Gmail]/Trash
       1: nnimap+otp:career
       3: nnimap+otp:cron
       1: nntp+gmane:gmane.comp.lang.go.general
*      0:*nntp+gmane:gmane.emacs.gnus.general
       1: nntp+gmane:gmane.linux.debian.user
--8<---------------cut here---------------end--------------->8---

But after I call gnus-group-get-new-news with ARG like this "C-u 1 g",
the group buffer shows only groups with level 1 and unread
messages. This is fine.

--8<---------------cut here---------------start------------->8---
       9: nnimap+otp:INBOX
--8<---------------cut here---------------end--------------->8---

But now if I press "l", the group buffer shows many old groups also,
which I subscribed at some point in time.

--8<---------------cut here---------------start------------->8---
       *: comp.lang.c++.moderated
       *: comp.lang.c.moderated
       *: comp.lang.functional
       *: comp.lang.haskell
       *: comp.lang.java.programmer
       *: comp.lang.java.security
       *: comp.lang.java.softwaretools
       *: comp.lang.logo
       *: comp.lang.ruby
       *: comp.org.acm
       *: comp.org.ieee
       *: comp.os.linux.announce
       *: comp.os.misc
       *: comp.std.c
       1: nnimap+codeisgreat:golang
      10: nnimap+gml:INBOX
*      0: nnimap+gml:[Gmail]/Sent Mail
       9: nnimap+otp:INBOX
       *: nnimap+otp:[Gmail]/Bin
*      0: nnimap+otp:[Gmail]/Sent Mail
*      0: nnimap+otp:[Gmail]/Trash
       1: nnimap+otp:career
       3: nnimap+otp:cron
*      0: nnimap+outlook:Inbox
       *: nnimap+sjm:INBOX
       *: nnimap+sjm:[Gmail]/Sent Mail
       *: nnimap+sjm:[Gmail]/Spam
       1: nntp+gmane:gmane.comp.lang.go.general
*      0:*nntp+gmane:gmane.emacs.gnus.general
--8<---------------cut here---------------end--------------->8---

I'm unsure which variable or setting the l command (i.e.,
gnus-group-list-groups) refers to in this context. Is it
gnus-level-subscribed, gnus-group-default-list-level, or something else?
I'd appreciate any insights into this behavior.

Can someone explain what is going on here? To summarize: after calling
gnus-group-get-new-news with an argument and then listing groups with l,
I'm seeing old groups that I had previously subscribed to. I expect not
to see these old groups.



             reply	other threads:[~2023-10-31  8:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31  8:37 Pankaj Jangid [this message]
2023-10-31  8:54 ` Eric S Fraga

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

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

  git send-email \
    --in-reply-to=87fs1rmbly.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).