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: Tue, 14 May 2024 20:42:05 +0000 Message-ID: <87v83gdt2d.fsf@kubajecminek.cz> References: <875yedvblv.fsf@thaodan.de> <87jzlgvlfe.fsf@kubajecminek.cz> <878r0hauhl.fsf@ericabrahamsen.net> <87ttj2isyj.fsf@kubajecminek.cz> <875xvh9ppx.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="16029"; 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 Tue May 14 22:43:23 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 1s6yzb-0003rC-1t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 May 2024 22:43:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6yzH-0007LU-QG; Tue, 14 May 2024 16:43:03 -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 1s6yzF-0007Kw-2X for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 16:43:01 -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 1s6yzE-0004zI-Qv for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 16:43:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6yzF-000284-Nj; Tue, 14 May 2024 16:43: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: Tue, 14 May 2024 20:43: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.17157193418165 (code B ref 60078); Tue, 14 May 2024 20:43:01 +0000 Original-Received: (at 60078) by debbugs.gnu.org; 14 May 2024 20:42:21 +0000 Original-Received: from localhost ([127.0.0.1]:41437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6yyb-00027d-Fv for submit@debbugs.gnu.org; Tue, 14 May 2024 16:42:21 -0400 Original-Received: from mail-40136.proton.ch ([185.70.40.136]:57603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6yyY-00027V-9n for 60078@debbugs.gnu.org; Tue, 14 May 2024 16:42:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kubajecminek.cz; s=protonmail; t=1715719330; x=1715978530; bh=8NLhynlbBOoe28SXB5gdsFrzdoDTgrc/ZjJw4G8efVQ=; 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=BGix/i43BedP8KhdNm5oKKhvD6kKLGhzWdAGEpEEefSKYC1LKhF2pm7N8d55yoY1H kTQx1h/f5PdG93Qezv8bOuw/ao1rUxqEt45V4fmKly7xWqQUWjt+rsXA4FcKG1L8jq Z0CqgUrvsz53iiJU3tBDgrbQZu4NLL7QDyuejF73b8Ttcz7TWh8pVviOb7WqhPT5Dx HIhTtRQ5vtIxb8nbT+KkPCIL+PNg2+pSedjTShrQfChNRVcw/MBB9ugmswF7tVpLic gro3rsUigPL92dLoC2dv2ABHEKHCoKngphgqYqHHelYzXBpzV8a6qaIhtoFz0fc1jC vC9heCFvI9RBA== In-Reply-To: <875xvh9ppx.fsf@ericabrahamsen.net> Feedback-ID: 98803324:user:proton X-Pm-Message-ID: e14d445e09c0c8fe2a8427c84e21eb96c84e94d9 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:285052 Archived-At: This whole issue sent me really deep, so thank you for sticking by. "Eric Abrahamsen" writes: > I think you're right about the definition of "foreign", and that there's > a bug/misunderstanding in code like this, but this check isn't a > complete fix because `gnus-group-secondary-p' looks up the group's > method, and the whole reason we're running this code is that the group's > method no longer exists. (The original/current code also has this > issue.) If the method is actually gone, groups that used to belong to it > will also be passed over. Then it comes down to you as package maintainer to decide what bogus group actually is, because current definition makes little sense to me. For example, if the server is down and Gnus is not able to get active info, all groups belonging to that server become bogus, which is a little unfortunate. > So I guess there's two scenarios to support: in the first, the server is > still there but one or more groups are gone (someone's deleted an IMAP > folder from the server) and in the second the server itself has been > removed from the user's config files, and we're clearing out the old > groups. Both of these cases can be handled with simple (group-active group) predicate. Do you have a clue why Lars wanted to handle foreign groups separately? I've searched (ding) mailing list, old bug reports, changelogs, commit messages, and everything else I could find but I found nothing. Thanks! --=20 Kuba Je=C4=8Dm=C3=ADnek (http://kubajecminek.cz)