Changes since v3: This is a complete rewrite based on Mark's awesome patch to make all buffer mode's refresh functions non-interactive and consistent wrt to their arguments (Mark's patch is included in this series). For a complete example how I use this feature you can look at https://github.com/10ne1/emacs-config/blob/master/lisp/my-notmuch.el Ioan-Adrian Ratiu (5): emacs: notmuch-search-refresh-view: reuse buffer emacs: notmuch-search: add no-display functionality emacs: notmuch-show: refresh all windows displaying buffer emacs: add no-display arg to generic refresh functions emacs: notmuch-lib: add refresh all buffers function Mark Walters (1): emacs: make the refresh code more consistent emacs/notmuch-hello.el | 2 +- emacs/notmuch-lib.el | 37 +++++++++++++++++++++++++++---------- emacs/notmuch-show.el | 21 ++++++++++++++------- emacs/notmuch-tree.el | 5 ++--- emacs/notmuch.el | 21 ++++++++++++++------- 5 files changed, 58 insertions(+), 28 deletions(-) -- 2.10.0