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=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19637 invoked from network); 30 Nov 2020 04:42:32 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 30 Nov 2020 04:42:32 -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 1kjazQ-00F6Ox-NY; Sun, 29 Nov 2020 22:40:40 -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 1kjazP-00EGdY-LT; Sun, 29 Nov 2020 22:40:39 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kjazL-00EGbu-8n for ding@lists.math.uh.edu; Sun, 29 Nov 2020 22:40:35 -0600 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.94) (envelope-from ) id 1kjazJ-00F6Mw-JM for ding@lists.math.uh.edu; Sun, 29 Nov 2020 22:40:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=FIY9vMJ3YU7QYnBOmdywqQBvP+xlpga8uQ2jPkP02s0=; b=DQ1mY5JZlgkf2eAarjv8mvG4bT JMETA8SPCrNWcNWX3155ZY1s6G2Jjdzw59slnOf1ZPg3qoB/axWMhKLUErtYFf4onHdl7bbxEKY+U W9v5Sp+LWRTP2RhbjZPI8QNQbUj6mo2ywC6LVSzfQeHEeHn1E0dS1wPy6f2IAgNZh9so=; Received: from ericabrahamsen.net ([52.70.2.18] helo=mail.ericabrahamsen.net) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjazB-0004S5-Sk for ding@gnus.org; Mon, 30 Nov 2020 05:40:28 +0100 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id BF718FA035; Mon, 30 Nov 2020 04:40:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1606711223; bh=FIY9vMJ3YU7QYnBOmdywqQBvP+xlpga8uQ2jPkP02s0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fgOZMebEJ+D/16Yxc75K/bPAum/xIaN4O0kIxUPX8T6Fm0Z9Oxwb0KqW0NvyTK1cM OjG2+MTuf5oNmEF5eGgAjXHn9/cmGvFf38Em0midZvnOEx7vuV+kYZXw7YZU54L2oz x2V4/sPY+kbmqX2boZGHI2JlcqMhhTftpXfdZrg0= From: Eric Abrahamsen To: yoctocell Cc: ding@gnus.org Subject: Re: New "gnus-search" syntax and interface References: <87blgdavsb.fsf@ericabrahamsen.net> <86eekrrpfd.fsf@disroot.org> <87wnyixu87.fsf@ericabrahamsen.net> <86o8jp7dnx.fsf@disroot.org> <87eekltkt2.fsf@ericabrahamsen.net> <86lfel9z1b.fsf@yoctocell.xyz> Date: Sun, 29 Nov 2020 20:40:20 -0800 In-Reply-To: <86lfel9z1b.fsf@yoctocell.xyz> (yoctocell's message of "Sat, 28 Nov 2020 18:22:40 +0100") Message-ID: <87sg8rsbij.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk yoctocell writes: > On 22 November 2020 08:31, Eric Abrahamsen wrote: > >> Is this the same maildir as you were testing with mairix? Can you show >> me your full config? Remember that all of these local indexed search >> engines will require the 'remove-prefix key. > > Sorry for the late reply, I must have missed the message in my inbox... > > I am still using the same config as the one from mairix > > (setq gnus-select-method '(nnnil "") > gnus-secondary-select-methods > '((nntp "news.gwene.org") > (nnmaildir "yoctocell" > (directory "~/.local/share/mail/yoctocell@disroot.org") > (gnus-search-engine gnus-search-notmuch > (remove-prefix "/home/yoctocell/.local/share/mail/yoctocell@disroot.org"))) Thanks. If you're using a recently-updated master Emacs, the 'remove-prefix key will also handle "~/.local/share/..." paths just fine. The problem is just that queries aren't returning anything? Can you show an example query that returns a small number of results on the command line, and show the results themselves? Then try the same query inside Gnus, first with (setq gnus-search-use-parsed-queries nil), then with (setq gnus-search-use-parse t). Let me know what, if anything, changes. Thanks! Eric