Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / fd / 2560dbacf948c284b1a362dc9bdaace36e73de
1 Return-Path: <awg@xvx.ca>\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 AD380431FAF\r
6         for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 08:10:03 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 Lm+Jr+0cisyu for <notmuch@notmuchmail.org>;\r
16         Mon, 30 Apr 2012 08:10:03 -0700 (PDT)\r
17 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
18         [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id D7E83431FAE\r
21         for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 08:10:02 -0700 (PDT)\r
22 Received: by lahc1 with SMTP id c1so2198191lah.26\r
23         for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 08:10:01 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=mime-version:sender:x-originating-ip:in-reply-to:references:date\r
27         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
28         :x-gm-message-state;\r
29         bh=mgeIGNysOgcgDJDxUEaZm5tLkS4WzY0RhFChlhOoGSE=;\r
30         b=kg2H9wPAQIZYGmyDer52oYmXVB2vH8CWOTf8M5qEk4gkYZ9b/INhc0GtS+b7odlRzH\r
31         5zmilRFyBBR+X2Q//tRrz5Bz8KIxwZZmVXk/5ke7Wgf54DQx0akWWjT1OX2p+0Xt+Mf3\r
32         n7pgP6YoqliZapUy7Us2D8RgSvXJf19e+YVUihUaPwpB6leVPBUCx3z2aFGNiUUyhoZk\r
33         houTsl7NwMtrnNANGyKlHnqpM20m96L42vN6OTxIOU0YnJsV4/J+7SdU5ZDYXuB/mPhY\r
34         Iy2CsDhqDRn5zalM0cFR32izyp3pLpdTj5Q0B8RAhJdX1wPjIRUYMjRu19IGhue3kDgv\r
35         YO7g==\r
36 MIME-Version: 1.0\r
37 Received: by 10.152.111.198 with SMTP id ik6mr20098682lab.38.1335798601046;\r
38         Mon, 30 Apr 2012 08:10:01 -0700 (PDT)\r
39 Sender: awg@xvx.ca\r
40 Received: by 10.112.82.163 with HTTP; Mon, 30 Apr 2012 08:10:01 -0700 (PDT)\r
41 X-Originating-IP: [128.221.197.57]\r
42 In-Reply-To: <87ehr55knx.fsf@steelpick.2x.cz>\r
43 References: <87ehr55knx.fsf@steelpick.2x.cz>\r
44 Date: Mon, 30 Apr 2012 09:10:01 -0600\r
45 X-Google-Sender-Auth: uif8ISBPyTMhLJFesCh7EVxsQSc\r
46 Message-ID:\r
47  <CAMoJFUsCe+U_j=oH0c=P6YmD2g_Jk8sxxtJ00JA_sM3dM5pOHQ@mail.gmail.com>\r
48 Subject: Re: JSON readtable error when replying\r
49 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
50 To: Michal Sojka <sojkam1@fel.cvut.cz>\r
51 Content-Type: text/plain; charset=ISO-8859-1\r
52 X-Gm-Message-State:\r
53  ALoCoQlrU3QGlpVuo3vU6zFcRopH/PhIjh5YV2CSkiNbNYrKymaSdt+jBHaKPYO6WxjtLTI5gS1L\r
54 Cc: notmuch <notmuch@notmuchmail.org>\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Mon, 30 Apr 2012 15:10:03 -0000\r
68 \r
69 Hi Michal,\r
70 \r
71 On Mon, Apr 30, 2012 at 09:00, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
72 > when I try to reply within emacs to a particular message, I get "JSON\r
73 > readtable error". This happens with with the current git master as well\r
74 > as with a version from about a month ago. Is this a known problem or\r
75 > shall I dig into it and find what wrong?\r
76 \r
77 Sounds like notmuch reply is producing bad JSON for that particular\r
78 message. Could you try the following, replacing <message id> with the\r
79 message ID of the message you're replying to:\r
80 \r
81 notmuch reply --format=json id:"<message id>" | json_xs -t json-pretty\r
82 \r
83 and see if it complains? The json_xs tool is in the libjson-xs-perl\r
84 package in Ubuntu. If you can't get it, run just the notmuch reply\r
85 command, and see what it does - the JSON will be hard to read, but if\r
86 it's producing an error of some sort you'll see it.\r
87 \r
88 -- Adam\r