Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 6f / a7c6b9cb1cd906bf43270449053740264c0bdd
1 Return-Path: <jani@nikula.org>\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 165D96DE0355\r
6  for <notmuch@notmuchmail.org>; Sun, 19 Jun 2016 13:17:11 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.568\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.568 tagged_above=-999 required=5 tests=[AWL=0.152,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
13  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id sZL8uBU3xs3a for <notmuch@notmuchmail.org>;\r
17  Sun, 19 Jun 2016 13:17:03 -0700 (PDT)\r
18 Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com\r
19  [74.125.82.54]) by arlo.cworth.org (Postfix) with ESMTPS id B3DD16DE00B8 for\r
20  <notmuch@notmuchmail.org>; Sun, 19 Jun 2016 13:17:02 -0700 (PDT)\r
21 Received: by mail-wm0-f54.google.com with SMTP id r201so35834569wme.1\r
22  for <notmuch@notmuchmail.org>; Sun, 19 Jun 2016 13:17:02 -0700 (PDT)\r
23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
24  d=nikula-org.20150623.gappssmtp.com; s=20150623;\r
25  h=from:to:cc:subject:date:message-id:in-reply-to:references;\r
26  bh=gPyrvjGT2ojk74j/NJWxLEgByugDyYtW3610kx+48Kk=;\r
27  b=oE8M/ggnrBmz3A/3SFHmfQ5kQZqekFrJ0wVIw7LVq1wgDWOPzfjSmbmKip65YHLvjI\r
28  UJCNMYd1RuqS7M8dRQqeLQo/HHg7KWGvKRYLe2nGpvq0wVkziCg8OQmMfSWgHhJH0H3S\r
29  mBTng/hO9cCyIZJPAz6ELgh1Tgglu79avs9pwBeu7dGN2MEyii0f/mPkAXOoRHxZmBLC\r
30  pc9A5Ni/5kh/N9bjmxKCkk0wEY1AXxXayv5bYxS0/5knlvAt6bOfDqj85aHM9Su4fC7D\r
31  li57guhskj61O5fC4AbGL6UFM9zpHEuJrprflMdrcuK5kgMpfv0BHv+f08f4NrcemGvt\r
32  nuBg==\r
33 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
34  d=1e100.net; s=20130820;\r
35  h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
36  :references;\r
37  bh=gPyrvjGT2ojk74j/NJWxLEgByugDyYtW3610kx+48Kk=;\r
38  b=RL8yd+mTY49tWUQEknF7p65OdTlZk+7d1ojDfqm1g2IO5LP3FqVPSOU7KWKcgQJhXi\r
39  QKjnzxG8E8zNpZloqUiRPbZxzkK3bP2j1i5tcwfVe3LEQ+ckkQsk0K82496nJShSH+O/\r
40  Qw29bp5BBEUNLe1VsvYJxdWu8jAwd6bz+PatgoDBlFq/C/s25X5NbDlK56DOcOOhTgH+\r
41  3mENZX0dPILiDteFQiYDedhrui8Afl9uME0OitJN/gXT1li/6ykCSiCvDth2s5CXGMw0\r
42  VdljWNQ2XH+FZqL+PKzhoNvcVyh+5wFiStIjHeee+s9ChXzp38yt9R2Zt/RPUxZfsq+C\r
43  XtwQ==\r
44 X-Gm-Message-State:\r
45  ALyK8tLVcHCBZXFmA8bJvJjNfo99y+dYtbSfEfRF0I/h/eOipfjeQQpUmep50xZ8xx81kQ==\r
46 X-Received: by 10.28.158.132 with SMTP id h126mr7423779wme.43.1466367420687;\r
47  Sun, 19 Jun 2016 13:17:00 -0700 (PDT)\r
48 Received: from localhost (mobile-access-bcee4e-81.dhcp.inet.fi.\r
49  [188.238.78.81])\r
50  by smtp.gmail.com with ESMTPSA id ze10sm8031476wjb.2.2016.06.19.13.16.59\r
51  (version=TLSv1/SSLv3 cipher=OTHER);\r
52  Sun, 19 Jun 2016 13:17:00 -0700 (PDT)\r
53 From: Jani Nikula <jani@nikula.org>\r
54 To: Jani Nikula <jani@nikula.org>,\r
55         notmuch@notmuchmail.org\r
56 Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
57 Subject: [RFC PATCH 0/6] cli/reply: refactoring part 2\r
58 Date: Sun, 19 Jun 2016 23:15:28 +0300\r
59 Message-Id: <cover.1466366737.git.jani@nikula.org>\r
60 X-Mailer: git-send-email 2.1.4\r
61 In-Reply-To: <cover.1466284726.git.jani@nikula.org>\r
62 References: <cover.1466284726.git.jani@nikula.org>\r
63 X-BeenThere: notmuch@notmuchmail.org\r
64 X-Mailman-Version: 2.1.20\r
65 Precedence: list\r
66 List-Id: "Use and development of the notmuch mail system."\r
67  <notmuch.notmuchmail.org>\r
68 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
69  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
70 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
71 List-Post: <mailto:notmuch@notmuchmail.org>\r
72 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
73 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
74  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
75 X-List-Received-Date: Sun, 19 Jun 2016 20:17:11 -0000\r
76 \r
77 This one expands on [1] to use GMimeMessage more. There are some less\r
78 than perfect intermediate steps in order to split the stuff into\r
79 reasonable sized patches, but it gets better in the end. There's still\r
80 more to do, but I ran out of steam a bit (thus RFC), and it's better to\r
81 get the first series merged first anyway.\r
82 \r
83 This should fix the issue Daniel saw [2], but I haven't really tested\r
84 that, as there are no dedicated tests for it. Daniel, care to try this\r
85 on the problematic message? Reindexing is not needed.\r
86 \r
87 BR,\r
88 Jani.\r
89 \r
90 [1] id:cover.1466284726.git.jani@nikula.org\r
91 [2] id:87d1ngv95p.fsf@alice.fifthhorseman.net\r
92 \r
93 \r
94 Jani Nikula (6):\r
95   cli/reply: use dedicated functions for reply to mapping\r
96   cli/reply: check for NULL list first in scan_address_list()\r
97   cli/reply: return internet address list from get header funcs\r
98   cli/reply: pass internet address list to munge detect\r
99   cli/reply: pass gmime message to munge detection\r
100   cli/reply: only pass gmime message to add recipients to reply message\r
101 \r
102  notmuch-reply.c | 171 +++++++++++++++++++++++++++++---------------------------\r
103  1 file changed, 90 insertions(+), 81 deletions(-)\r
104 \r
105 -- \r
106 2.1.4\r
107 \r