From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <matt@bubblegen.co.uk>
Received: from localhost (localhost [127.0.0.1])
 by arlo.cworth.org (Postfix) with ESMTP id D2EB86DE0B28
 for <notmuch@notmuchmail.org>; Tue,  8 Mar 2016 04:28:43 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at cworth.org
X-Spam-Flag: NO
X-Spam-Score: -0.653
X-Spam-Level: 
X-Spam-Status: No, score=-0.653 tagged_above=-999 required=5 tests=[AWL=0.047, 
 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 sAq7NSAdCJeD for <notmuch@notmuchmail.org>;
 Tue,  8 Mar 2016 04:28:42 -0800 (PST)
Received: from avasout04.plus.net (avasout04.plus.net [212.159.14.19])
 by arlo.cworth.org (Postfix) with ESMTPS id DED2E6DE028A
 for <notmuch@notmuchmail.org>; Tue,  8 Mar 2016 04:28:41 -0800 (PST)
Received: from localhost ([84.93.237.98]) by avasout04 with smtp
 id TQUf1s002283uBY01QUgh5; Tue, 08 Mar 2016 12:28:40 +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=nV01uVEFqH5vghShNZwA:9 a=wPNLvfGTeEIA:10
Received: from localhost ([127.0.0.1] helo=webmail.plus.net)
 by localhost with esmtp (Exim 4.76)
 (envelope-from <matt@bubblegen.co.uk>)
 id 1adGkg-0000X8-SY; Tue, 08 Mar 2016 12:28:39 +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 12:28:39 -0000
Message-ID: <214acc1c71c40686b81dca407630e3af.squirrel@webmail.plus.net>
In-Reply-To: <87mvq9895o.fsf@zancas.localnet>
References: <f50e07855e9bbbdd780ef925d8e2d879.squirrel@webmail.plus.net>
 <m2a8miwc6x.fsf@dme.org>
 <c4ff9f2c141441be10b1cb4b1e0300a7.squirrel@webmail.plus.net>
 <56DD48B3.90604@bubblegen.co.uk> <87mvqatr6y.fsf@zancas.localnet>
 <87h9gigfyz.fsf@bubblegen.co.uk> <87pov58b9y.fsf@zancas.localnet>
 <590e9f6c225d559cc9e9f2f4fbdcaa57.squirrel@webmail.plus.net>
 <87mvq9895o.fsf@zancas.localnet>
Date: Tue, 8 Mar 2016 12:28:39 -0000
Subject: Re: (emacs) Parsing problems replying to encrypted html
From: "Matthew Lear" <matt@bubblegen.co.uk>
To: "David Bremner" <david@tethera.net>
Cc: "Matthew Lear" <matt@bubblegen.co.uk>, "David Edmondson" <dme@dme.org>,
 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."
 <notmuch.notmuchmail.org>
List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Mar 2016 12:28:43 -0000

>> 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.
>
> I suppose the main difference is the setting of
> notmuch-multipart/alternative-discouraged. If I copy your setting I also
> get an error replying in notmuch-show mode.
>

I know this was mentioned earlier but just to avoid any doubt, my
discourage setting is currently:
(setq notmuch-multipart/alternative-discouraged '("text/plain"))

I removed the "multipart/related". (I agree it's probably not wise to
discourage it).