Re: [PATCH] emacs: Do not pass stderr of notmuch reply to JSON parser

Subject: Re: [PATCH] emacs: Do not pass stderr of notmuch reply to JSON parser

Date: Wed, 2 May 2012 11:39:14 -0600

To: Michal Sojka

Cc: notmuch@notmuchmail.org

From: Adam Wolfe Gordon


On Tue, May 1, 2012 at 3:10 PM, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
> Sometimes, notmuch reply outputs something to stderr, for example:
> "Failed to verify signed part: Cannot verify multipart/signed part:
> unsupported signature protocol". When this happens, replying in emacs
> fails, because emacs cannot parse the error message as JSON.
>
> This patch causes emacs to ignore stderr when reading reply from
> notmuch.

LGTM, as I said in the other thread. Thanks for the fix.

-- Adam

Thread: