Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / a7 / d30717e9c7cb63ea460aa08e8cd2a8e1ab6d66
1 Return-Path: <wking@tremily.us>\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 22C87431FBF\r
6         for <notmuch@notmuchmail.org>; Sat,  5 Apr 2014 12:19:24 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id wZgpRz7p5YJ9 for <notmuch@notmuchmail.org>;\r
17         Sat,  5 Apr 2014 12:19:20 -0700 (PDT)\r
18 Received: from qmta14.westchester.pa.mail.comcast.net\r
19         (qmta14.westchester.pa.mail.comcast.net [76.96.59.212])\r
20         by olra.theworths.org (Postfix) with ESMTP id 04496431FAF\r
21         for <notmuch@notmuchmail.org>; Sat,  5 Apr 2014 12:19:19 -0700 (PDT)\r
22 Received: from omta06.westchester.pa.mail.comcast.net ([76.96.62.51])\r
23         by qmta14.westchester.pa.mail.comcast.net with comcast\r
24         id mK7j1n00216LCl05EKKKk2; Sat, 05 Apr 2014 19:19:19 +0000\r
25 Received: from odin.tremily.us ([24.18.63.50])\r
26         by omta06.westchester.pa.mail.comcast.net with comcast\r
27         id mKKJ1n005152l3L3SKKJrt; Sat, 05 Apr 2014 19:19:19 +0000\r
28 Received: by odin.tremily.us (Postfix, from userid 1000)\r
29         id 3781E11084C9; Sat,  5 Apr 2014 12:19:17 -0700 (PDT)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31         t=1396725557; bh=1t91kwGwrLC4rkRabPWeHpNOgNoWFMsNNsI54+BmnfY=;\r
32         h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33         b=sjs4HlmSmjeREVrsn/zZf5V1IO299T7LhMOHDEm0qwJxi1uIMFBFdx2JoPWdo0aDT\r
34         xg2gwX+/lVYYTr1oB66HvgOKy5qowYkdVxQmW2JF1+HTubgFNV/6A7+RZK60ITwH9v\r
35         28C6MeKPIww4Tn0hkI5vAa65AkJ74l8eMOJ896Mo=\r
36 Date: Sat, 5 Apr 2014 12:19:17 -0700\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: Tomi Ollila <tomi.ollila@iki.fi>\r
39 Subject: Re: [PATCH 5/7] doc: Allow rst2man.py as an alternative to rst2man\r
40 Message-ID: <20140405191917.GF5316@odin.tremily.us>\r
41 References: <cover.1396718720.git.wking@tremily.us>\r
42         <adce76bb9a0ca728d856da4ecaf6b282e22e7440.1396718720.git.wking@tremily.us>\r
43         <m2a9bzd2bo.fsf@guru.guru-group.fi>\r
44 MIME-Version: 1.0\r
45 Content-Type: multipart/signed; micalg=pgp-sha1;\r
46         protocol="application/pgp-signature"; boundary="hK8Uo4Yp55NZU70L"\r
47 Content-Disposition: inline\r
48 In-Reply-To: <m2a9bzd2bo.fsf@guru.guru-group.fi>\r
49 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
50         url=http://tremily.us/pubkey.txt\r
51 User-Agent: Mutt/1.5.22 (2013-10-16)\r
52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
53         s=q20140121; t=1396725559;\r
54         bh=lJ+6L2G5e1lnBzE5dk13HagOZiu3nXjfCt0JOo5iCt4=;\r
55         h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
56         MIME-Version:Content-Type;\r
57         b=g+oXdogcTBrQt0Dn8D1NEt0hy+dtu5tM6m4PoKKlzd1doMiNI/TAqS+G3d1A+Mi3Q\r
58         pQF3JeTo2coxbv+W3Z3EmxshHS0esvryHTPt8DVmILQFKSu+hiw6lsK6Ws2aFw3/nD\r
59         HjW5OWVcuT8qyjjhgcH9UW6097KepwGBkiUBbeEaQhYvqJV+EgMxpYmJe4rnt9f+0K\r
60         QLHHb2qv3ZHMv4A2ADX/x4WYCrd0WGA5u0f055s66GtV/h0XjQiFhC0YVZiADIUqD/\r
61         7MtVIO/yRuIF9RuojIfep2XIO9l+eJ8ouGEYQHFCf7+ZpWLtd4895KX1jRVido1xKO\r
62         xdXBIK82rWnsg==\r
63 Cc: notmuch@notmuchmail.org\r
64 X-BeenThere: notmuch@notmuchmail.org\r
65 X-Mailman-Version: 2.1.13\r
66 Precedence: list\r
67 List-Id: "Use and development of the notmuch mail system."\r
68         <notmuch.notmuchmail.org>\r
69 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
70         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
72 List-Post: <mailto:notmuch@notmuchmail.org>\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
74 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
75         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
76 X-List-Received-Date: Sat, 05 Apr 2014 19:19:24 -0000\r
77 \r
78 \r
79 --hK8Uo4Yp55NZU70L\r
80 Content-Type: text/plain; charset=utf-8\r
81 Content-Disposition: inline\r
82 Content-Transfer-Encoding: quoted-printable\r
83 \r
84 On Sat, Apr 05, 2014 at 10:05:31PM +0300, Tomi Ollila wrote:\r
85 > On Sat, Apr 05 2014, W. Trevor King wrote:\r
86 > > I use POSIX's 'command -v' [1] to find the path to rst2man=E2=80=A6\r
87 > >\r
88 > > [1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.=\r
89 html\r
90 >=20\r
91 > =E2=80=A6\r
92 > Except the reference to _POSIX_ page. One knows how consistent these\r
93 > specifications are; alternative:\r
94 >=20\r
95 > http://pubs.opengroup.org/onlinepubs/009695399/utilities/command.html\r
96 >=20\r
97 > mentions additionally that -v flag\r
98 > "(On systems supporting the User Portability Utilities option.)"=20\r
99 \r
100 It's been a decade since POSIX 2004 ;).  I'm not sure when the =E2=80=9CUser\r
101 Portability Utilities=E2=80=9D caveat was removed, but I imagine most\r
102 POSIX-aspiring shells have -v support.  Short of citing POSIX 2013, I\r
103 think I'd have to survey likely shells, and that seems even less\r
104 reliable.  Maybe I'm missunderstanding your suggested change?\r
105 \r
106 > Also, we don't give such a treatment to other command either; I'd rather\r
107 > see RST2MAN=3Drst2man, RST2MAN=3Drst2man.py *and* RST2MAN=3D lines used\r
108 > instead -- the last to set RST2MAN to empty string instead of being unset.\r
109 \r
110 I'm fine with that.  Alternatively, we could add an:\r
111 \r
112   if -n "${RST2MAN}"\r
113 \r
114 clause to the front of the detection code to allow users with oddball\r
115 scripts (maybe a null set) to override RST2MAN at configure time:\r
116 \r
117   $ RST2MAN=3D/my/custom/rst_to_man_converter ./configure\r
118   $ make\r
119 \r
120 instead of at make-invocation time:\r
121 \r
122   $ ./configure\r
123   $ make RST2MAN=3D/my/custom/rst_to_man_converter\r
124 \r
125 That would consolidate configuration around the 'config' call, and\r
126 make explicitly emptying the RST2MAN variable more clearly superfluous\r
127 (although I'm still fine with an explicit empty).\r
128 \r
129 Thoughts?\r
130 \r
131 Trevor\r
132 \r
133 --=20\r
134 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
135 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
136 \r
137 --hK8Uo4Yp55NZU70L\r
138 Content-Type: application/pgp-signature; name="signature.asc"\r
139 Content-Description: OpenPGP digital signature\r
140 \r
141 -----BEGIN PGP SIGNATURE-----\r
142 Version: GnuPG v2.0.22 (GNU/Linux)\r
143 \r
144 iQIcBAEBAgAGBQJTQFcyAAoJEKKfehoaNkbtS4cQAIJyV/E8CN6UswfjMPi251ja\r
145 crGZYM24x2cyVWC2bnfBLF0UwwQXoGKSRpVfnds0oMwrnP3pXZZDFT42t3hUXCoq\r
146 watxOmpUjzEC0CmGJdoM4RLzVbqZ7O7jxU+siEsOLkAn0jRiPQQMLBoz24UuEuTg\r
147 gNZbqfCdOBo+iiHp/JFdC002IrXOG1XGuULmsNfTechATG/LF+enA/ls8Jzo/Ats\r
148 Hk9+T+6ZvKqKrixeVUpWJcwaNdQsqUiRenX7tOGIZC0OQg+0SJmqoUdwYh8Gzpab\r
149 eOjC1kIh9bZ+LfGvmdjJs984epL0fue4UPk1K/XckX0WaPHKMn5OEqw1Lgm49PW1\r
150 lOsTUTDbZbmZd2MpvsQCUDRX5GKeZYn+3F4aRNx625IeythuohU2XZ84wpht7wm3\r
151 pu8JKVwjfdmhbCXX1B+fGWl6hVIOeD4oO+XkEUS2RD/uSD/dKUKJoYrhC+X9G+FJ\r
152 tzz1g9W6Tx6tmcympKqC7p9r714pIHwbZk05cCDdyUzupsPHvosndzt+/f/0kQnm\r
153 A3URoJjYq7DvGkGopNdMMRYKaUUtAyNjLPJ0wD4JYAOsGKKQagwInIlUXqIFjAVa\r
154 zb7htirrCRpkcw9Ormqn6RxJs8mf/J7C9XAIqDDQRWuBzB9dvBnVAHiGXd7mVXd8\r
155 Q/Kt6TaB/6B/M/ianv2f\r
156 =7TuE\r
157 -----END PGP SIGNATURE-----\r
158 \r
159 --hK8Uo4Yp55NZU70L--\r