1 Return-Path: <sojkam1@fel.cvut.cz>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 87B05429E20
\r
6 for <notmuch@notmuchmail.org>; Thu, 27 Jan 2011 03:29:09 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id dwZSdC24N3On for <notmuch@notmuchmail.org>;
\r
16 Thu, 27 Jan 2011 03:29:08 -0800 (PST)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 4B810431FB6
\r
19 for <notmuch@notmuchmail.org>; Thu, 27 Jan 2011 03:29:08 -0800 (PST)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 9511D3CFE73;
\r
22 Thu, 27 Jan 2011 12:29:07 +0100 (CET)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id c5RE+JQNxl04; Thu, 27 Jan 2011 12:29:06 +0100 (CET)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id 349243CFE71;
\r
30 Thu, 27 Jan 2011 12:29:06 +0100 (CET)
\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id 34F1915C06F;
\r
34 Thu, 27 Jan 2011 12:29:06 +0100 (CET)
\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1PiQ2E-0002Qn-0e; Thu, 27 Jan 2011 12:29:06 +0100
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: Carl Worth <cworth@cworth.org>,
\r
40 Jameson Rollins <jrollins@finestructure.net>,
\r
41 Notmuch Mail <notmuch@notmuchmail.org>
\r
42 Subject: Re: [PATCH] emacs: send notmuch-query stderr to /dev/null
\r
43 In-Reply-To: <87lj27ymqg.fsf@yoom.home.cworth.org>
\r
44 References: <878vy7tjog.fsf@servo.finestructure.net>
\r
45 <87lj27ymqg.fsf@yoom.home.cworth.org>
\r
46 User-Agent: Notmuch/0.5-87-g9705d00 (http://notmuchmail.org) Emacs/23.2.1
\r
47 (x86_64-pc-linux-gnu)
\r
48 Date: Thu, 27 Jan 2011 12:29:05 +0100
\r
49 Message-ID: <87zkqm7fge.fsf@steelpick.2x.cz>
\r
51 Content-Type: text/plain; charset=us-ascii
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.13
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Thu, 27 Jan 2011 11:29:09 -0000
\r
66 On Thu, 27 Jan 2011, Carl Worth wrote:
\r
67 > On Wed, 26 Jan 2011 12:57:50 -0800, Jameson Rollins <jrollins@finestructure.net> wrote:
\r
68 > > The call-process to notmuch in notmuch-query.el was previously sending
\r
69 > > stderr into the output buffer. This means that if there is any stderr
\r
70 > > the JSON parsing breaks. Unfortunately call-process does not support
\r
71 > > sending stderr to a separate buffer or to the minibuffer [0], but it
\r
72 > > does support sending it to /dev/null. So we do that here instead.
\r
74 > > [0] a bug was filed against emacs (#7842)
\r
76 > Thanks! I had wondered what those json errors were about. I've committed
\r
79 > I am a bit concerned about throwing the error output away, of course,
\r
80 > (so we'll wait for that fix to emacs---thanks for submitting a bug
\r
81 > report). Do you have a sense of what kinds of output we are getting on
\r
84 I do not know which errors Jameson experienced, but sometimes I have to
\r
85 use LD_PRELOADed 32bit libraries with some software and when I
\r
86 accidentally run my emacs (which is 64bit) with LD_PRELOAD set this way,
\r
87 every execution of notmuch prints
\r
89 ERROR: ld.so: object '/opt/xilinx/usb-driver/libusb-driver.so' from LD_PRELOAD cannot be preloaded: ignored.
\r
91 and this breaks the parsing. So thanks Jameson for solving this issue
\r