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.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23873 invoked from network); 23 Mar 2022 19:19:35 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 23 Mar 2022 19:19:35 -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.2) (envelope-from ) id 1nX6W4-006Lbq-Oa for ml@inbox.vuxu.org; Wed, 23 Mar 2022 14:19:32 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1nX6W4-006GhO-5Z for ml@inbox.vuxu.org; Wed, 23 Mar 2022 14:19:32 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1nX6W1-006GhF-Qu for ding@lists.math.uh.edu; Wed, 23 Mar 2022 14:19:29 -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.94.2) (envelope-from ) id 1nX6Vz-006Lbc-Fk for ding@lists.math.uh.edu; Wed, 23 Mar 2022 14:19:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding: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=Kotbkng7lEyRdViB/0mJRa7YLdYnTwk3omhmDcQ6pSw=; b=um2+evlap12U9bA2NqNDEGGByX ERCJoEF2gZQKELPLJoJmvAowBDLNX8uAlQcdw4voSSalbgrvMFIi+WLS5iPZyaPd8/hQOtmIbvQd9 XCkBx4RqJdwsmlGOViMAQ6RT0CA8XKRIDOc7j1TcfI0ctLhwIO+Guwy+O2DwE4FD+tMg=; 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 1nX6Vs-0007Mc-LF for ding@gnus.org; Wed, 23 Mar 2022 20:19:23 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nX6Vr-0007Dt-9N for ding@gnus.org; Wed, 23 Mar 2022 20:19:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: gnus-search configuration example for notmuch Date: Wed, 23 Mar 2022 12:19:12 -0700 Message-ID: <87cziciij3.fsf@ericabrahamsen.net> References: <87pmmfl20w.fsf@free.fr> <874k3qlw39.fsf@ericabrahamsen.net> <87a6di2yim.fsf@free.fr> <87o81yja43.fsf@ericabrahamsen.net> <87wnglu48g.fsf@uwo.ca> <87h77oiq01.fsf@ericabrahamsen.net> <874k3od2j6.fsf@uwo.ca> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:UYFQfYs2h2vbUm+1uzJzBlfpxNw= List-ID: Precedence: bulk Dan Christensen writes: > On Mar 23, 2022, Eric Abrahamsen wrote: > >> Dan Christensen writes: >> >>> On Mar 22, 2022, Eric Abrahamsen wrote: >>> >>>> To add to what everyone else has said: most of the mail backends (nnml, >>>> nnmaildir, etc) keep their messages as files on the file system, so any >>>> search engine that indexes files and gives you full filenames back as >>>> search results (including notmuch, namazu, mairix) will work with them. >>>> It's really nnimap that is a special case >>> >>> I guess nnfolder is also a special case? >> >> I don't think nnfolder is a special case: as long as both the Gnus >> backend and the search engine deal in absolute file paths, they should >> be able to talk to one another. If something special needs to be done to >> translate mairix search results into something that nnfolder can >> understand, I'd like to know about that and implement it. > > With nnfolder, each file contains an entire group's worth of messages. > So how can it work if mairix provides just a list of full filenames? It won't! Unless mairix can provide a matching line number, or some other indication of where in the file the match is, we won't be able to find the matching message. I can't think of any simple way around the problem.