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

2012-05-06 Thread David Bremner
Michal Sojka writes: > 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.

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

2012-05-06 Thread David Bremner
Michal Sojka sojk...@fel.cvut.cz writes: 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

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

2012-05-02 Thread Adam Wolfe Gordon
On Tue, May 1, 2012 at 3:10 PM, Michal Sojka 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

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

2012-05-02 Thread Adam Wolfe Gordon
On Tue, May 1, 2012 at 3:10 PM, Michal Sojka sojk...@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

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

2012-05-01 Thread Michal Sojka
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