Re: (emacs) Parsing problems replying to encrypted html
authorDavid Bremner <david@tethera.net>
Tue, 8 Mar 2016 11:22:17 +0000 (07:22 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:15 +0000 (16:21 -0700)
b8/80348d5fddc0487e8fa0c17d6b589bc47a8467 [new file with mode: 0644]

diff --git a/b8/80348d5fddc0487e8fa0c17d6b589bc47a8467 b/b8/80348d5fddc0487e8fa0c17d6b589bc47a8467
new file mode 100644 (file)
index 0000000..50cc2ba
--- /dev/null
@@ -0,0 +1,86 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id C343C6DE178D\r
+ for <notmuch@notmuchmail.org>; Tue,  8 Mar 2016 03:22:29 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.033\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.033 tagged_above=-999 required=5\r
+ tests=[AWL=-0.022, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id iNG5QwWwWvg3 for <notmuch@notmuchmail.org>;\r
+ Tue,  8 Mar 2016 03:22:27 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 737946DE1774\r
+ for <notmuch@notmuchmail.org>; Tue,  8 Mar 2016 03:22:27 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1adFj8-0001i2-KE; Tue, 08 Mar 2016 06:22:58 -0500\r
+Received: (nullmailer pid 29693 invoked by uid 1000);\r
+ Tue, 08 Mar 2016 11:22:17 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Matthew Lear <matt@bubblegen.co.uk>, David Edmondson <dme@dme.org>\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: (emacs) Parsing problems replying to encrypted html\r
+In-Reply-To: <87h9gigfyz.fsf@bubblegen.co.uk>\r
+References: <f50e07855e9bbbdd780ef925d8e2d879.squirrel@webmail.plus.net>\r
+ <m2a8miwc6x.fsf@dme.org>\r
+ <c4ff9f2c141441be10b1cb4b1e0300a7.squirrel@webmail.plus.net>\r
+ <56DD48B3.90604@bubblegen.co.uk> <87mvqatr6y.fsf@zancas.localnet>\r
+ <87h9gigfyz.fsf@bubblegen.co.uk>\r
+User-Agent: Notmuch/0.21+74~g6c60fb1 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 08 Mar 2016 07:22:17 -0400\r
+Message-ID: <87pov58b9y.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 08 Mar 2016 11:22:29 -0000\r
+\r
+Matthew Lear <matt@bubblegen.co.uk> writes:\r
+\r
+>>\r
+>> Please encrypt a message to the attached gpg key (from the notmuch test\r
+>> suite), and send it to the list as an attachement if you can replicate\r
+>> the bug.\r
+>\r
+> Done. Attached here.\r
+>\r
+> [ 1457383253_0.15104.sunrise,U=4513,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S: application/octet-stream ]\r
+\r
+Thanks for the test case. I can duplicate a (the?) bug as\r
+follows. Replying to that message from notmuch-show mode works, but\r
+replying from notmuch-search mode yields\r
+\r
+> !!! Bodypart insert error: Wrong type argument: number-or-marker-p, nil !!!\r
+> [ application/pgp-encrypted ]\r
+> Version: 1\r
+> [ encrypted.asc: application/octet-stream (as text/plain) ]\r
+> !!! Bodypart insert error: Internal error: No :content from ("show" "--format=sexp" "--include-html" "--part=3" "id:56DDE706.6060702@bubblegen.co.uk") !!!\r
+\r
+Followed by the ciphertext.\r
+> -----BEGIN PGP MESSAGE-----\r
+\r
+If anyone wants to play with this, you just need to import the notmuch\r
+test key into your keyring, something like\r
+\r
+gpg --import path/to/notmuch-source/test/gnupg-secret-key.asc\r
+\r
+What's odd is that the notmuch command in the error message works on the\r
+command line.\r