[PATCH v2 11/14] cli/reply: return internet address list from get header funcs
[notmuch-archives.git] / 30 / ef65e9fe61e2527aca7d60b41eb6de80d514ed
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 arlo.cworth.org (Postfix) with ESMTP id 6A1B76DE176B\r
6  for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 11:15:56 -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.009\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.009 tagged_above=-999 required=5 tests=[AWL=0.110, \r
12  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 uiSKYhzw2pKX for <notmuch@notmuchmail.org>;\r
17  Tue, 12 Jan 2016 11:15:54 -0800 (PST)\r
18 Received: from resqmta-po-04v.sys.comcast.net (resqmta-po-04v.sys.comcast.net\r
19  [96.114.154.163])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id BEF756DE0FB1\r
21  for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 11:15:52 -0800 (PST)\r
22 Received: from resomta-po-07v.sys.comcast.net ([96.114.154.231])\r
23  by resqmta-po-04v.sys.comcast.net with comcast\r
24  id 57FS1s0044zp9eg017Fswh; Tue, 12 Jan 2016 19:15:52 +0000\r
25 Received: from mail.tremily.us ([73.221.72.168])\r
26  by resomta-po-07v.sys.comcast.net with comcast\r
27  id 57Dr1s0093dr3C9017DrD3; Tue, 12 Jan 2016 19:13:52 +0000\r
28 Received: by mail.tremily.us (Postfix, from userid 1000)\r
29  id 08B4D1B46BB3; Tue, 12 Jan 2016 11:13:50 -0800 (PST)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31  t=1452626031; bh=SrSTLBG2SZCHMCik+x5KOMRRhpwXCjhQ2tSWrDjHswI=;\r
32  h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33  b=oQCsmadpS8TkW6jlyOwuzlAXpj0pcGJDNcZQ4EXiv/YS9vm76C0M3fEeY0ga+R8pb\r
34  5RatoBfLS0qwv6hFLyzDUyX+xqvHKGGvyOO1PoGbc9E9cGPAyjq0vbR2gguNmLsg8A\r
35  2SLAyIpO9qhZT28fOM/hZIqc8aHgFnFdHB/8kccI=\r
36 Date: Tue, 12 Jan 2016 11:13:50 -0800\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: David Bremner <david@tethera.net>\r
39 Cc: notmuch@notmuchmail.org\r
40 Subject: Binding access to ~/.notmuch-config (was: Crash with Python bindings)\r
41 Message-ID: <20160112191350.GE372@odin.tremily.us>\r
42 References: <5694CA65.8010400@fastmail.net> <87bn8r54dz.fsf@zancas.localnet>\r
43  <m160yyev4o.fsf@fastmail.net> <8737u26cpg.fsf@zancas.localnet>\r
44  <8760yy4o3w.fsf@tesseract.cs.unb.ca>\r
45 MIME-Version: 1.0\r
46 Content-Type: multipart/signed; micalg=pgp-sha1;\r
47  protocol="application/pgp-signature"; boundary="2LWaEC9akcLlisSC"\r
48 Content-Disposition: inline\r
49 In-Reply-To: <8760yy4o3w.fsf@tesseract.cs.unb.ca>\r
50 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
51  url=http://tremily.us/pubkey.txt\r
52 User-Agent: Mutt/1.5.23 (2014-03-12)\r
53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
54  s=q20140121; t=1452626152;\r
55  bh=nGukQSQsKUId8wf6k531PBD5UaYNmwBJyw2SOIWDlbY=;\r
56  h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
57  MIME-Version:Content-Type;\r
58  b=ZD8r8ai1L87rvACvRfCigLy4mszpcMN0wcyU5HNuGPmhdcHGUtVVyic54Vm7Fcm2p\r
59  +a6n/GNDsUT+VhB8Ndvqi0yotbcbcF/UJStuEBjdD0YboEjQwGAXm3qCjLTIJYNTGm\r
60  r08TwmBYAk1t1ej4uMqowXv5Bad7csmvQkBbfA3+nUd/D/hsLUsqSyYJXJBA5QlETZ\r
61  1AQoS8snPCzA9x0zuLYNFz/OvtgVmUZsGNZu/5BSG953UfXULlRdFjdoxHq+SNP60u\r
62  THlWspcSSgtiFDkpF22a4IiOrTWWYW6ye29IRScH9y5Yn9Jja4UoQuiOtzQ9/39RsD\r
63  cOONviJnaonJA==\r
64 X-BeenThere: notmuch@notmuchmail.org\r
65 X-Mailman-Version: 2.1.20\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: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
75  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
76 X-List-Received-Date: Tue, 12 Jan 2016 19:15:56 -0000\r
77 \r
78 \r
79 --2LWaEC9akcLlisSC\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 Tue, Jan 12, 2016 at 03:03:15PM -0400, David Bremner wrote:\r
85 > Nothing to do with Konrad's crash, but I consider the fact that the\r
86 > python bindings read ~/.notmuch-config to be a kind of layering\r
87 > violation, since that file belongs to the CLI, while the bindings\r
88 > are supposed to provide access to libnotmuch.\r
89 \r
90 I think of ~/.notmuch-config as being shared between all client code,\r
91 and in that view it makes sense to have both the CLI and Python\r
92 bindings (and other bindings) access it to figure out how to configure\r
93 their library access calls.  Having a separate config file for each\r
94 client to point at the default database path seems like more trouble\r
95 than it's worth, as does adding a library function for =E2=80=9Creach into\r
96 some local config and return the default database path=E2=80=9D.\r
97 \r
98 Cheers,\r
99 Trevor\r
100 \r
101 --=20\r
102 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
103 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
104 \r
105 --2LWaEC9akcLlisSC\r
106 Content-Type: application/pgp-signature; name="signature.asc"\r
107 Content-Description: OpenPGP digital signature\r
108 \r
109 -----BEGIN PGP SIGNATURE-----\r
110 Version: GnuPG v2\r
111 \r
112 iQIcBAEBAgAGBQJWlVBtAAoJEAPqygegUbGsyYoP/0Bak9MknN/I6ZeusBKuwFmF\r
113 d92q2aGtEuWyXETfhhtgoweGIj5w5FGJwgMFTEWkoFcft3ORRHI4DiM7nJAsbfQx\r
114 g8f0Tqjr2UBN8qijZ1KemPdDY16tG7+4BASAkfSQFRlEUTPcea5+hMAU1q1RLOji\r
115 9vnuyBzkvWdjAbx+3FGGEdfc2equ/o5PyA5WDZtvOHCQfWoItRwbYPfeh7Xd206Q\r
116 JZosZqX/LwAMcNRXR3I1m2sYrYQ+Mz5f3H30koy32Ar2NEoagMJYMW5FRRn2DrCF\r
117 IdS7UTgxjjnEiTgvb86E1ojq8xguGwsPXzkQow1aTlBmI2JB+ZYVlxTv/+W8DnWB\r
118 Nbt4hQwRPG4dfvJ6W3h9UJDTWSa7+t07fUG0U/q0cNZ4vqVEc2t8iwXLPI/s9RrE\r
119 re1iba1N3Fy/yNc9K4rLWvSLq9dbZA0dO2nfqu8+xj+jQrkpCGIGAYDM9cf/eop1\r
120 4FG9gsfK7AxKqRBRisTPcwVSsF/GK77nv4c6mx3CTflmm4Y47F/O2lJjFx9yn81k\r
121 Iey2EYqKpFgC660UDju0+YuYoErU0vgkfSyqBfZF3SIqi10VWPZeaMZ2BV1NEkw+\r
122 OqTnPiCkUuYU8CQDvmn0dFacNGSrAyJm2VbH32iFyIUX5i9f/ZU2/FeLdWHKooi8\r
123 Eb5JWae1eB0VHXJX3Zlb\r
124 =awB4\r
125 -----END PGP SIGNATURE-----\r
126 \r
127 --2LWaEC9akcLlisSC--\r