[PATCH] emacs: send notmuch-query stderr to /dev/null
Carl Worth
cworth at cworth.org
Wed Jan 26 20:49:43 PST 2011
On Wed, 26 Jan 2011 12:57:50 -0800, Jameson Rollins <jrollins at finestructure.net> wrote:
> The call-process to notmuch in notmuch-query.el was previously sending
> stderr into the output buffer. This means that if there is any stderr
> the JSON parsing breaks. Unfortunately call-process does not support
> sending stderr to a separate buffer or to the minibuffer [0], but it
> does support sending it to /dev/null. So we do that here instead.
>
> [0] a bug was filed against emacs (#7842)
Thanks! I had wondered what those json errors were about. I've committed
this.
I am a bit concerned about throwing the error output away, of course,
(so we'll wait for that fix to emacs---thanks for submitting a bug
report). Do you have a sense of what kinds of output we are getting on
stderr?
-Carl
--
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110127/7cc33d89/attachment.pgp>
More information about the notmuch
mailing list