]> git.cworth.org Git - notmuch/commit
emacs: Do not pass stderr of notmuch reply to JSON parser
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 1 May 2012 21:10:47 +0000 (23:10 +0200)
committerDavid Bremner <bremner@debian.org>
Sun, 6 May 2012 11:49:38 +0000 (08:49 -0300)
commite02c179c8f6cddcc0b6457ccd0fd40186c75e3db
tree7bee060bdafd9c5e6b4ed7e47bd7df68eaf0f80f
parent832fd1a7a63ced91d9519d217ba187ee08eea13c
emacs: Do not pass stderr of notmuch reply to JSON parser

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.
emacs/notmuch-mua.el