Re: [PATCH] emacs: send notmuch-query stderr to /dev/null

Subject: Re: [PATCH] emacs: send notmuch-query stderr to /dev/null

Date: Thu, 27 Jan 2011 14:49:43 +1000

To: Jameson Rollins, Notmuch Mail

Cc:

From: Carl Worth


On Wed, 26 Jan 2011 12:57:50 -0800, Jameson Rollins <jrollins@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@intel.com
part-000.sig (application/pgp-signature)

Thread: