Re: Binding access to ~/.notmuch-config
authorW. Trevor King <wking@tremily.us>
Wed, 13 Jan 2016 17:23:18 +0000 (09:23 +1600)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:20:52 +0000 (16:20 -0700)
95/d8efe98f73dee64b019ebd44144958faaf2bb1 [new file with mode: 0644]

diff --git a/95/d8efe98f73dee64b019ebd44144958faaf2bb1 b/95/d8efe98f73dee64b019ebd44144958faaf2bb1
new file mode 100644 (file)
index 0000000..a3df9cd
--- /dev/null
@@ -0,0 +1,144 @@
+Return-Path: <wking@tremily.us>\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 90B596DE1607\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Jan 2016 09:25:27 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.009\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.009 tagged_above=-999 required=5 tests=[AWL=0.110, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 5qNv7MW3j7wB for <notmuch@notmuchmail.org>;\r
+ Wed, 13 Jan 2016 09:25:23 -0800 (PST)\r
+Received: from resqmta-po-04v.sys.comcast.net (resqmta-po-04v.sys.comcast.net\r
+ [96.114.154.163])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 411FE6DE091E\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Jan 2016 09:25:22 -0800 (PST)\r
+Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242])\r
+ by resqmta-po-04v.sys.comcast.net with comcast\r
+ id 5VQW1s0045E3ZMc01VRL2B; Wed, 13 Jan 2016 17:25:20 +0000\r
+Received: from mail.tremily.us ([73.221.72.168])\r
+ by resomta-po-18v.sys.comcast.net with comcast\r
+ id 5VPK1s00B3dr3C901VPKiR; Wed, 13 Jan 2016 17:23:20 +0000\r
+Received: by mail.tremily.us (Postfix, from userid 1000)\r
+ id 2DACF1B5220F; Wed, 13 Jan 2016 09:23:19 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
+ t=1452705799; bh=PxyZAnNi9hOhQghnzW4+eQPKpW9zLZKR3+qm1DMRB0s=;\r
+ h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
+ b=BGw8VttzChH6lk6OnsVYRUTBuNezAH8fDCFMtj7220NFH0AXPU1t3lbhVfRDQfT8C\r
+ 7riZUfON1g3YHr5zArEV0CNXQq7/lVK+B8STOMKNqFN8xavkKLcqWaPQaab7KrBvlB\r
+ VdIGz1K2sHlsJ9uLdFsJZBoyZEMF3VtC24nHakh4=\r
+Date: Wed, 13 Jan 2016 09:23:18 -0800\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: David Bremner <david@tethera.net>\r
+Cc: Konrad Hinsen <konrad.hinsen@fastmail.net>, notmuch@notmuchmail.org\r
+Subject: Re: Binding access to ~/.notmuch-config\r
+Message-ID: <20160113172318.GO372@odin.tremily.us>\r
+References: <5694CA65.8010400@fastmail.net> <87bn8r54dz.fsf@zancas.localnet>\r
+ <m160yyev4o.fsf@fastmail.net> <8737u26cpg.fsf@zancas.localnet>\r
+ <8760yy4o3w.fsf@tesseract.cs.unb.ca>\r
+ <20160112191350.GE372@odin.tremily.us>\r
+ <5696343B.2070907@fastmail.net> <87wprd4qft.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+ protocol="application/pgp-signature"; boundary="20Vs8q+K0csnIr5j"\r
+Content-Disposition: inline\r
+In-Reply-To: <87wprd4qft.fsf@zancas.localnet>\r
+OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
+ url=http://tremily.us/pubkey.txt\r
+User-Agent: Mutt/1.5.23 (2014-03-12)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+ s=q20140121; t=1452705920;\r
+ bh=SPv49aLc1z14m3PFBpNFI1442ZyY7ho181Dng3oZLp4=;\r
+ h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
+ MIME-Version:Content-Type;\r
+ b=jjdRJ3NBe1ZnGa9grVv30Bt351w7DBHqGZPhw/UEYX/Z1x2Exv/CRZRRdGDeCRUcy\r
+ pu7VBtBGXxTXJ5zJ0O81lq8vkk1avtVsCPLSkFDKGnVbcvr+D97doBOJyS/IdAy9mx\r
+ fr7Co+qabP/ypKk8coh5yG5rRpiAvLlQ+t+50F4fjuobMZ+9BrTXXcD7DkBLcWZ7VS\r
+ 4IGIE5mMK8iR2ljxNxCxLCsNHivfNZIORbHdTL1/CGAi3YZyAzl0fkDjUz6a6GWar2\r
+ OG6sVb2MMKlM9FXih6HrMLO8szCmvCOP0iF4CYV2SN13okWAKVZwbtbI19Oz7ISAC0\r
+ fPmtG7O9UqlHw==\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: Wed, 13 Jan 2016 17:25:27 -0000\r
+\r
+\r
+--20Vs8q+K0csnIr5j\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed, Jan 13, 2016 at 08:25:10AM -0400, David Bremner wrote:\r
+> Konrad Hinsen writes:\r
+> > I agree. I see notmuch as a collection of CLI tools, some of which\r
+> > are part of the distribution and others are written by myself for\r
+> > my specific needs. I'd like them all to share a single\r
+> > configuration file.  In fact, I'd love to be able to add sections\r
+> > specific to my Python scripts.\r
+>=20\r
+> Yes, I understand that it's convenient, but the current set up is\r
+> not really very robust=E2=80=A6  In particular upcoming changes may move\r
+> some configuration items out of this file and into a library level\r
+> configuration API.\r
+\r
+I think you mean [1].  And that's fine, since Python scripts, etc.,\r
+can use that API to set and access config settings, be they standard\r
+or script-specific (as far as I can tell, I haven't reviewed that\r
+series in detail).  Docs on any standard settings would be nice, but I\r
+guess they'd land as features moved out of ~/.notmuch-config and into\r
+the database.  The only setting that can't move into the database (as\r
+you pointed out earlier [2]) is the path to the database.  That's\r
+currently all the Python bindings extract now, and making that route\r
+the officially blessed way to find the default database path makes\r
+sense to me.\r
+\r
+Cheers,\r
+Trevor\r
+\r
+[1]: id:1452654610-22864-1-git-send-email-david@tethera.net\r
+     http://thread.gmane.org/gmane.mail.notmuch.general/21643\r
+[2]: id:8760yy4o3w.fsf@tesseract.cs.unb.ca\r
+     http://article.gmane.org/gmane.mail.notmuch.general/21639\r
+\r
+--=20\r
+This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
+For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
+\r
+--20Vs8q+K0csnIr5j\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQIcBAEBAgAGBQJWlogDAAoJEAPqygegUbGsTgYP/3iNf46LtBpF4qX+y50CSS4d\r
+NIX8cUsLNZe8F9zcASZ1vSiEibeZRAXBg+OxZoB1hvXQTL0zxpqeLXEKslT5BYet\r
+x/BRU/aA2pUslyW+fwNHDBog57weKkRd8DAKuzFXoFn74zOvGkvhP58zqhrD6Gpy\r
+57jvdgglN2p5DckUAzDZj5vYIYeEyECtgXkIeF6FgRrEgz/4FHOR9MCK4ybqTLw4\r
+pkrAoAxZTK7O4qL7fefzZ0zKf7hvwleCDa7SB9gEjjuYQY2hMQHApYwHwYxYZMGV\r
+HiEtDvoa9EZ/xUB/tzGjoiE63Dmwvnd/67oRLfeqXtBT3marzwjubBitJhr4mFnp\r
+P74RAOAogzxXYSQ3Zw2cWFRPBif/V+fINAU0lMHiCVrnDqGEFrZR/bmArNW7CjkS\r
+nwQbtq/Cdikk1rt+PGVHMe0lGS7qdZf97Z/+btEmmtY2ZMSL40lEloeeZY72l9FJ\r
+e39NS9sn3ewNVfaMPySaVfJD8xbqSb3YgcsKH3F2hqhI6/wh6x2a+m+EYSBS9/Ws\r
+sFsX5U+7OhuxH//2cGhAluw28pBZbvk83iUNaTo6rFjo6qCMXnDz7grDfn+8Qv82\r
+gTr6xmQSfXKe22e+OmSUF8DZP9j25NPNigqkh07HD1wzoJqqFn+jbhZMg2RgrhIE\r
+tTGHoSpuOl7jAqZP8hFu\r
+=BY6Y\r
+-----END PGP SIGNATURE-----\r
+\r
+--20Vs8q+K0csnIr5j--\r