On Fri, May 11 2018, Daniel Kahn Gillmor wrote: > On Fri 2018-05-11 07:15:41 -0300, David Bremner wrote: >> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes: >> >>> 0 dkg@alice:~$ notmuch count 'thread:{date:1month..now tag:dkg}' >>> notmuch count: A Xapian exception occurred >>> A Xapian exception occurred parsing query: missing } in '{date:1month..now' >>> Query string was: thread:{date:1month..now tag:dkg} >>> 1 dkg@alice:~$ >> >> Pretty sure what you want here is >> >> $ notmuch count 'thread:"{date:1month..now tag:dkg}"' question: how does these differ (processing-wise): $ notmuch count 'thread:"date:1month..now tag:dkg"' $ notmuch count 'thread:{date:1month..now tag:dkg}' $ notmuch count 'thread:"{date:1month..now tag:dkg}"' understanding the reasons behind these might help to use these in desired ways (or we could just say use "{...}" to get this to work). Tomi > 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! > > --dkg _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch