Negating searches in notmuch running via emacs?

2015-01-06 Thread Austin Clements
Hi David. In general, "-" will negate a query term. However, Xapian's query syntax (to which notmuch is beholden) ignores "-" at the beginning of a query (and immediately after an open paren). Hence, if you want to negate the first term in a query, you'll have to use "not" instead. Hope that

Negating searches in notmuch running via emacs?

2015-01-06 Thread David Creelman
Hi Carl (et al), Thanks for notmuch. It's making my email setup a bit more efficient. I used to be a filter to differnt mbox kind of person, but I'm a changed man now !! Just wondered, is it possible to negate a search in notmuch for emacs? I have a bunch of stuff that is in my inbox that I

Negating searches in notmuch running via emacs?

2015-01-06 Thread David Creelman
Hi Carl (et al), Thanks for notmuch. It's making my email setup a bit more efficient. I used to be a filter to differnt mbox kind of person, but I'm a changed man now !! Just wondered, is it possible to negate a search in notmuch for emacs? I have a bunch of stuff that is in my inbox that I

Re: Negating searches in notmuch running via emacs?

2015-01-06 Thread Austin Clements
Hi David. In general, - will negate a query term. However, Xapian's query syntax (to which notmuch is beholden) ignores - at the beginning of a query (and immediately after an open paren). Hence, if you want to negate the first term in a query, you'll have to use not instead. Hope that helps.