Keith Amidon <camalot@picnicpark.org> writes: >>> I started thinking about how I would add this feature and was thinking >>> it might be better to support in the configuration by using semi-colon >>> separated values like some of the other config options. For example: >>> >>> [index] >>> header.Spam=X-Spam;X-Spam-Result > Thanks for the encouragement and suggestions. The time it has taken me > to respond to this thread is a fairly accurate indication of the amount > of time I have to work on this right now, but it is something that I'd > definitely would find useful so I'll plug away on it when I can make > time and update the list when I hopefully get something working. > 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 ;). d [1] id:20210812170728.1348333-2-david@tethera.net _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org