From: Mark Walters Date: Wed, 28 Oct 2015 18:28:39 +0000 (+0000) Subject: emacs: poll: return useful errors when poll fails. X-Git-Tag: 0.22_rc0~97^2 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=4c7a592d49266d588e717c232bc7aacbe4e16bfb;hp=4c7a592d49266d588e717c232bc7aacbe4e16bfb;p=notmuch emacs: poll: return useful errors when poll fails. 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. ---