unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* Tracking one-off threads with lei
@ 2021-09-09 15:19 Konstantin Ryabitsev
  2021-09-09 20:06 ` Eric Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Ryabitsev @ 2021-09-09 15:19 UTC (permalink / raw)
  To: meta

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?

-K

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tracking one-off threads with lei
  2021-09-09 15:19 Tracking one-off threads with lei Konstantin Ryabitsev
@ 2021-09-09 20:06 ` Eric Wong
  2021-09-09 20:56   ` Konstantin Ryabitsev
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Wong @ 2021-09-09 20:06 UTC (permalink / raw)
  To: Konstantin Ryabitsev; +Cc: meta

Konstantin Ryabitsev <konstantin@linuxfoundation.org> 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

For a fuzzy subject match (like /t/ and /T/ in WWW), add ` OR s:"..." '

	lei q -t -o $MFOLDER mid:$MSGID OR s:"subject phrase"

And the usual: lei up $MFOLDER

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tracking one-off threads with lei
  2021-09-09 20:06 ` Eric Wong
@ 2021-09-09 20:56   ` Konstantin Ryabitsev
  2021-09-09 21:06     ` Eric Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Ryabitsev @ 2021-09-09 20:56 UTC (permalink / raw)
  To: Eric Wong; +Cc: meta

On Thu, Sep 09, 2021 at 08:06:28PM +0000, Eric Wong wrote:
> Konstantin Ryabitsev <konstantin@linuxfoundation.org> 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?

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.)

Thanks,
-K

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tracking one-off threads with lei
  2021-09-09 20:56   ` Konstantin Ryabitsev
@ 2021-09-09 21:06     ` Eric Wong
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Wong @ 2021-09-09 21:06 UTC (permalink / raw)
  To: Konstantin Ryabitsev; +Cc: meta

Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:
> On Thu, Sep 09, 2021 at 08:06:28PM +0000, Eric Wong wrote:
> > Konstantin Ryabitsev <konstantin@linuxfoundation.org> 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).

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-09 21:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-09 15:19 Tracking one-off threads with lei Konstantin Ryabitsev
2021-09-09 20:06 ` Eric Wong
2021-09-09 20:56   ` Konstantin Ryabitsev
2021-09-09 21:06     ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).