Re: [PATCH] lib: provide _notmuch_database_log_append
[notmuch-archives.git] / da / b0ca3aec19e02a923d50b337429afcde85753a
1 Return-Path: <david@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 1353B431FC0\r
6         for <notmuch@notmuchmail.org>; Sat, 29 Nov 2014 11:10:00 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id CjbJlexgWrJp for <notmuch@notmuchmail.org>;\r
16         Sat, 29 Nov 2014 11:09:51 -0800 (PST)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 8C2E7431FAE\r
21         for <notmuch@notmuchmail.org>; Sat, 29 Nov 2014 11:09:51 -0800 (PST)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1XunOw-00062J-HP; Sat, 29 Nov 2014 15:09:50 -0400\r
25 Received: (nullmailer pid 19548 invoked by uid 1000); Sat, 29 Nov 2014\r
26         19:09:45 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: notmuch@notmuchmail.org, 759646@bugs.debian.org\r
29 Subject: Re: [Vagrant Cascadian] Bug#759646: notmuch-emacs: switching   mode=\r
30         to      invalid value sends unencrypted mail\r
31 In-Reply-To: <cunzjbwi36y.fsf@gargravarr.hh.sledj.net>\r
32 References: <87lhq7npcw.fsf@maritornes.cs.unb.ca> <87k35q2zso.fsf@nikula.org>\r
33         <54055C53.40604@fifthhorseman.net>\r
34         <m238caa1rk.fsf@guru.guru-group.fi>\r
35         <cunzjbwi36y.fsf@gargravarr.hh.sledj.net>\r
36 User-Agent: Notmuch/0.19+2~g32855b9 (http://notmuchmail.org) Emacs/24.4.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Sat, 29 Nov 2014 20:09:45 +0100\r
39 Message-ID: <87egsldds6.fsf@maritornes.cs.unb.ca>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Sat, 29 Nov 2014 19:10:00 -0000\r
55 \r
56 David Edmondson <dme@dme.org> writes:\r
57 \r
58 > On Tue, Sep 02 2014, Tomi Ollila wrote:\r
59 >> On Tue, Sep 02 2014, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:\r
60 >>\r
61 >>> On 08/30/2014 03:37 AM, Jani Nikula wrote:\r
62 >>>> I'm inclined to think this is a bug in message-mode. \r
63 >>>\r
64 >>> I agree it's a bug in message-mode, not in notmuch itself.\r
65 >>\r
66 >> I think it might be here:\r
67 >>\r
68 >> http://bzr.savannah.gnu.org/lh/emacs/emacs-24/annotate/head:/lisp/gnus/mml.el#L258\r
69 >>\r
70 >> (it takes time to load, please wait...)\r
71 >>\r
72 >> If cond does not match, then don't fail...\r
73 >\r
74 > This looks to have been fixed in emacs at the end of September 2014.\r
75 \r
76 Right, this fix was released in emacs 24.4\r
77 \r
78 I'm a little torn what to do here. On the one hand the upstream change\r
79 fixes the bug as reported. On the other hand, if something corrupts the\r
80 #secure tag (e.g., by deleting a letter), then the message is still sent\r
81 un-uncrypted.\r
82 \r
83 d\r