On Wed, 18 Nov 2009 13:50:58 -0600, Jeffrey Ollie <jeff@ocjtech.us> wrote: > That resulted in an error for me: > > $ notmuch search not tag:inbox > A Xapian exception occurred: Syntax: <expression> NOT <expression> > A Xapian exception occurred: Syntax: <expression> NOT <expression> Yeah, NOT isn't a unary operator in xapian; it's a binary operator that means 'AND NOT'. The Xapian docs say that if you set the FLAG_PURE_NOT flag, you'll get the unary behaviour, but I haven't tried that. -- keith.packard@intel.com