Re: (emacs) Parsing problems replying to encrypted html

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

Date: Sat, 12 Mar 2016 09:33:05 -0400

To: Tomi Ollila, Matthew Lear, David Edmondson

Cc: notmuch@notmuchmail.org

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> 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@bubblegen.co.uk
> 2016-03-08 (Tue) 14:16:01: show --format=sexp --include-html --part=3 id:56DDE706.6060702@bubblegen.co.uk
> 2016-03-08 (Tue) 14:16:01: show --format=raw --part=3 id:56DDE706.6060702@bubblegen.co.uk
>

I think the problem is in the following let form, which uses
notmuch-show-process-crypto. That isn't set in search mode. I'm unclear
on what the right solution is here; we could check
notmuch-crypto-process-mime, but I'm not sure how this would interact
with the handling of prefix arguments (for temporary toggling).


(defun notmuch-mua-reply (query-string &optional sender reply-all)
  (let ((args '("reply" "--format=sexp" "--format-version=1"))
	(process-crypto notmuch-show-process-crypto)
	reply
	original)

Thread: