database error
[notmuch-archives.git] / cc / 47362c9a14d175321d860b9420bc2156a85513
1 Return-Path: <tomi.ollila@iki.fi>\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 arlo.cworth.org (Postfix) with ESMTP id 6EF306DE0231\r
6  for <notmuch@notmuchmail.org>; Wed, 10 Feb 2016 00:28:07 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.644\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.644 tagged_above=-999 required=5 tests=[AWL=-0.008,\r
12   SPF_NEUTRAL=0.652] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id 0R4vC9jRA6OH for <notmuch@notmuchmail.org>;\r
16  Wed, 10 Feb 2016 00:28:05 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18  by arlo.cworth.org (Postfix) with ESMTP id 5A26A6DE021E\r
19  for <notmuch@notmuchmail.org>; Wed, 10 Feb 2016 00:28:05 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21  by guru.guru-group.fi (Postfix) with ESMTP id 5EE7C10007F;\r
22  Wed, 10 Feb 2016 10:28:24 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: David Edmondson <dme@dme.org>,\r
25  Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
26  David Bremner <david@tethera.net>, Gaudenz Steinlin <gaudenz@debian.org>,\r
27  notmuch@notmuchmail.org, 810784@bugs.debian.org\r
28 Subject: Re: [Gaudenz Steinlin] Bug#810784: should match email adress case\r
29  insensitive when sending encrypted mail\r
30 In-Reply-To: <m21t8l6glk.fsf@dme.org>\r
31 References: <87egdm4ujh.fsf@tesseract.cs.unb.ca>\r
32  <874mee7k88.fsf@alice.fifthhorseman.net>\r
33  <m2io1y513m.fsf@heart-of-gold.hh.sledj.net>\r
34  <m2a8na4zze.fsf@heart-of-gold.hh.sledj.net> <m21t8l6glk.fsf@dme.org>\r
35 User-Agent: Notmuch/0.21+32~g73439f8 (http://notmuchmail.org) Emacs/24.3.1\r
36  (x86_64-unknown-linux-gnu)\r
37 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
38  $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
39  !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
40 Date: Wed, 10 Feb 2016 10:28:24 +0200\r
41 Message-ID: <m2y4atm0k7.fsf@guru.guru-group.fi>\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.20\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48  <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
50  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
55  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Wed, 10 Feb 2016 08:28:07 -0000\r
57 \r
58 On Tue, Feb 09 2016, David Edmondson <dme@dme.org> wrote:\r
59 \r
60 > On Mon, Feb 08 2016, David Edmondson wrote:\r
61 >> On Mon, Feb 08 2016, David Edmondson wrote:\r
62 >>> On Fri, Jan 15 2016, Daniel Kahn Gillmor wrote:\r
63 >>>> So where is the case-insensitive lookup happening?  Is this a bug in\r
64 >>>> mml-mode, or in notmuch-emacs?\r
65 >>>\r
66 >>> It's caused by behaviour in mml2015.el (hence upstream).\r
67 >>>\r
68 >>> `mml2015-epg-check-user-id' uses `equal' to compare the recipient from\r
69 >>> the composition buffer with the addresses from the matching key.\r
70 >>>\r
71 >>> The simplest way to get the desired behaviour would be to `downcase'\r
72 >>> both strings before comparing.\r
73 >>\r
74 >> Reported as bug#22603 in emacs.\r
75 >\r
76 > Fixed in the emacs-25 branch.\r
77 \r
78 We could perhaps add defadvice to **wiki** for those who want to \r
79 do global change in their emacs environment, something like:\r
80 \r
81 (if (< emacs-major-version 25)\r
82   (defadvice mml2015-epg-check-user-id (around downcase activate)\r
83     (ad-set-arg 1 (downcase (ad-get-arg 1)))\r
84     (ad-set-arg 2 (downcase (ad-get-arg 2)))\r
85     ad-do-it))\r
86 \r
87 totally untested -- also now that I finished that 'before might also work.\r