From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7F8261F8C6; Thu, 9 Sep 2021 21:06:35 +0000 (UTC) Date: Thu, 9 Sep 2021 21:06:35 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: meta@public-inbox.org Subject: Re: Tracking one-off threads with lei Message-ID: <20210909210635.GB11866@dcvr> References: <20210909151919.g24mwd5s54tehxur@meerkat.local> <20210909200628.GA29521@dcvr> <20210909205631.csp7z52ei5vz74nr@meerkat.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210909205631.csp7z52ei5vz74nr@meerkat.local> List-Id: Konstantin Ryabitsev wrote: > On Thu, Sep 09, 2021 at 08:06:28PM +0000, Eric Wong wrote: > > Konstantin Ryabitsev wrote: > > > Eric: > > > > > > Is there a way to "tag" a single thread that isn't matching a saved search and > > > have it be followed for any new updates? E.g. someone pings a developer on IRC > > > and says "you may be interested in following this discussion" -- what's the > > > best course of action for them to pull that into their MFOLDER and get all the > > > new updates? > > > > -t includes every message in the thread strictly (same with mairix): > > > > lei q -t -o $MFOLDER mid:$MSGID > > Ah, sorry, I wasn't clear -- this would be into an existing $MFOLDER with a > regular q already defined. E.g. I have ~/Maildir/foofunc with: > > q = dfhh:foofunc > > However, I am now suddenly interested in a thread with msgid foo@bar. I can > modify the q= parameter to be "dfhh:foofunc OR mid:foo@bar", or I can define a > new $MFOLDER just for mid:foo@bar, but it doesn't look like I can just one-off > cherry-pick a thread into an existing ~/Maildir/foofunc, right? You can modify existing searches with: lei edit-search $MFOLDER And possibly reset the external.$FOO.maxuid for local externals to so old messages aren't excluded (dedupe should still work). > Is there a way to feed multiple saved searches into the same local maildir? > (Not saying there should be a way, just trying to get a clear picture in my > head.) Not sure, maybe --augment works, but I haven't thought about how it interacts with saved searches at all Of course Xapian OR lets you combine as many queries as you want (but things like -t and the external list used is global across all subqueries).