Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 1b / 3b86bfdd98aae55b509e46018bef1a12707ef5
1 Return-Path: <shea@shealevy.com>\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 9C2EA6DE880B\r
6  for <notmuch@notmuchmail.org>; Sun, 14 Aug 2016 05:43:58 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
12  tests=[RCVD_IN_DNSWL_NONE=-0.0001] 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 uyCOae8ZdMav for <notmuch@notmuchmail.org>;\r
16  Sun, 14 Aug 2016 05:43:50 -0700 (PDT)\r
17 Received: from smtprelay.hostedemail.com (smtprelay0036.hostedemail.com\r
18  [216.40.44.36])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id A22A46DE8809\r
20  for <notmuch@notmuchmail.org>; Sun, 14 Aug 2016 05:43:50 -0700 (PDT)\r
21 Received: from filter.hostedemail.com (unknown [216.40.38.60])\r
22  by smtprelay03.hostedemail.com (Postfix) with ESMTP id 26D596A49C;\r
23  Sun, 14 Aug 2016 12:43:48 +0000 (UTC)\r
24 X-Session-Marker: 7368656140736865616C6576792E636F6D\r
25 X-Spam-Summary: 2, 0, 0, , d41d8cd98f00b204, shea@shealevy.com, :::,\r
26  RULES_HIT:41:355:379:599:800:960:973:981:988:989:1260:1277:1313:1314:1345:1359:1381:1437:1516:1518:1534:1541:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2693:2895:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:5007:6117:6248:6261:7903:7974:10004:10044:10400:10450:10455:10848:11232:11658:11914:12043:12517:12519:12555:12663:13069:13071:13072:13311:13357:13846:14180:14181:14721:14777:19904:19999:21060:21080:21325:21433:21451:30003:30012:30022:30029:30030:30054:30080:30090:30091, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none,\r
27  DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0,\r
28  LFtime:2, LUA_SUMMARY:none\r
29 X-HE-Tag: ghost79_5b59c64055e41\r
30 X-Filterd-Recvd-Size: 2448\r
31 Received: from localhost (c-73-186-74-217.hsd1.nh.comcast.net [73.186.74.217])\r
32  (Authenticated sender: shea@shealevy.com)\r
33  by omf12.hostedemail.com (Postfix) with ESMTPA;\r
34  Sun, 14 Aug 2016 12:43:47 +0000 (UTC)\r
35 From: Shea Levy <shea@shealevy.com>\r
36 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
37 Subject: Re: [PATCH 0/4] Allow specifying alternate names for addresses in\r
38  other_email\r
39 In-Reply-To: <87k2fk98yh.fsf@nikula.org>\r
40 References: <1470776118-5070-1-git-send-email-shea@shealevy.com>\r
41  <87k2fk98yh.fsf@nikula.org>\r
42 User-Agent: Notmuch/0.22 (http://notmuchmail.org) Emacs/24.5.2\r
43  (x86_64-unknown-linux-gnu)\r
44 Date: Sun, 14 Aug 2016 08:43:47 -0400\r
45 Message-ID:\r
46  <87oa4vtta4.fsf@shlevy-laptop.i-did-not-set--mail-host-address--so-tickle-me>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.20\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53  <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
55  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
60  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sun, 14 Aug 2016 12:43:58 -0000\r
62 \r
63 Hi Jani,\r
64 \r
65 Jani Nikula <jani@nikula.org> writes:\r
66 \r
67 > On Tue, 09 Aug 2016, Shea Levy <shea@shealevy.com> wrote:\r
68 >> Currently, while notmuch-reply will recognize email addresses other than\r
69 >> the main address with user.other_email, it always sets the name part of\r
70 >> the address in the envelope-from and From headers to user.name. This\r
71 >> patchset enables specifying names on a per-address basis with a new\r
72 >> user.other_name property. Presumably other users of user.other_email\r
73 >> may want to use this as well, but those are not updated currently.\r
74 >\r
75 > I am not convinved by adding another configuration option, especially\r
76 > when it has to be in sync with another configuration option (ordering in\r
77 > user.other_name having to match user.other_email). I would much prefer\r
78 > allowing (but not requiring) "Name <user@example.org>" style addresses\r
79 > both in user.primary_email and user.other_email.\r
80 >\r
81 \r
82 This would be fine with me. Is there already code in place to separate\r
83 out the name and email values from that kind of email address?\r
84 \r
85 >\r
86 > With a cursory glance at the implementation, I wonder if you could just\r
87 > pick the name based on the address you've picked earlier, and leave the\r
88 > address matching mostly as it is. Would save some passing of parameters\r
89 > around. Maybe.\r
90 >\r
91 \r
92 Hmm, I'm not sure what you mean by this, sorry. Can you expand?\r
93 \r
94 >\r
95 > Additionally, I'd very much like to have my series [1] merged\r
96 > first. It'll be *much* easier to rebase your series on top than the\r
97 > other way around...\r
98 >\r
99 \r
100 Happy to rebase my work on yours.\r
101 \r
102 >\r
103 > BR,\r
104 > Jani.\r
105 >\r
106 >\r
107 > [1] id:cover.1471088022.git.jani@nikula.org\r