Re: Multiple header sources for an index.header query prefix?

Subject: Re: Multiple header sources for an index.header query prefix?

Date: Mon, 16 Aug 2021 08:20:23 -0700

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Keith Amidon


On 8/15/21 12:27 PM, David Bremner wrote:
> I should repeat my advertising for the (in-progress) s-expression query
> parser [1], which would allow defining macros to group various user
> defined headers. So assuming headers XSpam and XSpamResult are defined,
>
> $ notmuch config set squery.Spam '(macro (term) (or (XSpam term) (XSpamResult term)))'
> $ notmuch search --query=sexp '(Spam "foo bar baz")'
>
> If that seems workable for you, you could just wait ;).

Neat! I'll check it out. Thanks for the pointer.  --- Keith
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: