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