Pranshu Sharma <pranshu@bauherren.ovh> writes: > How do I do this? using 'not:tag' hides all result which contain the > 'tag' word. I'm not completely clear what you want to do. You can use "not tag:foo" to match messages not containing the tag foo. If you want messages without any tags, then you either have do some scripting (and two queries), or use the sexp query parser something like notmuch search --query=sexp '(not (tag *))' > '--exclude' works for the CLI, but I want to do be able to do this in > emacs. This is more like the "not tag:foo" version of the question. You can add excludes to saved searches, but indeed they are not part of the query, which is what most interactive input to notmuch expects. _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org