From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs 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 Message-ID: <87zfspy1mj.fsf@kubajecminek.cz> References: <875yedvblv.fsf@thaodan.de> <87jzlgvlfe.fsf@kubajecminek.cz> <878r0hauhl.fsf@ericabrahamsen.net> <87ttj2isyj.fsf@kubajecminek.cz> <875xvh9ppx.fsf@ericabrahamsen.net> <87v83gdt2d.fsf@kubajecminek.cz> <87cypl7kqs.fsf@ericabrahamsen.net> Reply-To: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60078@debbugs.gnu.org, =?UTF-8?Q?Bj=C3=B6rn?= Bidar To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 16 21:54:12 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s7hB5-0003F8-SB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 May 2024 21:54:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7hAw-0007g8-3c; Thu, 16 May 2024 15:54:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7hAt-0007fO-Kf for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 15:54:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7hAt-0003Hl-Ca for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 15:53:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7hAv-00035y-K9; Thu, 16 May 2024 15:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 16 May 2024 19:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60078 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 60078-submit@debbugs.gnu.org id=B60078.171588924111895 (code B ref 60078); Thu, 16 May 2024 19:54:01 +0000 Original-Received: (at 60078) by debbugs.gnu.org; 16 May 2024 19:54:01 +0000 Original-Received: from localhost ([127.0.0.1]:50658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7hAu-00035k-NQ for submit@debbugs.gnu.org; Thu, 16 May 2024 15:54:00 -0400 Original-Received: from mail-4317.proton.ch ([185.70.43.17]:18065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7hAr-00035X-Cn for 60078@debbugs.gnu.org; Thu, 16 May 2024 15:53:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kubajecminek.cz; s=protonmail; t=1715889228; x=1716148428; bh=unGtIJ+LTPCZgqgSXFJveFBw6SvhcOCSMnwyhGR3UoE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=GsYkeUIKX/9xZTcstNmw+xpATVdEF0dxFtYJpjggfthNx6We/n9n9/5MPWNKhm5oi jjQQ/E2gOdIcABAIP9nW+35Ffhuc9BhwuEJT/tUkBITY824YigLwXedJIP/V3wj/IX P6qz3jQhGAQZ00vfEqo9snZ66S2ikWglQOSI3/EUVFKMLhUDXQr7qj++KldCpdIf+I mHTVfN3ClvsVnHgNKKFzxtZpIoart5DenaEPNwP0YxzTuQ0UlzQ2H43sZJqPmzJyUT RiqGbKr8ta7IJvbo8GLGTTL5vawqD7DLnMnfvooyOpXAO6740uRrqDcbJGunbUD5Wg 4vD7vTmwHozxg== In-Reply-To: <87cypl7kqs.fsf@ericabrahamsen.net> Feedback-ID: 98803324:user:proton X-Pm-Message-ID: faf2cd978aac069294e2ba10e1ad63c2cad98c55 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285200 Archived-At: "Eric Abrahamsen" 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 "") 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=C3=B6rn'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. --=20 Kuba Je=C4=8Dm=C3=ADnek (http://kubajecminek.cz)