Re: [PATCH] emacs: poll: return useful errors when poll fails.

Subject: Re: [PATCH] emacs: poll: return useful errors when poll fails.

Date: Mon, 23 Nov 2015 08:51:03 -0400

To: Mark Walters, notmuch@notmuchmail.org, ketil@malde.org

Cc:

From: David Bremner


Mark Walters <markwalters1009@gmail.com> writes:

> Previously poll called from emacs would fail silently. This makes it
> return a useful error message.
>
> In the non-deprecated case of notmuch new and appropriate hooks, it
> uses notmuch-call-notmuch-process which gives an error and
> additionally puts the stdout/stderr etc in the *Notmuch errors*
> buffer.
>
> In the deprecated case of a custom poll script it only returns an
> error message.
>
> Commit based on a bug report, and a potential fix, by Ketil Malde.

applied to release and master

d

Thread: