From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, PDS_OTHER_BAD_TLD,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 30172 invoked from network); 21 Jan 2021 11:13:30 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 21 Jan 2021 11:13:30 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l2Xu0-001V8n-8v for ml@inbox.vuxu.org; Thu, 21 Jan 2021 05:13:24 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1l2Xtz-007Zla-LG for ml@inbox.vuxu.org; Thu, 21 Jan 2021 05:13:23 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l2Xtx-007ZlQ-Ae for ding@lists.math.uh.edu; Thu, 21 Jan 2021 05:13:21 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l2Xtv-007dCb-BT for ding@lists.math.uh.edu; Thu, 21 Jan 2021 05:13:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:Message-ID :Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5Hv1kXDaB5bQ8vk4wsXK/CuyE3wQ+9iX96mBdsJCZTU=; b=dSU2ixI+OwBHMtE9cTZA4BdWsC XI8GfFNJrJLHhF6piPpFoScwU7d9dTbvRgMVq6bPuF3bx6ti0cxFat3e44ZB2c4wtRwj0LP4fNIO2 pC7e7REJKR0uH1qFSHhF3VSRsHLf7jkBj+DBvotXsfqhLllqc3L05lrFVAnfdO/n5BCU=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2Xtj-0003q1-7G for ding@gnus.org; Thu, 21 Jan 2021 12:13:14 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l2Xti-0003Ax-Jk for ding@gnus.org; Thu, 21 Jan 2021 12:13:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Subject: Missing first group in group list Date: Thu, 21 Jan 2021 12:13:00 +0100 Message-ID: <864kjay24j.fsf@csic.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (windows-nt) Cancel-Lock: sha1:9eaPkvr/Yd8S1FpJ4kSvE0kJp9Y= List-ID: Precedence: bulk Hi, I have been tracking a problem when using my own backends, which actually seems to be a bug in Gnus. Any help in determining this would be appreciated. Essentially the problem is in this function (defun gnus-group-prepare-flat (level &optional predicate lowest regexp) ... ;; List living groups, according to order in `gnus-group-list'. (dolist (g (cdr gnus-group-list)) (setq info (gnus-get-info g) group (gnus-info-group info) This function drops the first group in the list, probably because it assumes it is the dummy.group, but in my system it is never so. In my working machine I have (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nnmaild "archived" (nnmaild-directory "/path/to/Maildir")))) In this order the list of groups luckily ends up being ("nnimap+work:Trash" ... "dummy.group" "nndraft:drafts") so that the group that is lost is trivial. However if I add one more backend (setq gnus-secondary-select-methods '((nnmaild "archived" (nnmaild-directory "/path/to/Maildir")) (nnimap "work" (nnimap-address "mail.server.at.work") (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-fetch-partial-articles t) (nnmail-expiry-target "nnimap+work:Trash") (nnir-search-engine imap)))) the group that is lost is my last archive folder in /path/to/Maildir Is this a typo, or is there some sorting logic in gnus-group-list that is being messed up? Cheers Juanjo -- Juan José García Ripoll http://juanjose.garciaripoll.com http://quinfog.hbar.es