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

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

Date: Fri, 12 Feb 2016 19:14:36 +0200

To: David Edmondson, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Thu, Feb 11 2016, David Edmondson <dme@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(-)
>

Thread: