unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: 60078@debbugs.gnu.org, "Björn Bidar" <bjorn.bidar@thaodan.de>
Subject: bug#60078: 30.0.50; Gnus: Can't remove groups of select methods that don't exist anymore
Date: Thu, 16 May 2024 19:53:43 +0000	[thread overview]
Message-ID: <87zfspy1mj.fsf@kubajecminek.cz> (raw)
In-Reply-To: <87cypl7kqs.fsf@ericabrahamsen.net>

"Eric Abrahamsen" <eric@ericabrahamsen.net> writes:
> [...]
> Where does that leave us? I think there's no safe way to say "this
> group's select method no longer exists", because in many cases the
> presence of a sexp like (nnml "<directory>") is enough to count as
> "exists".
>
> So I think "bogus" can only mean: "this group belongs to a server that
> provides a `gnus-request-list' method, but when we request the list,
> this group isn't in it".
>
> I think you're right that simply checking if a group is active shouldn't
> mean anything, as there are plenty of reasons a group might not be
> activated.
>
> WDYT?

Your analysis is brilliant, thank you. So to summarize what bogus group
 actually should be:

 1. The server of the newsgroup provides `gnus-request-list' method
 2. The server has been sucessfully opened
 3. The group is not listed in the active file
 4. We do not distinguish between native and secondary select methods
 and foreign groups.

Is it correct?

If we go back to Björn's bug report though, I still think that the
"correct" way to remove groups without corresponding select method is to
kill them (C-k) and then kill them again from the list of killed
newsgroups. This is actually what `gnus-check-bogus-newsgroups' function
does.

-- 
Kuba Ječmínek (http://kubajecminek.cz)






  reply	other threads:[~2024-05-16 19:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14 22:55 bug#60078: 30.0.50; Gnus: Can't remove groups of select methods that don't exist anymore Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-22 23:01 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-23  3:26   ` Eric Abrahamsen
2024-02-23  9:22     ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-23 16:12       ` Eric Abrahamsen
2024-04-01 21:10 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-11  3:38   ` Eric Abrahamsen
2024-05-12 22:08     ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-14  0:55       ` Eric Abrahamsen
2024-05-14 20:42         ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-16 17:02           ` Eric Abrahamsen
2024-05-16 19:53             ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-05-17  2:55               ` Eric Abrahamsen
2024-05-17 20:48                 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-21 22:48                   ` 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=87zfspy1mj.fsf@kubajecminek.cz \
    --to=bug-gnu-emacs@gnu.org \
    --cc=60078@debbugs.gnu.org \
    --cc=bjorn.bidar@thaodan.de \
    --cc=eric@ericabrahamsen.net \
    --cc=kuba@kubajecminek.cz \
    /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).