David Bremner writes: > Unfortunately that list seems to grow rather than shrink over time... Hopefully it won't grow any larger due to this issue :-). I've implemented this in the patch attached to this email. The new option is notmuch-search-exclude, it defaults to true. There are new commands to toggle the value of this variable for the current search and these are bound to "i" in the respective mode maps. I've also changed whether or not notmuch-search-oldest-first and notmuch-search-exclude are persisted across some commands. For example switching from a regular search buffer to a tree buffer with notmuch-tree-from-search-current-query will make sure the value of both these variables is the same in both buffers. Similarly filtering an existing search such as notmuch-search-filter will also persist them, but starting a new search with notmuch-search will reset to the global default value of either of them. There were quite a lot of functions that I've modified or altered in some way with this PR. I've tested the ones I'm familliar with and everythings working the way I expect. If you have any issues please let me know.