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 2E9D86DE128B for ; Wed, 12 Oct 2016 00:51:49 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.025 X-Spam-Level: X-Spam-Status: No, score=0.025 tagged_above=-999 required=5 tests=[AWL=-0.105, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 DvJXaRo8x-2C for ; Wed, 12 Oct 2016 00:51:47 -0700 (PDT) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by arlo.cworth.org (Postfix) with ESMTPS id D78AC6DE1205 for ; Wed, 12 Oct 2016 00:51:46 -0700 (PDT) Received: by mail-wm0-f53.google.com with SMTP id b201so15327121wmb.0 for ; Wed, 12 Oct 2016 00:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=dV6nIdrPke7htPojd5mHlM/p/AK2/1jipIdqhcB3i4o=; b=LJcpNpyEKdt5V2DjZ+5piXSXhYxVzFrsr4G1U33lBLbw6MuCq9cgRYVzuhX1tc/5dC yJ+oXzl0oYfq1ylhBTuUm8JHmA0LE2xIBeReGs6VGQZcz8GnSZzj5MwgaSjydaZKDani ME1SgXNBoDdCOzddeLAtDzuo07V25cZ0HUz8+UCfqnihe4Wl4++/4dIQuD1Q/NPz2v6k 3OfxrmiUxd1/1nW2JP6CdcUeF8Ob2hVIMcgJekcc9ahxSNGCj4lkBIxhkoTpGXWfxEOf HtpO1TD379O1U4sYTCwaB23v1g8RUEPnP+LGS/hElQBO7rqd6H11UmbSKuvU9r8t1JNv igPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=dV6nIdrPke7htPojd5mHlM/p/AK2/1jipIdqhcB3i4o=; b=R3zh5uxfYzv+RlhXv2rTmaRqRkkAiUXW60xPjRKOsFXLmO9zJCBGtiZ3zWR/hfHZHI U6M/svNHxw+5RP6htjFf7YnsF4St5U0npr9wICe6lGEGa+sUAZWuKNYBmvp8aM1Ddq0F 7RK/4OyhWncgnMRYIAKqBnx2LNdfkz1bXEm4uK4Dg3GZZJ/Ag1N2haEjKljBhte2JrgN NgN4dPQMEM2T247GNv8qeAkDAEUWnZPI2JJjXS5pQYTDQwJh8yCMeJwy3UpYpGwSbnGs A8RzqNF5f1wUuu2iRnIpiDKnHzVBclIf92Q2/XFKmhZE/BoOWxYPhuJJH57JTE+8kZ1u Ut2g== X-Gm-Message-State: AA6/9RnT564dUL0fQEG8/NL0+N4lHJnQdRY7XRw7NMz/wRxh6eiKjIBedqccblHOOaDFvA== X-Received: by 10.28.13.73 with SMTP id 70mr326150wmn.56.1476258705363; Wed, 12 Oct 2016 00:51:45 -0700 (PDT) Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) by smtp.gmail.com with ESMTPSA id rv12sm11040231wjb.29.2016.10.12.00.51.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Oct 2016 00:51:44 -0700 (PDT) From: Mark Walters To: matt@bubblegen.co.uk, notmuch@notmuchmail.org, matt@bubblegen.co.uk Subject: Re: In-Reply-To: <20161011212430.4F5E62406AF@bubblegen.co.uk> References: <20161011212430.4F5E62406AF@bubblegen.co.uk> Date: Wed, 12 Oct 2016 08:51:44 +0100 Message-ID: <87zima9f8v.fsf@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Wed, 12 Oct 2016 07:51:49 -0000 On Tue, 11 Oct 2016, matt@bubblegen.co.uk wrote: > From: Matthew Lear > To: notmuch@notmuchmail.org > Cc: Matthew Lear > Subject: [PATCH] Fix reply to encrypted mail when discouraging plain text. > Date: Tue, 11 Oct 2016 22:24:18 +0100 > Message-Id: <1476221058-10431-1-git-send-email-matt@bubblegen.co.uk> > X-Mailer: git-send-email 2.4.10 > > If an encrypted multipart message is received which contains html and > notmuch-multipart/alternative-discouraged is set to discourage "text/plain", > any encrypted parts are not decrypted during generation of the reply > text. This fixes that problem by making sure notmuch-mua-reply does > that. Hi I haven't tested this but it looks correct: more broadly I think this is needed whenever notmuch-show has to get a part directly rather than just from the sexp reply. Best wishes Mark > --- > emacs/notmuch-mua.el | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el > index c567173..f333655 100644 > --- a/emacs/notmuch-mua.el > +++ b/emacs/notmuch-mua.el > @@ -251,6 +251,10 @@ mutiple parts get a header." > (notmuch-show-max-text-part-size 0) > ;; Insert headers for parts as appropriate for replying. > (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function) > + ;; Ensure that any encrypted parts are > + ;; decrypted during the generation of the reply > + ;; text. > + (notmuch-show-process-crypto process-crypto) > ;; Don't indent multipart sub-parts. > (notmuch-show-indent-multipart nil)) > ;; We don't want sigstatus buttons (an information leak and usually wrong anyway). > -- > 2.4.10 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch