Hi!

Trying to add List matching to my notmuch tagging and I found
something that surprises me. Namely,

1) when I want to match a bunch of alternatives for <from:>
prefix, I have to quote the parenthesis to get the results:

$ notmuch search 'from:"(b...@some.io or m...@example.com)"'
<results found>
$ notmuch search 'from:(b...@some.io or m...@example.com)'
<no results>

2) when I want to do the same to a parenthesised set of <List:>
alternatives, I must leave it unquoted to get the results.

$ notmuch search 'List:"(freebsd-annou...@freebsd.org or m...@openbsd.org)"'
<no results>
$ notmuch search 'List:(freebsd-annou...@freebsd.org or m...@openbsd.org)'
<results found>

I use the standard "index.header.List=List-Id" key-value as
pointed out in notmuch-config(1).

Is this expected behaviour? If so, why?


Regards,
Artur
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to