Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 95 / d8efe98f73dee64b019ebd44144958faaf2bb1
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 90B596DE1607\r
6  for <notmuch@notmuchmail.org>; Wed, 13 Jan 2016 09:25:27 -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 5qNv7MW3j7wB for <notmuch@notmuchmail.org>;\r
17  Wed, 13 Jan 2016 09:25:23 -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 411FE6DE091E\r
21  for <notmuch@notmuchmail.org>; Wed, 13 Jan 2016 09:25:22 -0800 (PST)\r
22 Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242])\r
23  by resqmta-po-04v.sys.comcast.net with comcast\r
24  id 5VQW1s0045E3ZMc01VRL2B; Wed, 13 Jan 2016 17:25:20 +0000\r
25 Received: from mail.tremily.us ([73.221.72.168])\r
26  by resomta-po-18v.sys.comcast.net with comcast\r
27  id 5VPK1s00B3dr3C901VPKiR; Wed, 13 Jan 2016 17:23:20 +0000\r
28 Received: by mail.tremily.us (Postfix, from userid 1000)\r
29  id 2DACF1B5220F; Wed, 13 Jan 2016 09:23:19 -0800 (PST)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31  t=1452705799; bh=PxyZAnNi9hOhQghnzW4+eQPKpW9zLZKR3+qm1DMRB0s=;\r
32  h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33  b=BGw8VttzChH6lk6OnsVYRUTBuNezAH8fDCFMtj7220NFH0AXPU1t3lbhVfRDQfT8C\r
34  7riZUfON1g3YHr5zArEV0CNXQq7/lVK+B8STOMKNqFN8xavkKLcqWaPQaab7KrBvlB\r
35  VdIGz1K2sHlsJ9uLdFsJZBoyZEMF3VtC24nHakh4=\r
36 Date: Wed, 13 Jan 2016 09:23:18 -0800\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: David Bremner <david@tethera.net>\r
39 Cc: Konrad Hinsen <konrad.hinsen@fastmail.net>, notmuch@notmuchmail.org\r
40 Subject: Re: Binding access to ~/.notmuch-config\r
41 Message-ID: <20160113172318.GO372@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  <20160112191350.GE372@odin.tremily.us>\r
46  <5696343B.2070907@fastmail.net> <87wprd4qft.fsf@zancas.localnet>\r
47 MIME-Version: 1.0\r
48 Content-Type: multipart/signed; micalg=pgp-sha1;\r
49  protocol="application/pgp-signature"; boundary="20Vs8q+K0csnIr5j"\r
50 Content-Disposition: inline\r
51 In-Reply-To: <87wprd4qft.fsf@zancas.localnet>\r
52 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
53  url=http://tremily.us/pubkey.txt\r
54 User-Agent: Mutt/1.5.23 (2014-03-12)\r
55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
56  s=q20140121; t=1452705920;\r
57  bh=SPv49aLc1z14m3PFBpNFI1442ZyY7ho181Dng3oZLp4=;\r
58  h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
59  MIME-Version:Content-Type;\r
60  b=jjdRJ3NBe1ZnGa9grVv30Bt351w7DBHqGZPhw/UEYX/Z1x2Exv/CRZRRdGDeCRUcy\r
61  pu7VBtBGXxTXJ5zJ0O81lq8vkk1avtVsCPLSkFDKGnVbcvr+D97doBOJyS/IdAy9mx\r
62  fr7Co+qabP/ypKk8coh5yG5rRpiAvLlQ+t+50F4fjuobMZ+9BrTXXcD7DkBLcWZ7VS\r
63  4IGIE5mMK8iR2ljxNxCxLCsNHivfNZIORbHdTL1/CGAi3YZyAzl0fkDjUz6a6GWar2\r
64  OG6sVb2MMKlM9FXih6HrMLO8szCmvCOP0iF4CYV2SN13okWAKVZwbtbI19Oz7ISAC0\r
65  fPmtG7O9UqlHw==\r
66 X-BeenThere: notmuch@notmuchmail.org\r
67 X-Mailman-Version: 2.1.20\r
68 Precedence: list\r
69 List-Id: "Use and development of the notmuch mail system."\r
70  <notmuch.notmuchmail.org>\r
71 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
72  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
73 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
74 List-Post: <mailto:notmuch@notmuchmail.org>\r
75 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
76 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
77  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
78 X-List-Received-Date: Wed, 13 Jan 2016 17:25:27 -0000\r
79 \r
80 \r
81 --20Vs8q+K0csnIr5j\r
82 Content-Type: text/plain; charset=utf-8\r
83 Content-Disposition: inline\r
84 Content-Transfer-Encoding: quoted-printable\r
85 \r
86 On Wed, Jan 13, 2016 at 08:25:10AM -0400, David Bremner wrote:\r
87 > Konrad Hinsen writes:\r
88 > > I agree. I see notmuch as a collection of CLI tools, some of which\r
89 > > are part of the distribution and others are written by myself for\r
90 > > my specific needs. I'd like them all to share a single\r
91 > > configuration file.  In fact, I'd love to be able to add sections\r
92 > > specific to my Python scripts.\r
93 >=20\r
94 > Yes, I understand that it's convenient, but the current set up is\r
95 > not really very robust=E2=80=A6  In particular upcoming changes may move\r
96 > some configuration items out of this file and into a library level\r
97 > configuration API.\r
98 \r
99 I think you mean [1].  And that's fine, since Python scripts, etc.,\r
100 can use that API to set and access config settings, be they standard\r
101 or script-specific (as far as I can tell, I haven't reviewed that\r
102 series in detail).  Docs on any standard settings would be nice, but I\r
103 guess they'd land as features moved out of ~/.notmuch-config and into\r
104 the database.  The only setting that can't move into the database (as\r
105 you pointed out earlier [2]) is the path to the database.  That's\r
106 currently all the Python bindings extract now, and making that route\r
107 the officially blessed way to find the default database path makes\r
108 sense to me.\r
109 \r
110 Cheers,\r
111 Trevor\r
112 \r
113 [1]: id:1452654610-22864-1-git-send-email-david@tethera.net\r
114      http://thread.gmane.org/gmane.mail.notmuch.general/21643\r
115 [2]: id:8760yy4o3w.fsf@tesseract.cs.unb.ca\r
116      http://article.gmane.org/gmane.mail.notmuch.general/21639\r
117 \r
118 --=20\r
119 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
120 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
121 \r
122 --20Vs8q+K0csnIr5j\r
123 Content-Type: application/pgp-signature; name="signature.asc"\r
124 Content-Description: OpenPGP digital signature\r
125 \r
126 -----BEGIN PGP SIGNATURE-----\r
127 Version: GnuPG v2\r
128 \r
129 iQIcBAEBAgAGBQJWlogDAAoJEAPqygegUbGsTgYP/3iNf46LtBpF4qX+y50CSS4d\r
130 NIX8cUsLNZe8F9zcASZ1vSiEibeZRAXBg+OxZoB1hvXQTL0zxpqeLXEKslT5BYet\r
131 x/BRU/aA2pUslyW+fwNHDBog57weKkRd8DAKuzFXoFn74zOvGkvhP58zqhrD6Gpy\r
132 57jvdgglN2p5DckUAzDZj5vYIYeEyECtgXkIeF6FgRrEgz/4FHOR9MCK4ybqTLw4\r
133 pkrAoAxZTK7O4qL7fefzZ0zKf7hvwleCDa7SB9gEjjuYQY2hMQHApYwHwYxYZMGV\r
134 HiEtDvoa9EZ/xUB/tzGjoiE63Dmwvnd/67oRLfeqXtBT3marzwjubBitJhr4mFnp\r
135 P74RAOAogzxXYSQ3Zw2cWFRPBif/V+fINAU0lMHiCVrnDqGEFrZR/bmArNW7CjkS\r
136 nwQbtq/Cdikk1rt+PGVHMe0lGS7qdZf97Z/+btEmmtY2ZMSL40lEloeeZY72l9FJ\r
137 e39NS9sn3ewNVfaMPySaVfJD8xbqSb3YgcsKH3F2hqhI6/wh6x2a+m+EYSBS9/Ws\r
138 sFsX5U+7OhuxH//2cGhAluw28pBZbvk83iUNaTo6rFjo6qCMXnDz7grDfn+8Qv82\r
139 gTr6xmQSfXKe22e+OmSUF8DZP9j25NPNigqkh07HD1wzoJqqFn+jbhZMg2RgrhIE\r
140 tTGHoSpuOl7jAqZP8hFu\r
141 =BY6Y\r
142 -----END PGP SIGNATURE-----\r
143 \r
144 --20Vs8q+K0csnIr5j--\r