--- /dev/null
+Return-Path: <awg@xvx.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 1875B431FAF\r
+ for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 20:36:33 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id n+MA4nb9pleJ for <notmuch@notmuchmail.org>;\r
+ Mon, 30 Apr 2012 20:36:31 -0700 (PDT)\r
+Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
+ [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id D03E5431FAE\r
+ for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 20:36:30 -0700 (PDT)\r
+Received: by lahc1 with SMTP id c1so2615321lah.26\r
+ for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 20:36:29 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=google.com; s=20120113;\r
+ h=mime-version:sender:x-originating-ip:in-reply-to:references:date\r
+ :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
+ :content-transfer-encoding:x-gm-message-state;\r
+ bh=YLOzDXA+eIamYDOB86S9o+UZn/brqCfn1ff4oNtbFH0=;\r
+ b=oN1oCCuyOL/Re3D2DFnjuCFe/obfb01R4Od8ODRsz9GUrkBahctEt6uKvBkJxvgRCO\r
+ gVuQbdLbJBe0HVlxefOCJdYHwX9D4bF6DEn9KGReAOkvGpkcPIFvehn1XF4ABfF74SM9\r
+ htO33ZOA86cFURvu2ZtZZp/LUExNVHTB6RCdtr81fFu1Loo9Vne9tpoESGQwI9n1K1LU\r
+ 4H1r32GFxza7YANsRWSE1RW8V0o0mT9vGGGjQ90tbcotDHlcyqDTsLLARfUtrVNYJC02\r
+ pXafnGxKLybjZQAiICQkLbNt/rGH6bpQLtEG9X0BZ0fWb03V5vYIkhk+qKqpgoP1/5Op\r
+ YWgw==\r
+MIME-Version: 1.0\r
+Received: by 10.152.112.97 with SMTP id ip1mr21876103lab.31.1335843389014;\r
+ Mon, 30 Apr 2012 20:36:29 -0700 (PDT)\r
+Sender: awg@xvx.ca\r
+Received: by 10.112.82.163 with HTTP; Mon, 30 Apr 2012 20:36:28 -0700 (PDT)\r
+X-Originating-IP: [96.52.216.56]\r
+In-Reply-To: <874ns15fky.fsf@steelpick.2x.cz>\r
+References: <87ehr55knx.fsf@steelpick.2x.cz>\r
+ <CAMoJFUsCe+U_j=oH0c=P6YmD2g_Jk8sxxtJ00JA_sM3dM5pOHQ@mail.gmail.com>\r
+ <874ns15fky.fsf@steelpick.2x.cz>\r
+Date: Mon, 30 Apr 2012 21:36:28 -0600\r
+X-Google-Sender-Auth: D7Hu99-8OuktoKBbG9-m-uL_WTU\r
+Message-ID:\r
+ <CAMoJFUsnxbRz3yPZSVA0w8C2-Qt8fXx3X6i3RZ+QvZGv2EtiFQ@mail.gmail.com>\r
+Subject: Re: JSON readtable error when replying\r
+From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+X-Gm-Message-State:\r
+ ALoCoQkGZKIdL6ZXNXtiiSEvlASxk3EWN4JpXLAAbyIMlCaW4pzFOV3UN/uvfyO1OR/rjeVKQm1J\r
+Cc: notmuch <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 01 May 2012 03:36:33 -0000\r
+\r
+On Mon, Apr 30, 2012 at 10:50, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+> json_xs didn't complain, but I've found that notmuch outputs\r
+> =A0Failed to verify signed part: Cannot verify multipart/signed part: uns=\r
+upported signature protocol 'application/x-pkcs7-signature'.\r
+> to stderr before the json output and emacs tries to parse\r
+> stderr. Emacs then complains about not finding "F" in json-readtable.\r
+>\r
+> The following patch fixes the problem for me, but I do not know if it is\r
+> a good thing to throw away the stderr output of notmuch.\r
+>\r
+> diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el\r
+> index 87bd88d..49db603 100644\r
+> --- a/emacs/notmuch-mua.el\r
+> +++ b/emacs/notmuch-mua.el\r
+> @@ -113,7 +113,7 @@ list."\r
+>\r
+> =A0 =A0 ;; Get the reply object as JSON, and parse it into an elisp objec=\r
+t.\r
+> =A0 =A0 (with-temp-buffer\r
+> - =A0 =A0 =A0(apply 'call-process (append (list notmuch-command nil (list=\r
+ t t) nil) args))\r
+> + =A0 =A0 =A0(apply 'call-process (append (list notmuch-command nil (list=\r
+ t nil) nil) args))\r
+> =A0 =A0 =A0 (goto-char (point-min))\r
+> =A0 =A0 =A0 (let ((json-object-type 'plist)\r
+> =A0 =A0 =A0 =A0 =A0 =A0(json-array-type 'list)\r
+>\r
+> Comments?\r
+\r
+Good catch. I'm not sure what (if anything) we want to do with the\r
+stderr output, but putting it in the buffer with the JSON is\r
+definitely not the right thing. Your fix looks fine to me - would you\r
+mind doing a commit and sending a patch to the list?\r
+\r
+David, it would probably be good to get this (pretty trivial) fix in\r
+before 0.13, since it will include the JSON reply stuff.\r
+\r
+-- Adam\r