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 083E46DE02CA for ; Thu, 31 Mar 2016 12:22:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Cc" X-Spam-Flag: NO X-Spam-Score: -0.561 X-Spam-Level: X-Spam-Status: No, score=-0.561 tagged_above=-999 required=5 tests=[AWL=0.159, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 MEXNP2Q1BNwb for ; Thu, 31 Mar 2016 12:22:33 -0700 (PDT) Received: from avasout06.plus.net (avasout06.plus.net [212.159.14.18]) by arlo.cworth.org (Postfix) with ESMTPS id 2F28C6DE014A for ; Thu, 31 Mar 2016 12:22:32 -0700 (PDT) Received: from bubblegen.co.uk ([80.229.236.194]) by avasout06 with smtp id cjNT1s0024CLJ5401jNU19; Thu, 31 Mar 2016 20:22:29 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=Rr04V3SK c=1 sm=1 tr=0 a=G4bc5lkgapKKm1P+Twxy3Q==:117 a=G4bc5lkgapKKm1P+Twxy3Q==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=7OsogOcEt9IA:10 a=H4IEW4q-AAAA:8 a=80hmnl3cAAAA:8 a=t-Wg6M4cQdyHVLQTuC0A:9 a=cc2Qs42Pt8gxHpqG:21 a=hP8ypTzzuLlcpc4M:21 Received: by bubblegen.co.uk (Postfix, from userid 1000) id 625702406B4; Thu, 31 Mar 2016 20:20:01 +0100 (BST) From: Matthew Lear To: David Edmondson , David Bremner , Tomi Ollila Cc: notmuch@notmuchmail.org Cc: 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> <87wpp76ctq.fsf@zancas.localnet> User-Agent: Notmuch/0.21+51~g07b6220 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Thu, 31 Mar 2016 20:20:01 +0100 Message-ID: <87h9fm315q.fsf@bubblegen.co.uk> 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: Thu, 31 Mar 2016 19:22:43 -0000 On Sat, Mar 12 2016 at 2:37:44 pm GMT, David Edmondson wrote: > On Sat, Mar 12 2016, David Bremner wrote: >> 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). > > Is "reply" from search mode a common pattern of use? Currently it seems > generally un-useful (the thread has to contain just a single message - > not just a single matching message). > >> (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) Hi. I just wondered if anyone had managed to make any progress on this?