1 Return-Path: <tomi.ollila@iki.fi>
\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 40A3F6DE028A
\r
6 for <notmuch@notmuchmail.org>; Tue, 8 Mar 2016 04:39:04 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.635 tagged_above=-999 required=5 tests=[AWL=-0.017,
\r
12 SPF_NEUTRAL=0.652] autolearn=disabled
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 5dMgUks3QkZ6 for <notmuch@notmuchmail.org>;
\r
16 Tue, 8 Mar 2016 04:39:02 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by arlo.cworth.org (Postfix) with ESMTP id 720776DE0274
\r
19 for <notmuch@notmuchmail.org>; Tue, 8 Mar 2016 04:39:02 -0800 (PST)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id D023D10005A;
\r
22 Tue, 8 Mar 2016 14:39:11 +0200 (EET)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: David Bremner <david@tethera.net>, Matthew Lear <matt@bubblegen.co.uk>,
\r
25 David Edmondson <dme@dme.org>
\r
26 Cc: notmuch@notmuchmail.org
\r
27 Subject: Re: (emacs) Parsing problems replying to encrypted html
\r
28 In-Reply-To: <m260wxkvf3.fsf@guru.guru-group.fi>
\r
29 References: <f50e07855e9bbbdd780ef925d8e2d879.squirrel@webmail.plus.net>
\r
30 <m2a8miwc6x.fsf@dme.org>
\r
31 <c4ff9f2c141441be10b1cb4b1e0300a7.squirrel@webmail.plus.net>
\r
32 <56DD48B3.90604@bubblegen.co.uk> <87mvqatr6y.fsf@zancas.localnet>
\r
33 <87h9gigfyz.fsf@bubblegen.co.uk> <87pov58b9y.fsf@zancas.localnet>
\r
34 <m260wxkvf3.fsf@guru.guru-group.fi>
\r
35 User-Agent: Notmuch/0.21+81~g4743a61 (http://notmuchmail.org) Emacs/24.3.1
\r
36 (x86_64-unknown-linux-gnu)
\r
37 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
38 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
39 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
40 Date: Tue, 08 Mar 2016 14:39:11 +0200
\r
41 Message-ID: <m21t7lkuts.fsf@guru.guru-group.fi>
\r
43 Content-Type: text/plain
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.20
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Tue, 08 Mar 2016 12:39:04 -0000
\r
58 On Tue, Mar 08 2016, Tomi Ollila wrote:
\r
61 > On Tue, Mar 08 2016, David Bremner wrote:
\r
64 >> Matthew Lear <matt@bubblegen.co.uk> writes:
\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
71 >>> !!! Bodypart insert error: Wrong type argument: number-or-marker-p, nil !!!
\r
72 >>> [ application/pgp-encrypted ]
\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
77 >> Followed by the ciphertext.
\r
78 >>> -----BEGIN PGP MESSAGE-----
\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
83 >> gpg --import path/to/notmuch-source/test/gnupg-secret-key.asc
\r
85 >> What's odd is that the notmuch command in the error message works on the
\r
88 > I got these to my log:
\r
90 > when replying from search:
\r
92 > 2016-03-08 (Tue) 14:16:01: reply --format=sexp --format-version=1 --reply-to=sender thread:0000000000004a6f
\r
93 > 2016-03-08 (Tue) 14:16:01: show --format=raw --part=2 id:56DDE706.6060702@bubblegen.co.uk
\r
94 > 2016-03-08 (Tue) 14:16:01: show --format=sexp --include-html --part=3 id:56DDE706.6060702@bubblegen.co.uk
\r
96 The above line returns (same as in latest !!! bodypart insert error !!!)
\r
98 (:id 3 :content-type "application/octet-stream" :filename "encrypted.asc" :content-length 1875)
\r
100 -- there is no content to be included from that line :/ (and wat is this
\r
101 "encrypted.asc" anyway ?)
\r
103 > when replying from show:
\r
105 > 2016-03-08 (Tue) 14:16:37: reply --format=sexp --format-version=1 --decrypt --reply-to=sender id:56DDE706.6060702@bubblegen.co.uk
\r
107 the --decrypt here provided the content (from part=3) in this case.
\r