(emacs) Parsing problems replying to encrypted html

Tomi Ollila tomi.ollila at iki.fi
Tue Mar 8 04:26:24 PST 2016


On Tue, Mar 08 2016, David Bremner wrote:

> [ text/plain ]
> Matthew Lear <matt at bubblegen.co.uk> writes:
>
>>>
>>> Please encrypt a message to the attached gpg key (from the notmuch test
>>> suite), and send it to the list as an attachement if you can replicate
>>> the bug.
>>
>> Done. Attached here.
>>
>> [ 1457383253_0.15104.sunrise,U=4513,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S: application/octet-stream ]
>
> 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 at 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.

I got these to my log:

when replying from search:

2016-03-08 (Tue) 14:16:01: reply --format=sexp --format-version=1 --reply-to=sender thread:0000000000004a6f
2016-03-08 (Tue) 14:16:01: show --format=raw --part=2 id:56DDE706.6060702 at bubblegen.co.uk
2016-03-08 (Tue) 14:16:01: show --format=sexp --include-html --part=3 id:56DDE706.6060702 at bubblegen.co.uk
2016-03-08 (Tue) 14:16:01: show --format=raw --part=3 id:56DDE706.6060702 at bubblegen.co.uk

when replying from show:

2016-03-08 (Tue) 14:16:37: reply --format=sexp --format-version=1 --decrypt --reply-to=sender id:56DDE706.6060702 at bubblegen.co.uk
2016-03-08 (Tue) 14:16:37: show --format=raw --part=2 id:56DDE706.6060702 at bubblegen.co.uk

there's no --decrypt when from search ... and interestingly there are other
differences, too...

Tomi



More information about the notmuch mailing list