From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A93A16DE18A6 for ; Sat, 12 Mar 2016 05:33:17 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.032 X-Spam-Level: X-Spam-Status: No, score=-0.032 tagged_above=-999 required=5 tests=[AWL=-0.021, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 PhawoPTBsQjn for ; Sat, 12 Mar 2016 05:33:15 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 5BA3A6DE18A4 for ; Sat, 12 Mar 2016 05:33:15 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1aejfs-0005k1-NE; Sat, 12 Mar 2016 08:33:44 -0500 Received: (nullmailer pid 29095 invoked by uid 1000); Sat, 12 Mar 2016 13:33:05 -0000 From: David Bremner To: Tomi Ollila , Matthew Lear , David Edmondson Cc: notmuch@notmuchmail.org Subject: Re: (emacs) Parsing problems replying to encrypted html In-Reply-To: References: <56DD48B3.90604@bubblegen.co.uk> <87mvqatr6y.fsf@zancas.localnet> <87h9gigfyz.fsf@bubblegen.co.uk> <87pov58b9y.fsf@zancas.localnet> User-Agent: Notmuch/0.21+74~g6c60fb1 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Sat, 12 Mar 2016 09:33:05 -0400 Message-ID: <87wpp76ctq.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2016 13:33:17 -0000 Tomi Ollila 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)