Quoth Tomi Ollila on Dec 08 at 8:21 am: > On Sat, Dec 08 2012, "Jason A. Donenfeld" <Jason@zx2c4.com> wrote: > > > Do we support them? Are we going to? > > > > This doesn't work: > > notmuch search -tag:"This has spaces" > > > > Nor does: > > notmuch search "-tag:This has spaces" > > This might work: > > notmuch search "-tag:'This has spaces'" Xapian's query parser doesn't recognize single quotes, unfortunately. When in doubt, $ NOTMUCH_DEBUG_QUERY=1 notmuch search '-tag:"This tag has spaces"' Final query is: Xapian::Query((Tmail AND 0 * KThis tag has spaces)) $ NOTMUCH_DEBUG_QUERY=1 notmuch search "-tag:'This tag has spaces'" Final query is: Xapian::Query((Tmail AND ((Ztag:(pos=1) AND Zhas:(pos=2) AND Zspace:(pos=3)) AND_NOT K'This)))