Hi [I know I am really late on this one ;)] On Mon, 19 Apr 2010 18:16:53 -0700, Carl Worth <cworth@cworth.org> wrote: > On Tue, 20 Apr 2010 00:23:01 +0200, Xavier Maillard <xma@gnu.org> wrote: > > GNU Emacs interface comes with 2 functions I am not sure I am > > using correctly. > > > > What's the difference between searching and filtering exactly (s > > and f) ? It seems to me that they deserve the same purpose. > > The search command executes a new global search. It will display all > threads from the database with messages that match the search terms. > > The filter command refines the current search. It will take the current > search and filter it down to those threads with messages match the > search terms. > > The filter command is a convenience function for taking the current > search terms, appending "and <new-search-terms>" and then running a new > global search. > > Does that make sense? Yes and no ;) In fact I'd rather have 'f' does a 'f'orward of current thread/message rather than refine the current search. Why not just have a unique function then if, in the end, there is another global search ? I would propose to have 's' (when in a notmuch-search buffer) to do what pressing 'f' does today -i.e appending a 'and' and bind C-u s RET to do a whole brand new global search. What aout that ? /Xavier