From: Matthew Lear Date: Fri, 1 Apr 2016 18:29:15 +0000 (+0100) Subject: Re: (emacs) Parsing problems replying to encrypted html X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2e312fc363c7dc050e7678b9242ad05639d636a8;p=notmuch-archives.git Re: (emacs) Parsing problems replying to encrypted html --- diff --git a/35/285eae325f682097d60ea1aae4ebd467497c0d b/35/285eae325f682097d60ea1aae4ebd467497c0d new file mode 100644 index 000000000..fb15082ae --- /dev/null +++ b/35/285eae325f682097d60ea1aae4ebd467497c0d @@ -0,0 +1,88 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 2B86B6DE02A7 + for ; Fri, 1 Apr 2016 11:31:57 -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.579 +X-Spam-Level: +X-Spam-Status: No, score=-0.579 tagged_above=-999 required=5 tests=[AWL=0.141, + 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 dFQ-yK1wCZUu for ; + Fri, 1 Apr 2016 11:31:48 -0700 (PDT) +Received: from avasout05.plus.net (avasout05.plus.net [84.93.230.250]) + by arlo.cworth.org (Postfix) with ESMTPS id 7362D6DE0281 + for ; Fri, 1 Apr 2016 11:31:48 -0700 (PDT) +Received: from bubblegen.co.uk ([80.229.236.194]) by avasout05 with smtp + id d6Xi1s0014CLJ54016XjmB; Fri, 01 Apr 2016 19:31:43 +0100 +X-CM-Score: 0.00 +X-CNFS-Analysis: v=2.1 cv=Iat6Ijea 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=kziv93cY1bsA:10 + a=yKqwJIY8umpMqucGUvcA:9 +Received: by bubblegen.co.uk (Postfix, from userid 1000) + id 01346240C22; Fri, 1 Apr 2016 19:29:15 +0100 (BST) +From: Matthew Lear +To: David Bremner +Cc: notmuch@notmuchmail.org +Cc: +Subject: Re: (emacs) Parsing problems replying to encrypted html +In-Reply-To: <5ed42cd5aafdc045b5d9e1b918d10748.squirrel@webmail.plus.net> +References: + + + <56DD48B3.90604@bubblegen.co.uk> <87mvqatr6y.fsf@zancas.localnet> + <87h9gigfyz.fsf@bubblegen.co.uk> <87pov58b9y.fsf@zancas.localnet> + <87wpp76ctq.fsf@zancas.localnet> + <87h9fm315q.fsf@bubblegen.co.uk> + <87oa9timv7.fsf@zancas.localnet> + <575b60a1d39a1ecc7d06e5c0d625be61.squirrel@webmail.plus.net> + <87bn5tjw5e.fsf@tesseract.cs.unb.ca> + <5ed42cd5aafdc045b5d9e1b918d10748.squirrel@webmail.plus.net> +User-Agent: Notmuch/0.21+98~g6e6bafe (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Fri, 01 Apr 2016 19:29:15 +0100 +Message-ID: <87mvpdgp38.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: Fri, 01 Apr 2016 18:31:57 -0000 + +>> Hmm. I can't duplicate the problem replying from show mode with the test +>> message you provided. Is the appropriate key in your gpg keyring? +> +> Yes it is. I get the gpg gui prompt when opening the encrypted email and +> can decrypt it prior to show. As I suspected earlier in the thread, I +> wondered if this was related to some emacs config settings/options that I +> have. I can't immediately think what they would be though, and why they +> would trigger this particular issue for html only. Strange... + +Do you have the following in your .emacs ? + +(setq notmuch-multipart/alternative-discouraged '("text/plain")) + +I think that's the work/not-work switch. I'm not sure if it makes sense +or not in terms of seeing the behaviour I do. I discard plain text +because I get a ton of html email at work with various embedded images +etc and I want to be able to read that (which works fine). But I can see +that to quote a reply from an encrypted message, you need to quote the +original text which will be plain text. +What do you think? +-- Matt