[neomutt-users] computed/evaluated search

Ian Zimmerman itz at very.loosely.org
Sun Nov 4 17:32:13 CET 2018


On 2018-11-04 10:02, Nicolas Paris wrote:

> > The way I'm thinking of (I hope a better one) is to add a new pattern
> > type, say ~I, to neomutt.  It would take a command line as its
> > argument.  Running the command line should produce a bunch of
> > message-ids on stdout, separated by white space; the meaning of the
> > pattern would be to match mails whose message-id is one of the bunch.
> 
> Sounds good. Is it something like:
> 
> Type "l" to limit, then:
> ~f ian ~I giant
> 
> would result in:
> limit the email's from Ian containing 'giant'. Use an external
> program to filter such notmuch configured in the muttrc:
> external-if-filter "notmutch query: %s"

I was thinking the prompt for the query should be in the program or
script, and the _script name_ is the argument for the pattern.  But your
proposal makes good sense too!

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.


More information about the neomutt-users mailing list