all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: "Jakub Ječmínek" <kuba@kubajecminek.cz>
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:55:32 -0700	[thread overview]
Message-ID: <874jax6taz.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87zfspy1mj.fsf@kubajecminek.cz> ("Jakub Ječmínek via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Thu, 16 May 2024 19:53:43 +0000")

Jakub Ječmínek via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

> "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?

That's what I think, yes, though it would probably be a good idea to
float this on gnus.general and see if anyone has any opinions, I'll do
that in a bit.

> 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.

Yes, poor Björn didn't really get anything resolved -- I think in his
case the thing to do is just delete the groups.

Eric





  reply	other threads:[~2024-05-17  2:55 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
2024-05-17  2:55               ` Eric Abrahamsen [this message]
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

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

  git send-email \
    --in-reply-to=874jax6taz.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=60078@debbugs.gnu.org \
    --cc=bjorn.bidar@thaodan.de \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.