From d4e6532329fa737553f86d9a18d31aa577b238b6 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 2 Sep 2014 11:02:23 +0300 Subject: [PATCH] Re: [Vagrant Cascadian] Bug#759646: notmuch-emacs: switching mode= to invalid value sends unencrypted mail --- 61/480b7d6680706010fe86bee73ada1d03536ca8 | 90 +++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 61/480b7d6680706010fe86bee73ada1d03536ca8 diff --git a/61/480b7d6680706010fe86bee73ada1d03536ca8 b/61/480b7d6680706010fe86bee73ada1d03536ca8 new file mode 100644 index 000000000..ce9dcb4d5 --- /dev/null +++ b/61/480b7d6680706010fe86bee73ada1d03536ca8 @@ -0,0 +1,90 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 13506431FD9 + for ; Tue, 2 Sep 2014 01:02:54 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id cllD-i7TBHvk for ; + Tue, 2 Sep 2014 01:02:44 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 65BEA431FD2 + for ; Tue, 2 Sep 2014 01:02:44 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id AFC07100090; + Tue, 2 Sep 2014 11:02:23 +0300 (EEST) +From: Tomi Ollila +To: Daniel Kahn Gillmor , + Jani Nikula , David Bremner , + notmuch@notmuchmail.org +Subject: Re: [Vagrant Cascadian] Bug#759646: notmuch-emacs: switching + mode= to invalid value sends unencrypted mail +In-Reply-To: <54055C53.40604@fifthhorseman.net> +References: <87lhq7npcw.fsf@maritornes.cs.unb.ca> <87k35q2zso.fsf@nikula.org> + <54055C53.40604@fifthhorseman.net> +User-Agent: Notmuch/0.18.1+89~g3785a70 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Tue, 02 Sep 2014 08:02:54 -0000 + +On Tue, Sep 02 2014, Daniel Kahn Gillmor wrote: + +> On 08/30/2014 03:37 AM, Jani Nikula wrote: +>> I'm inclined to think this is a bug in message-mode. +> +> I agree it's a bug in message-mode, not in notmuch itself. + +I think it might be here: + +http://bzr.savannah.gnu.org/lh/emacs/emacs-24/annotate/head:/lisp/gnus/mml.el#L258 + +(it takes time to load, please wait...) + +If cond does not match, then don't fail... + +Tomi + +> +>> As a workaround of sorts, I'd suggest not messing with the #secure tag +>> manually. Instead, you can use mml-secure-message-sign and +>> mml-secure-message-sign-encrypt to change the mode. +> +> the keybindings for those are usually: +> +> C-c RET s p +> C-c RET c p +> +> hth, +> +> --dkg +> +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2