[notmuch] [PATCH] Allow lone "not" search operators

2009-11-19 Thread Carl Worth
On Thu, 19 Nov 2009 01:07:22 +0100, Adrian Perez wrote: > As suggested by Keith in FLAG_PURE_NOT allows for expressions like: > > notmuch search NOT tag:inbox Oh, fantastic! I guess I'd run into enough QueryParser bugs recently that I was willing to blame it without cause this time. And I *th

[notmuch] [PATCH] Allow lone "not" search operators

2009-11-19 Thread Adrian Perez
As suggested by Keith in FLAG_PURE_NOT allows for expressions like: notmuch search NOT tag:inbox Note that this way a search like: notmuch search foobar NOT tag:inbox should not be written instead: notmuch search foobar AND NOT tag:inbox In my opinion, the latter feels more natural and