Re: (emacs) Parsing problems replying to encrypted html

Subject: Re: (emacs) Parsing problems replying to encrypted html

Date: Tue, 8 Mar 2016 11:44:06 -0000

To: David Bremner

Cc: Matthew Lear, David Edmondson,

From: Matthew Lear

> 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"
>> "") !!!
> 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 <date>, <person> wrote:' citation.
Replying from notmuch-show gives me the error I mentioned previously.