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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25136 invoked from network); 24 Aug 2023 13:32:12 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 24 Aug 2023 13:32:12 -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.96) (envelope-from ) id 1qZARU-009Et9-0T for ml@inbox.vuxu.org; Thu, 24 Aug 2023 08:32:08 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1qZART-004HGW-1A for ml@inbox.vuxu.org; Thu, 24 Aug 2023 08:32:07 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qZ7jc-004H3x-0y for ding@lists.math.uh.edu; Thu, 24 Aug 2023 05:38:40 -0500 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.96) (envelope-from ) id 1qZ7ja-003udY-0I for ding@lists.math.uh.edu; Thu, 24 Aug 2023 05:38:40 -0500 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:References :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:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jknEzOBMFdWb6BkdrSJk0Gn/Qkrub7ZoUFCXgGtVF7M=; b=lWcYA5mplIirDmcv/zMSk6fX+5 utvADVeZMsiwzL+GLbwNeaCCWNA+8LdCkaV8+oGWYyibKAJUh9KgUUgz+Wc1LoL3mTUYln+cHKQcu K88xUYZkChnUBwUlu9PzVRIASnVsxJ2MqYgxmS5YkQDBYE2RB0ow+LHWscX/XI8w27rA=; 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 1qZ7jQ-0004E9-UE for ding@gnus.org; Thu, 24 Aug 2023 12:38:32 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qZ7jN-0004TQ-Mv for ding@gnus.org; Thu, 24 Aug 2023 12:38:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Julien Cubizolles Subject: Re: Gnus search engine returns "Group nnselect:nnselect-877cqbir7v.fsf contains no messages" Date: Thu, 24 Aug 2023 12:38:17 +0200 Message-ID: <87sf88zpwm.fsf@free.fr> References: <87edkghpbl.fsf@alshehhi.io> <87wmy63046.fsf@ericabrahamsen.net> <87jzu5n10g.fsf@debian-BULLSEYE-live-builder-AMD64> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:X5UCLKrN0STjJCa9eu50o4e9UM4= List-ID: Precedence: bulk "Loris Bennett" writes: > I am also experiencing the same error. My configuration had been > working fine for years, but after updating Debian from 11 to 12 and > hence Emacs from 27.1 to 28.2 I now have this problem. The issue > arises with both imap and nntp groups. > > This is what appears in *Messages* with gnus-verbose set to 10: > > Retrieving newsgroup: nnselect:nnselect-87v8dpn1ch.fsf... > Opening server fu_exchange > Searching nnimap+fu_exchange:HPC...done > Group nnselect:nnselect-87v8dpn1ch.fsf contains no messages > Same problem here with Emacs 30.0.50. The relevant parts of my config are: --8<---------------cut here---------------start------------->8--- (setq gnus-search-default-engines '((nnml . gnus-search-notmuch) (nntp . gnus-search-notmuch) (nnimap . gnus-search-imap) (nnfolder . gnus-search-notmuch) (nndraft . gnus-search-notmuch) (nnarchive . gnus-search-notmuch) (nnselect . gnus-search-nnselect) (nnmaildir . gnus-search-notmuch))) (setq gnus-search-use-parsed-queries t) (setq gnus-secondary-select-methods '((nnmaildir "Academie" (directory "~/email/Maildir-mbsync/Academie") (gnus-search-engine gnus-search-notmuch (remove-prefix "~/email/Maildir-mbsync/Academie"))))) --8<---------------cut here---------------end--------------->8--- On a given group from the Academie maildir, I always get the "contains no messages" whatever the query. notmuch returns plenty of messages whose filenames, as given by ‘notmuch-show-stash-filename’ are of the form: --8<---------------cut here---------------start------------->8--- Stashed: /home/wilk/email/Maildir-mbsync/Academie/General/cur/1692854503.M508606P40464Q3.sadhill,U=40:2, --8<---------------cut here---------------end--------------->8--- -- Julien Cubizolles