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.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 9381 invoked from network); 26 Aug 2023 13:52:51 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 26 Aug 2023 13:52:51 -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 1qZtiZ-00AkiH-2w for ml@inbox.vuxu.org; Sat, 26 Aug 2023 08:52:47 -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 1qZtiY-004Ryl-2e for ml@inbox.vuxu.org; Sat, 26 Aug 2023 08:52:46 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qZtiX-004Rye-0S for ding@lists.math.uh.edu; Sat, 26 Aug 2023 08:52:45 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qZtiQ-00Akhm-11 for ding@lists.math.uh.edu; Sat, 26 Aug 2023 08:52:44 -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:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=y1w0JG/h10T/XrDZsEJ53c3oEAuEKgL4a1+tjUbxgyw=; b=qll7Cfan1/zFCzNrKGYAvdXNQZ gPwJVAD0gHLx6AIrozclKIrP47aQfmwhXZxquz7TpbIcnLXriMNXKmEec2f9GnND7zPRgAAfmcnwv 85+zNfYfK9N2xu6G0WMOIppjK/sTl++HcvrjLD7qGKZYRHuILme8ggyaUzzRBob/1kho=; Received: from mout.gmx.net ([212.227.17.21]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qZti9-00030L-Nh for ding@gnus.org; Sat, 26 Aug 2023 15:52:24 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1693057939; x=1693662739; i=jimjoe@gmx.net; bh=LG4hAoJ8doHKRhW8idAbIxTZKNYcEVH2SoNxDLwwbMA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=o7FbapkKisE/Av1pbu3fkFe+hpGC9w5n3CgPVX9hsopxDaxOkf18wYm+R2huUAop74pzg3S eRrQ645ITrcsgidEEOfglrPh7+ogiiwlH0J8qrGP054aZyfRidd3Yahe9L1XFAbnUIUh04xm6 7pojtfcmiJkQJ8Lg9N91bgy7ttCP4gxzlZkxk3ZKppLrISX8sNsIquw3nTJC84irlTmMj9B2B nxuhmmn9GESQjVx2F8SCjAACcRz+mV2avsy9bzV6lQOiegN1ZlnAfF+WLk2jubMJL80RwKM72 faPg1TH9qAY50BeYl6kbjssg70lL/8G3YgdrEjSgr8V05WPYol2A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from user-Inspiron-15-5518 ([117.216.7.226]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1M3DJl-1qZ5Id3Vdt-003i2N; Sat, 26 Aug 2023 15:52:19 +0200 From: James Thomas To: Julien Cubizolles Cc: ding@gnus.org Subject: Re: Gnus search engine returns "Group nnselect:nnselect-877cqbir7v.fsf contains no messages" In-Reply-To: <875y52j5pu.fsf@gmx.net> (James Thomas's message of "Sat, 26 Aug 2023 18:55:33 +0530") References: <87edkghpbl.fsf@alshehhi.io> <87wmy63046.fsf@ericabrahamsen.net> <87jzu5n10g.fsf@debian-BULLSEYE-live-builder-AMD64> <87sf88zpwm.fsf@free.fr> <875y52j5pu.fsf@gmx.net> Date: Sat, 26 Aug 2023 19:21:59 +0530 Message-ID: <87ttsl52tc.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:c+dgt+FjFyxgIfiurSYL7bEO0XM7TWaXgt+Lg2JvnN1saO4PjHD rp5/P16sbdACHJSHxwVyBl633/kfTkSHKQRAUtYifTUZ4DslwMqWnzAy1l1qn/gqOVn5W6p c2iJXiHHWaYBYPbWtxuiFYaODoTa6B61kf5w0aT59YUSOwmrYAJ0smF0yPIu8Mgp/IZ2ZqM v1bqnK6Z4Ry2NukosLgGg== UI-OutboundReport: notjunk:1;M01:P0:tOU3uFmrTkg=;Tbi2YMyFISZhda+55P3d2ysry5/ QmNChDn1C7wc1PDg6bW5QWDmfTaSJILJKAUEbIxkhZ2Zj1xZ3eAKQKpw6aTzy/esx8HYXZVV+ u7hVfIgWA9GTTviDPzCsTXE6ZbkRoPwRzBwVPOPIlffANjgi3DfmCgGW9KDAlIirwVL9otmSO R4Gf8u6m6WRgWCgMwWDw4/KKIeT7MSNmmaKn5CPvx2QVtP8aXb0FAUm70i082d/gKph4n3jg6 GfpyNRR5PC0fjBT1zzL1Mr4wmMZ9ku0zWNFVVUsNZeFLi3ksm6iXBCi38KWnToQaU04tBril3 MLHMAo8qa/bsYQWJ1s1JvlGccyXNGZPAflVKihY1jEXMpMkHUJ8N/3TKukn+zFDRGcQ2hsYfc KgVZzSkukfe+okom5yq6ccZnaTCupeHdiR9YwvA/2s4tS9UuYLChXmf8ubr79w6q39IKRztlT Fap32WuAXzIreYPPAUfrd85DpIwoBGNMNclq/fKz9/36+exXE/i1LmKVgt1BIycPws1x2BIXz SKz/mhDJFfkyyVoJHSJUxyCS0q0p3NU+qvnupuZCT5sYtDfUtgQGX+NeUo8dfeI5N5xkxb9KD b4j3kCXx259DMsX/YfmIr+6kpjfyB4QN39TzaUnI7cmQ39oTtTfahWBF7T8+67Hpq/CJ0fGFn 0w0ye1NH1W/Vn3nWrJXaKUkD+D1kL6q7ilcTXloKgvBsjr5juIOnaU73tvkoeRuB0S+dogeme UrRLEg4jxvC5rUN2aJeIxcLqvzQzzf45S52gVeYUYzWIVFZBEwrCS+8c9OtWJwafmGB8N17SL r1ITJ+Q4NuPL2o35UslBUuzBUo8OZN55f4hrC4PcWftcpdmw9U3Vemm+536kjigJAb8QXBYYP 77SA/of7+Bc2s81zMyeZNeNe9IJ09s60GSaoGu3UVFx0Qg9cADZXoAo5UsJt7HCAY3fAC4kl4 Fv/Do385ekdm4tceJd3MKGCW028= List-ID: Precedence: bulk James Thomas wrote: > Julien Cubizolles wrote: > >> 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/Academi= e") >> (gnus-search-engine gnus-search-notmuch=20 >> (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 =E2=80=98notmuch-show-stash-filename=E2=80= =99 are of the >> form: >> >> Stashed: /home/wilk/email/Maildir-mbsync/Academie/General/cur/1692854503= .M508606P40464Q3.sadhill,U=3D40:2, > > Try setting the 'config-file' option explicitly. A quick glance at the > code suggests that leaving it blank is not allowed. No sorry, the problem could be that 'remove-prefix' needs an absolute name (without ~). --