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, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30046 invoked from network); 25 Aug 2023 05:59:18 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 25 Aug 2023 05:59:18 -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 1qZPqf-009l5R-33 for ml@inbox.vuxu.org; Fri, 25 Aug 2023 00:59:14 -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 1qZPqf-004NBA-0g for ml@inbox.vuxu.org; Fri, 25 Aug 2023 00:59:09 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qZPqc-004NB1-0C for ding@lists.math.uh.edu; Fri, 25 Aug 2023 00:59:06 -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 1qZPqZ-004RQ1-0A for ding@lists.math.uh.edu; Fri, 25 Aug 2023 00:59:05 -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=ZYlCdoZnxgYcBJL8GudnC/CVE0duDxTZNoZFr9CxmWA=; b=mQ8KXDDZxA+SgDYD7VZBjNVPyK thT0X4TF9UB69QQCn4aUZ5YDEunzR55G9AAMYobNJ1YQRP0yr9T+qUE2BHnqNIabooKZ2yKoZHuVu E3y9PEcwaxrTqBz+ghGR8AQAc8eJuVPNVPOFTutSutEbLpc5ZhYXvu8n8d+CxToCzOwE=; 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 1qZPqJ-0003x8-DT for ding@gnus.org; Fri, 25 Aug 2023 07:58:51 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qZPqH-0008Vq-CM for ding@gnus.org; Fri, 25 Aug 2023 07:58:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: "Loris Bennett" Subject: Re: Gnus search engine returns "Group nnselect:nnselect-877cqbir7v.fsf contains no messages" Date: Fri, 25 Aug 2023 07:58:35 +0200 Organization: ZEDAT, Freie =?utf-8?Q?Universit=C3=A4t?= Berlin Message-ID: <87a5uffyt0.fsf@zedat.fu-berlin.de> References: <87edkghpbl.fsf@alshehhi.io> <87wmy63046.fsf@ericabrahamsen.net> <87jzu5n10g.fsf@debian-BULLSEYE-live-builder-AMD64> <87sf88zpwm.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:Y0BwrrhEfNV7y2onD29cPbQJzQk= List-ID: Precedence: bulk Julien Cubizolles writes: > "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: > > (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"))))) > > > 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: > > Stashed: /home/wilk/email/Maildir-mbsync/Academie/General/cur/1692854503.M508606P40464Q3.sadhill,U=40:2, In my case the problem turned out to be that I was querying an Exchange server and that these are unable to deal with queries in UTF-8. There is a discussion regarding the issue here: https://www.mail-archive.com/info-gnus-english@gnu.org/msg14117.html The fix given there is contained in Emacs 29, but maybe there has been a regression for Emacs 30? Cheers, Loris -- This signature is currently under constuction.