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 7280 invoked from network); 18 Nov 2020 21:33:18 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 18 Nov 2020 21:33: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.94) (envelope-from ) id 1kfV3c-007Gvr-27; Wed, 18 Nov 2020 15:32:04 -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 1kfV3a-00BxuA-Q3; Wed, 18 Nov 2020 15:32:02 -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 1kfV3X-00BxsW-EN for ding@lists.math.uh.edu; Wed, 18 Nov 2020 15:31:59 -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 1kfV3V-007Gty-J7 for ding@lists.math.uh.edu; Wed, 18 Nov 2020 15:31:59 -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=UijCORnoJY5eP/l2/HdEQ8sfvxYB9zWXZqaS4ota5ac=; b=E+fS97lfbFBboVZAN6EgkbwXTi Uz3mZz/oGurIUQLo2G96LqiZKw9JMoJsEWerjB4vziQWXOspXoDH7dzRCEWY71C8KgOSlVhjp9Ad1 EXO3x6hDMm5bds/7HE508YIRhFaRJ2MaKVHhf1lyA0zBx+7JfggA4LGdT1uQgz18wxo0=; 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 1kfV3O-0000Gn-56 for ding@gnus.org; Wed, 18 Nov 2020 22:31:53 +0100 Received: from localhost (97-113-36-145.tukw.qwest.net [97.113.36.145]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id F0DA2FA02E; Wed, 18 Nov 2020 21:31:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1605735108; bh=UijCORnoJY5eP/l2/HdEQ8sfvxYB9zWXZqaS4ota5ac=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=UUPb/paMEGqIF1MZx4DflCI1WhebhawZ3QMyeTFYRDFBv9vJbecBYjze+jEIec9u8 gYoBLpmQ1gQPAV07lZUWuvxMNRI2yFJWMGpxY4AlopAZO3r6bD4SDB1nwf1qzBH/3o Jc4NoY4jcWYaL9qg75y3yvTQNlIQp0mB3QIz1OD8= From: Eric Abrahamsen To: "Jose A. Ortega Ruiz" Cc: "Eric S Fraga" , Subject: Re: New "gnus-search" syntax and interface References: <87blgdavsb.fsf@ericabrahamsen.net> <877dqpikh5.fsf@ucl.ac.uk> <87sg9dctwu.fsf@hillenius.net> <87tuttfm20.fsf@ucl.ac.uk> <87ft5dgrm6.fsf@ericabrahamsen.net> <87361djiui.fsf@ucl.ac.uk> <877dqpgoky.fsf@ericabrahamsen.net> <87pn4hc97h.fsf@gnus.jao.io> <871rgtgxcn.fsf@ucl.ac.uk> <87k0ul2l62.fsf@ericabrahamsen.net> <874klodz20.fsf@ucl.ac.uk> <87lfezlemj.fsf@ericabrahamsen.net> <87lfezwkxt.fsf@gnus.jao.io> <1x7NOCTHudFuCvB0kEBCGDds7KKAdbu-tZRD41ue36qG8dPBUSj7W9lq7CK5WJwL50cGQKZcom2KMkW_2VZi8Q==@protonmail.internalid> <871rgqz98k.fsf@ericabrahamsen.net> <871rgqwf2l.fsf@gnus.jao.io> Date: Wed, 18 Nov 2020 13:31:46 -0800 In-Reply-To: <871rgqwf2l.fsf@gnus.jao.io> (Jose A. Ortega Ruiz's message of "Wed, 18 Nov 2020 21:05:54 +0000") Message-ID: <87sg96xsfx.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 "Jose A. Ortega Ruiz" writes: > On Wed, Nov 18 2020, Eric Abrahamsen wrote: > > > [...] > >> No, that's perfect, I'm trying to make completely sure I understand >> what's going on here. The original nnir-run-* functions all did pretty >> much the same thing but with slightly different code, and in combining >> all those functions I didn't get everything exactly in place. >> >> The original notmuch code used the GROUPS parameter to build a "--path" >> option for the notmuch call, but even if I re-instate that, we'll still >> want this filter here for the other engines. > > As an aside, I cannot find --path in notmuch search man page, but > something that would speed things up considerably for some cases would > be to append to the generated notmuch query "folder://" > (mandatory /'s, to say you're looking for a regexp, not a literal). But > that won't fix the problem, either. Oops, I meant path:, not --path. Looks like there's both path: and folder:. In theory I would like to support this, as doing filtering will be faster in notmuch than in Gnus, but it also looks like there are a lot of possible different configurations we'd need to accommodate. >> Would you try this version of the function? It should just permit any >> path separator when checking for group name matches. > > It works for me (and saves me having to define my own engine, so it's > nice!). It should be basic functionality! Thanks for testing. Eric