Thread subqueries

Daniel Kahn Gillmor dkg at
Fri May 11 08:41:57 PDT 2018

On Fri 2018-05-11 07:15:41 -0300, David Bremner wrote:
> Daniel Kahn Gillmor <dkg at> writes:
>> 0 dkg at alice:~$ notmuch count 'thread:{ tag:dkg}'
>> notmuch count: A Xapian exception occurred
>> A Xapian exception occurred parsing query: missing } in '{'
>> Query string was: thread:{ tag:dkg}
>> 1 dkg at alice:~$ 
> Pretty sure what you want here is
>         $ notmuch count 'thread:"{ tag:dkg}"'

Thanks, yes, that's it.  I still find the quoting/assembling rules for
notmuch queries non-intuitive, but maybe one day i'll wrap my head
around them some day.  I certainly don't have any specific suggestions
for improvement.

This is a really useful feature, much appreciated!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the notmuch mailing list