Re: Binding access to ~/.notmuch-config
authorKonrad Hinsen <konrad.hinsen@fastmail.net>
Wed, 13 Jan 2016 11:25:47 +0000 (12:25 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:20:52 +0000 (16:20 -0700)
99/e5ba79dfb127800d29d9a3791d33bca21df4ec [new file with mode: 0644]

diff --git a/99/e5ba79dfb127800d29d9a3791d33bca21df4ec b/99/e5ba79dfb127800d29d9a3791d33bca21df4ec
new file mode 100644 (file)
index 0000000..beea2d0
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <konrad.hinsen@fastmail.net>\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 B69E76DE01D3\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Jan 2016 03:25:52 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.719\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.719 tagged_above=-999 required=5 tests=[AWL=0.101,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,\r
+ 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 nqSNH0qRIBhp for <notmuch@notmuchmail.org>;\r
+ Wed, 13 Jan 2016 03:25:50 -0800 (PST)\r
+Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com\r
+ [66.111.4.27])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id C9F376DE0159\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Jan 2016 03:25:50 -0800 (PST)\r
+Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])\r
+ by mailout.nyi.internal (Postfix) with ESMTP id 3FE7220AFF\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Jan 2016 06:25:49 -0500 (EST)\r
+Received: from frontend1 ([10.202.2.160])\r
+ by compute4.internal (MEProxy); Wed, 13 Jan 2016 06:25:49 -0500\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.net; h=\r
+ content-transfer-encoding:content-type:date:from:in-reply-to\r
+ :message-id:mime-version:references:subject:to:x-sasl-enc\r
+ :x-sasl-enc; s=mesmtp; bh=9Z+yfjRDJSpqkawSqlz34ZcOoWs=; b=k9qbGY\r
+ V53dLI10A8qLoJr3xEEDykFx4JZHPuIBRS78nQ6PvI6hdkU1b221YGdzCKjokJsT\r
+ 61I6wJjlqcmsZVCWgset8C0bkytO9irLuKRFfBXF7jwawpOgKtzMmFlzwAd+IUhn\r
+ s/BRe2IRiq2Fp4bIGP+CqxNJdULzKyAnpL3b8=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=\r
+ messagingengine.com; h=content-transfer-encoding:content-type\r
+ :date:from:in-reply-to:message-id:mime-version:references\r
+ :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=9Z+yfjRDJSpqkaw\r
+ Sqlz34ZcOoWs=; b=EocqAi1/OaUagTI9njiBiDlNRxJgGkzxp5BTXnPObi7wMur\r
+ 6yiUdUnwRF7skaGwmyWnYuyxgP+OM88vObPR6ZeuMoMd5l3ENsyVAWk41hJlhRnd\r
+ yE2Yso1ZywV+pKdei5By0SmZbrW7suKx2bAzT3LoUgUOBoMU+0BL8+/qAP0o=\r
+X-Sasl-enc: mljaPnaiJIylzIoXXxqElvssSwtuM0tbMvz7ynXoDSz2 1452684348\r
+Received: from Konrad-Hinsens-MacBook-Pro-2.local\r
+ (soleil-ext.synchrotron-soleil.fr [195.221.0.206])\r
+ by mail.messagingengine.com (Postfix) with ESMTPA id B1A6DC016F8;\r
+ Wed, 13 Jan 2016 06:25:48 -0500 (EST)\r
+Subject: Re: Binding access to ~/.notmuch-config\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> <20160112191350.GE372@odin.tremily.us>\r
+To: notmuch@notmuchmail.org\r
+From: Konrad Hinsen <konrad.hinsen@fastmail.net>\r
+Message-ID: <5696343B.2070907@fastmail.net>\r
+Date: Wed, 13 Jan 2016 12:25:47 +0100\r
+User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0)\r
+ Gecko/20100101 Thunderbird/38.5.0\r
+MIME-Version: 1.0\r
+In-Reply-To: <20160112191350.GE372@odin.tremily.us>\r
+Content-Type: text/plain; charset=utf-8; format=flowed\r
+Content-Transfer-Encoding: 7bit\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 11:25:52 -0000\r
+\r
+On 12/01/16 20:13, W. Trevor King wrote:\r
+\r
+> On Tue, Jan 12, 2016 at 03:03:15PM -0400, David Bremner wrote:\r
+>> Nothing to do with Konrad's crash, but I consider the fact that the\r
+>> python bindings read ~/.notmuch-config to be a kind of layering\r
+>> violation, since that file belongs to the CLI, while the bindings\r
+>> are supposed to provide access to libnotmuch.\r
+>\r
+> I think of ~/.notmuch-config as being shared between all client code,\r
+> and in that view it makes sense to have both the CLI and Python\r
+> bindings (and other bindings) access it to figure out how to configure\r
+\r
+I agree. I see notmuch as a collection of CLI tools, some of which are \r
+part of the distribution and others are written by myself for my \r
+specific needs. I'd like them all to share a single configuration file. \r
+In fact, I'd love to be able to add sections specific to my Python scripts.\r
+\r
+Cheers,\r
+   Konrad.\r