Re: (emacs) Parsing problems replying to encrypted html
authorDavid Edmondson <dme@dme.org>
Tue, 1 Mar 2016 13:38:14 +0000 (13:38 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:13 +0000 (16:21 -0700)
cf/3b8c9357632fce57edc4585d2da8b090a7fb18 [new file with mode: 0644]

diff --git a/cf/3b8c9357632fce57edc4585d2da8b090a7fb18 b/cf/3b8c9357632fce57edc4585d2da8b090a7fb18
new file mode 100644 (file)
index 0000000..83128d8
--- /dev/null
@@ -0,0 +1,107 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id AC6B06DE1479\r
+ for <notmuch@notmuchmail.org>; Tue,  1 Mar 2016 05:38:22 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.133\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.133 tagged_above=-999 required=5\r
+ tests=[AWL=-0.066, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id fc9di9l4auS2 for <notmuch@notmuchmail.org>;\r
+ Tue,  1 Mar 2016 05:38:20 -0800 (PST)\r
+Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com\r
+ [74.125.82.44]) by arlo.cworth.org (Postfix) with ESMTPS id 47D806DE141E for\r
+ <notmuch@notmuchmail.org>; Tue,  1 Mar 2016 05:38:20 -0800 (PST)\r
+Received: by mail-wm0-f44.google.com with SMTP id l68so35832125wml.0\r
+ for <notmuch@notmuchmail.org>; Tue, 01 Mar 2016 05:38:20 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=dme-org.20150623.gappssmtp.com; s=20150623;\r
+ h=to:subject:in-reply-to:references:from:date:message-id:mime-version;\r
+ bh=wyZ+nLUXLn5A9HZetqqs/0P6fY0ciSTGnAskBpuigVE=;\r
+ b=dJGmVDkFXa+oQmlRvBvquE+36Ia3EUHiKYXn57MSkaVgKyiv4vt9ZOxZcByh+w7v1c\r
+ ZYRSHPAOeDqF9OxeXNk5HK5EtTo+XmJiwb9cdi5igd6Zw1ZvVfNj9ZEf2nq2L++3/tBM\r
+ kaEsLyLxHChzchtoPZ5p91lpayjgNCXIkUzBj6WbY2wH7VUd2t43vTp4dQpg5mKbYe2v\r
+ VlTFAo5fCe3ienSHRjWb/3i8pUKMTT1DwIb7cLsWGgIu7QbQMzAGJ5bXSb3ju8w9PSll\r
+ aBXoYZZoXWP1hvT7TpES5Ui1TbLi8z3jEhhhsh+rLbafmgnR560LLfRPLuiEcLNV2/UZ\r
+ ojaw==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:to:subject:in-reply-to:references:from:date\r
+ :message-id:mime-version;\r
+ bh=wyZ+nLUXLn5A9HZetqqs/0P6fY0ciSTGnAskBpuigVE=;\r
+ b=Xv0LIzz6MLugTeYtdnbKMCFcJEO/PhIOV9AhApuOweWaNZsVo6SOcjsgipg3fx4f3L\r
+ ATIts43s7qkfF+ohm2W50PQdpfZy+sX+BgFFTVXWZn8gUE1uzIU7qWf5U+NCpEZpdJ3/\r
+ /1dhwuCdxYMWuVmgMx88N8S4ycRv+/J7Y5PeCTOvn9thzThXS0A7a23c1vDaaoBksbAt\r
+ Uth4Za/byoWobBDNaLbLbBcy9cTERIGm7BMaH4QXfC5oZtcTFhxmqpctenX/3cyMPMVw\r
+ kI5yxbgfGYmXA0yiUcFxX/UuRX+THiMWqPNWIz7JagaZMrVGULu0y+QrFsCuA2Lr0Fu9\r
+ rcDQ==\r
+X-Gm-Message-State:\r
+ AD7BkJLLyiHHCGwXQNRmhc0L+k8CqTJ8krhgy9AeUQlQtiHkMEoo0XZjT1bCNaJfXO9qIQ==\r
+X-Received: by 10.194.22.35 with SMTP id a3mr20787055wjf.165.1456839497417;\r
+ Tue, 01 Mar 2016 05:38:17 -0800 (PST)\r
+Received: from disaster-area.hh.sledj.net\r
+ ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+ by smtp.gmail.com with ESMTPSA id av3sm31069937wjc.44.2016.03.01.05.38.15\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Tue, 01 Mar 2016 05:38:15 -0800 (PST)\r
+Received: from localhost (disaster-area.hh.sledj.net [local])\r
+ by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 62e832e8;\r
+ Tue, 1 Mar 2016 13:38:14 +0000 (UTC)\r
+To: matt@bubblegen.co.uk, notmuch@notmuchmail.org\r
+Subject: Re: (emacs) Parsing problems replying to encrypted html\r
+In-Reply-To: <f50e07855e9bbbdd780ef925d8e2d879.squirrel@webmail.plus.net>\r
+References: <f50e07855e9bbbdd780ef925d8e2d879.squirrel@webmail.plus.net>\r
+From: David Edmondson <dme@dme.org>\r
+Date: Tue, 01 Mar 2016 13:38:14 +0000\r
+Message-ID: <m2a8miwc6x.fsf@dme.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 01 Mar 2016 13:38:22 -0000\r
+\r
+There is probably a bug here.\r
+\r
+On Tue, Mar 01 2016, Matthew Lear wrote:\r
+> Notmuch shows this as:\r
+>\r
+> [ multipart/encrypted ]\r
+> [ Decryption successful ]\r
+> [ Good signature by:  xxxx ]\r
+> [ application/pgp-encrypted ]\r
+> Version: 1\r
+> [ multipart/mixed ]\r
+> [ multipart/alternative ]\r
+> [ text/plain (hidden) ]\r
+> [ multipart/related ]\r
+> [ text/html (hidden) ]\r
+> [ image.jpg: image/jpeg (hidden) ]\r
+\r
+You're saying here that you don't get shown the text/html part?\r
+\r
+> (setq notmuch-multipart/alternative-discouraged '("text/plain"\r
+> "multipart/related"))\r
+\r
+I'm curious to understand why you discourage multipart/related. That's\r
+almost always used to wrap a text/html part with an image/jpg that the\r
+text/html part refers to by cid:.\r
+\r
+Are things different if you discourage only text/plain?\r