From ca6316d437175cfc37c4768c085b25bdbd1be6c3 Mon Sep 17 00:00:00 2001 From: Matthew Lear Date: Tue, 8 Mar 2016 19:44:06 +0000 Subject: [PATCH] Re: (emacs) Parsing problems replying to encrypted html --- a5/e061f6b2771d35a25f46da4c8c19fc02ef489a | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 a5/e061f6b2771d35a25f46da4c8c19fc02ef489a diff --git a/a5/e061f6b2771d35a25f46da4c8c19fc02ef489a b/a5/e061f6b2771d35a25f46da4c8c19fc02ef489a new file mode 100644 index 000000000..b75c4ce18 --- /dev/null +++ b/a5/e061f6b2771d35a25f46da4c8c19fc02ef489a @@ -0,0 +1,98 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 92F836DE1808 + for ; Tue, 8 Mar 2016 03:44:15 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.642 +X-Spam-Level: +X-Spam-Status: No, score=-0.642 tagged_above=-999 required=5 tests=[AWL=0.058, + RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id bLC2Ekdn2V_I for ; + Tue, 8 Mar 2016 03:44:13 -0800 (PST) +Received: from avasout04.plus.net (avasout04.plus.net [212.159.14.19]) + by arlo.cworth.org (Postfix) with ESMTPS id 391506DE178D + for ; Tue, 8 Mar 2016 03:44:12 -0800 (PST) +Received: from localhost ([84.93.237.98]) by avasout04 with smtp + id TPk61s001283uBY01Pk7q3; Tue, 08 Mar 2016 11:44:10 +0000 +X-CM-Score: 0.00 +X-CNFS-Analysis: v=2.1 cv=K//fZHiI c=1 sm=1 tr=0 + a=BJaFPv9AyABFDM2hXLRoEA==:117 a=BJaFPv9AyABFDM2hXLRoEA==:17 + a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=8nJEP1OIZ-IA:10 + a=7OsogOcEt9IA:10 a=80hmnl3cAAAA:8 a=_-GYKy-_KWKWMQEewQQA:9 + a=BliXh7agYRpINtLY:21 a=g9xFx9DwSoorDAjz:21 a=wPNLvfGTeEIA:10 +Received: from localhost ([127.0.0.1] helo=webmail.plus.net) + by localhost with esmtp (Exim 4.76) + (envelope-from ) + id 1adG3Z-0005nF-VV; Tue, 08 Mar 2016 11:44:06 +0000 +Received: from 216.31.211.11 (proxying for unknown) + (SquirrelMail authenticated user bubblegen+matt) + by webmail.plus.net with HTTP; Tue, 8 Mar 2016 11:44:06 -0000 +Message-ID: <590e9f6c225d559cc9e9f2f4fbdcaa57.squirrel@webmail.plus.net> +In-Reply-To: <87pov58b9y.fsf@zancas.localnet> +References: + + + <56DD48B3.90604@bubblegen.co.uk> <87mvqatr6y.fsf@zancas.localnet> + <87h9gigfyz.fsf@bubblegen.co.uk> <87pov58b9y.fsf@zancas.localnet> +Date: Tue, 8 Mar 2016 11:44:06 -0000 +Subject: Re: (emacs) Parsing problems replying to encrypted html +From: "Matthew Lear" +To: "David Bremner" +Cc: "Matthew Lear" , "David Edmondson" , + notmuch@notmuchmail.org +Reply-To: matt@bubblegen.co.uk +User-Agent: SquirrelMail +MIME-Version: 1.0 +Content-Type: text/plain;charset=iso-8859-1 +Content-Transfer-Encoding: 8bit +X-Priority: 3 (Normal) +Importance: Normal +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 08 Mar 2016 11:44:15 -0000 + +> Thanks for the test case. I can duplicate a (the?) bug as +> follows. Replying to that message from notmuch-show mode works, but +> replying from notmuch-search mode yields +> +>> !!! Bodypart insert error: Wrong type argument: number-or-marker-p, nil +>> !!! +>> [ application/pgp-encrypted ] +>> Version: 1 +>> [ encrypted.asc: application/octet-stream (as text/plain) ] +>> !!! Bodypart insert error: Internal error: No :content from ("show" +>> "--format=sexp" "--include-html" "--part=3" +>> "id:56DDE706.6060702@bubblegen.co.uk") !!! +> +> Followed by the ciphertext. +>> -----BEGIN PGP MESSAGE----- +> +> If anyone wants to play with this, you just need to import the notmuch +> test key into your keyring, something like +> +> gpg --import path/to/notmuch-source/test/gnupg-secret-key.asc +> +> What's odd is that the notmuch command in the error message works on the +> command line. +> + +Hmm. In emacs, if I try to reply to the message from notmuch-search, I get +no error but there is no quoted text from the original message in the +reply body and all I see is the 'on , wrote:' citation. +Replying from notmuch-show gives me the error I mentioned previously. + -- 2.26.2