Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
authorJani Nikula <jani@nikula.org>
Sat, 13 Aug 2016 11:58:30 +0000 (14:58 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:25 +0000 (16:22 -0700)
1e/6ec75ea610e092e32b8eb45c49b5ce96fa0e44 [new file with mode: 0644]

diff --git a/1e/6ec75ea610e092e32b8eb45c49b5ce96fa0e44 b/1e/6ec75ea610e092e32b8eb45c49b5ce96fa0e44
new file mode 100644 (file)
index 0000000..7dd1c0c
--- /dev/null
@@ -0,0 +1,104 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 36BFB6DE3BFB\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 05:00:04 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.182\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.182 tagged_above=-999 required=5 tests=[AWL=0.902, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id zOIi3HuVYSn0 for <notmuch@notmuchmail.org>;\r
+ Sat, 13 Aug 2016 04:59:56 -0700 (PDT)\r
+Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com\r
+ [74.125.82.67]) by arlo.cworth.org (Postfix) with ESMTPS id BB1896DE3BF2 for\r
+ <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 04:59:55 -0700 (PDT)\r
+Received: by mail-wm0-f67.google.com with SMTP id i5so2077214wmg.2\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 04:59:55 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=nikula-org.20150623.gappssmtp.com; s=20150623;\r
+ h=from:to:subject:in-reply-to:references:date:message-id:mime-version;\r
+ bh=aJpzBpoqyt11QRhy6EmDvUP6sK9xF9GjYupIvFQczEk=;\r
+ b=MJ9TtxVJBywJG0v2vrEVN5rrglrz2yjPSb4szkMJanO7n+XJ99ZF41z14SjWKy3kUF\r
+ 2yTlrZlfm22ZjTif/tnjLci4oGu3r9MlrRcpKHUFC5ILGSpGpYihnnrGlioSCJcevEVG\r
+ 1cfBF0XtAofKgwteP/q/yNZkE0h5EAewh6rnUMwiO/jyg2kIk0AslpUAHLJRejoL6xxl\r
+ U+L5H/wPwPKXUeVT59TCz5IMdCdneixB8hmY9r3aYU0TjpG4P8//fEXuxE4IMnndpiz3\r
+ /FPM7GToVO5iqrBggcEl6rTKFgxVj/8q3PMkBdNQoyp7uoo3272lbO6/wsOGq4zYLoW8\r
+ k0IQ==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:in-reply-to:references:date\r
+ :message-id:mime-version;\r
+ bh=aJpzBpoqyt11QRhy6EmDvUP6sK9xF9GjYupIvFQczEk=;\r
+ b=Bstu0V6O++EjLvOQqKOli+MibP30bGLdZo2voZeZK9TQbcBlU5IPK4xv+IPuxqa3XE\r
+ zzoqsCoTIFSHuDJ6UqW97dk0sFwdYr+5rrDjxvePX7rxdmh9oQsyQxSzTDcl3Mv4w214\r
+ ezUXNZCDS39U4gm2HZ0VM8O05yB+6p53zILg8wC6RWj+ZPTc690xGSo14K5QY0BG1XSL\r
+ 0hjgz3iEI84cAQs8grv8OGB53yjcJRpRBv1MsWyoUgjoPMjoR5ZCBcnNUBWRTEmMnGjx\r
+ pXZHKW0Tozu5PVQCdUiUTTCgOnZBFRvnm7QRGHqORecI1Vn9hX0WjpFpvTItWajvGeoj\r
+ sG5g==\r
+X-Gm-Message-State:\r
+ AEkooutx55SRqYXmgTCEumX+N+0MewGvP4HhyMuA1VViCgITWEivS3B7KYBEoQkLlOVVIw==\r
+X-Received: by 10.28.194.195 with SMTP id s186mr3825443wmf.48.1471089594364;\r
+ Sat, 13 Aug 2016 04:59:54 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw2-58c368-70.dhcp.inet.fi.\r
+ [88.195.104.70])\r
+ by smtp.gmail.com with ESMTPSA id q137sm6869922wmd.19.2016.08.13.04.59.53\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 13 Aug 2016 04:59:53 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Shea Levy <shea@shealevy.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 0/4] Allow specifying alternate names for addresses in\r
+ other_email\r
+In-Reply-To: <1470776118-5070-1-git-send-email-shea@shealevy.com>\r
+References: <1470776118-5070-1-git-send-email-shea@shealevy.com>\r
+Date: Sat, 13 Aug 2016 14:58:30 +0300\r
+Message-ID: <87k2fk98yh.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 13 Aug 2016 12:00:04 -0000\r
+\r
+On Tue, 09 Aug 2016, Shea Levy <shea@shealevy.com> wrote:\r
+> Currently, while notmuch-reply will recognize email addresses other than\r
+> the main address with user.other_email, it always sets the name part of\r
+> the address in the envelope-from and From headers to user.name. This\r
+> patchset enables specifying names on a per-address basis with a new\r
+> user.other_name property. Presumably other users of user.other_email\r
+> may want to use this as well, but those are not updated currently.\r
+\r
+I am not convinved by adding another configuration option, especially\r
+when it has to be in sync with another configuration option (ordering in\r
+user.other_name having to match user.other_email). I would much prefer\r
+allowing (but not requiring) "Name <user@example.org>" style addresses\r
+both in user.primary_email and user.other_email.\r
+\r
+With a cursory glance at the implementation, I wonder if you could just\r
+pick the name based on the address you've picked earlier, and leave the\r
+address matching mostly as it is. Would save some passing of parameters\r
+around. Maybe.\r
+\r
+Additionally, I'd very much like to have my series [1] merged\r
+first. It'll be *much* easier to rebase your series on top than the\r
+other way around...\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+[1] id:cover.1471088022.git.jani@nikula.org\r