[PATCH v3] emacs: Report a lack of matches when calling `notmuch-show'.

Tomi Ollila tomi.ollila at iki.fi
Fri Feb 12 09:14:36 PST 2016


On Thu, Feb 11 2016, David Edmondson <dme at dme.org> wrote:

> If the basic query passed to `notmuch-show' generates no results, ring
> the bell and inform the user that no messages matched the query rather
> than displaying an empty buffer and showing an obscure error.

Looks good (the parts I understood) and works fine (testing with
devel/try-emacs-mua). 

FYI: when testing with (eval-last-sexp) interactively (c-x c-e)
message does not appear in minibuffer -- since the following 'nil'
will take its place -- the msg is in *Messages* buffer

Tomi

>
> Similarly when refreshing a `notmuch-show' buffer and no messages match.
> ---
>  emacs/notmuch-show.el | 144 +++++++++++++++++++++++++++++---------------------
>  emacs/notmuch.el      |   6 ++-
>  2 files changed, 89 insertions(+), 61 deletions(-)
>


More information about the notmuch mailing list