Re: [PATCH v4 08/16] reorganize indexing of multipart/signed and multipart/encrypted
[notmuch-archives.git] / b8 / 80348d5fddc0487e8fa0c17d6b589bc47a8467
1 Return-Path: <david@tethera.net>\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 arlo.cworth.org (Postfix) with ESMTP id C343C6DE178D\r
6  for <notmuch@notmuchmail.org>; Tue,  8 Mar 2016 03:22:29 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.033\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.033 tagged_above=-999 required=5\r
12  tests=[AWL=-0.022, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id iNG5QwWwWvg3 for <notmuch@notmuchmail.org>;\r
17  Tue,  8 Mar 2016 03:22:27 -0800 (PST)\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 737946DE1774\r
20  for <notmuch@notmuchmail.org>; Tue,  8 Mar 2016 03:22:27 -0800 (PST)\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
22  (envelope-from <david@tethera.net>)\r
23  id 1adFj8-0001i2-KE; Tue, 08 Mar 2016 06:22:58 -0500\r
24 Received: (nullmailer pid 29693 invoked by uid 1000);\r
25  Tue, 08 Mar 2016 11:22:17 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Matthew Lear <matt@bubblegen.co.uk>, David Edmondson <dme@dme.org>\r
28 Cc: notmuch@notmuchmail.org\r
29 Subject: Re: (emacs) Parsing problems replying to encrypted html\r
30 In-Reply-To: <87h9gigfyz.fsf@bubblegen.co.uk>\r
31 References: <f50e07855e9bbbdd780ef925d8e2d879.squirrel@webmail.plus.net>\r
32  <m2a8miwc6x.fsf@dme.org>\r
33  <c4ff9f2c141441be10b1cb4b1e0300a7.squirrel@webmail.plus.net>\r
34  <56DD48B3.90604@bubblegen.co.uk> <87mvqatr6y.fsf@zancas.localnet>\r
35  <87h9gigfyz.fsf@bubblegen.co.uk>\r
36 User-Agent: Notmuch/0.21+74~g6c60fb1 (http://notmuchmail.org) Emacs/24.5.1\r
37  (x86_64-pc-linux-gnu)\r
38 Date: Tue, 08 Mar 2016 07:22:17 -0400\r
39 Message-ID: <87pov58b9y.fsf@zancas.localnet>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.20\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46  <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
48  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
53  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Tue, 08 Mar 2016 11:22:29 -0000\r
55 \r
56 Matthew Lear <matt@bubblegen.co.uk> writes:\r
57 \r
58 >>\r
59 >> Please encrypt a message to the attached gpg key (from the notmuch test\r
60 >> suite), and send it to the list as an attachement if you can replicate\r
61 >> the bug.\r
62 >\r
63 > Done. Attached here.\r
64 >\r
65 > [ 1457383253_0.15104.sunrise,U=4513,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S: application/octet-stream ]\r
66 \r
67 Thanks for the test case. I can duplicate a (the?) bug as\r
68 follows. Replying to that message from notmuch-show mode works, but\r
69 replying from notmuch-search mode yields\r
70 \r
71 > !!! Bodypart insert error: Wrong type argument: number-or-marker-p, nil !!!\r
72 > [ application/pgp-encrypted ]\r
73 > Version: 1\r
74 > [ encrypted.asc: application/octet-stream (as text/plain) ]\r
75 > !!! Bodypart insert error: Internal error: No :content from ("show" "--format=sexp" "--include-html" "--part=3" "id:56DDE706.6060702@bubblegen.co.uk") !!!\r
76 \r
77 Followed by the ciphertext.\r
78 > -----BEGIN PGP MESSAGE-----\r
79 \r
80 If anyone wants to play with this, you just need to import the notmuch\r
81 test key into your keyring, something like\r
82 \r
83 gpg --import path/to/notmuch-source/test/gnupg-secret-key.asc\r
84 \r
85 What's odd is that the notmuch command in the error message works on the\r
86 command line.\r