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 333DE6DE098A for ; Thu, 21 Nov 2019 12:34:12 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.501 X-Spam-Level: X-Spam-Status: No, score=-2.501 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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 Tlhld_2SBoj4 for ; Thu, 21 Nov 2019 12:34:11 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 347066DE024F for ; Thu, 21 Nov 2019 12:34:11 -0800 (PST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1574368449; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=62ij4SmLphVk/ZbeiZ4pGkKZt0vdFeyjZ0oR/YhePdk=; b=NEpjBmVW1B5mwHsUWheprRPobnM/2Au3CypaRVd+zQOWFEOFNlEoiwBz YLLEaPOl7KZBgCqzovXGPAHmn6seCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1574368449; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=62ij4SmLphVk/ZbeiZ4pGkKZt0vdFeyjZ0oR/YhePdk=; b=NA/I4MCpIQeUkeSEz3iqLgaVX2iceAAh7SW9JinxFUl7GCA4kO4T5QK8 OFsEJVRInuzu3SvAqToDA9t3i8fgJ1sZmwcBnzalPNGgATGwgAXShttOvB OKnZySPky0AJwVOXrpwPJ1VLUJd8uLdMntjudV1tG8TP0cnbdx+X1ERhQ0 cg37m0jKt3as/oHaaZ3xi/DV1e7y7J0liAcZSt/Bt8iWtVQqcXN9wXFp+3 4NB9XEcAIT1qIqc0IxvWS2AZ9zTSgKElBPBYiPmIAOin5XEjTQfihNfnf0 IrMoMiVY01NxQJRGYrWUGlLEmj7huOMdkSeQGkmof0hJeMDYm3SldQ== Received: from fifthhorseman.net (unknown [182.55.86.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id D20ABF9AF; Thu, 21 Nov 2019 15:34:08 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 21F622038D; Fri, 22 Nov 2019 03:47:45 +0800 (+08) From: Daniel Kahn Gillmor To: David Bremner , Johan Parin , notmuch@notmuchmail.org Subject: Re: [PATCH] Display extra headers for emacs-mua - db config option In-Reply-To: <875zjd8lev.fsf@tethera.net> References: <20191116162723.18343-1-johan.parin@gmail.com> <875zjd8lev.fsf@tethera.net> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQUJA8Jn AAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJcQsbzAhkB AAoJEPIGkReQOOXG4fkBAO1joRxqAZY57PjdzGieXLpluk9RkWa3ufkt3YUVEpH/AP9c+pgIxtyW +FwMQRjlqljuj8amdN4zuEqaCy4hhz/1DbgzBFxCv4sWCSsGAQQB2kcPAQEHQERSZxSPmgtdw6nN u7uxY7bzb9TnPrGAOp9kClBLRwGfiPUEGBYIACYWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUCXEK/ iwIbAgUJAeEzgACBCRDyBpEXkDjlxnYgBBkWCAAdFiEEyQ5tNiAKG5IqFQnndhgZZSmuX/gFAlxC v4sACgkQdhgZZSmuX/iVWgD/fCU4ONzgy8w8UCHGmrmIZfDvdhg512NIBfx+Mz9ls5kA/Rq97vz4 z48MFuBdCuu0W/fVqVjnY7LN5n+CQJwGC0MIA7QA/RyY7Sz2gFIOcrns0RpoHr+3WI+won3xCD8+ sVXSHZvCAP98HCjDnw/b0lGuCR7coTXKLIM44/LFWgXAdZjm1wjODbg4BFxCv50SCisGAQQBl1UB BQEBB0BG4iXnHX/fs35NWKMWQTQoRI7oiAUt0wJHFFJbomxXbAMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJcQr+dAhsMBQkB4TOAAAoJEPIGkReQOOXGe/cBAPlek5d9xzcXUn/D kY6jKmxe26CTws3ZkbK6Aa5Ey/qKAP0VuPQSCRxA7RKfcB/XrEphfUFkraL06Xn/xGwJ+D0hCw== Date: Fri, 22 Nov 2019 03:47:44 +0800 Message-ID: <875zjdj9jz.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Thu, 21 Nov 2019 20:34:12 -0000 --=-=-= Content-Type: text/plain On Thu 2019-11-21 08:27:04 -0400, David Bremner wrote: > Apologies for being late to the discussion of where to store the > configuration. So far we have only stored configuration in the database > where it affected the behaviour of the library API. While i'm being ambitious, i'd like also to eventually consider moving more of the existing CLI functionality into being accessible from the library. I think this would help downstream MUAs that use notmuch who currently can't (or don't want to, for whatever reason) take advantage of the existing CLI, but can use the library. If we stuff more config in the config file, then the behavior of any future move to the library will have to grapple with the config move (currently the library never reads the config file, it just opens the database). > I know some people (e.g. dkg) have suggested it would be better to > store all of the configuration in the database for consistency, while > others are disgruntled that some of the configuration is not editable > with text editor. It would still editable with a text editor -- you just need to edit the output of "notmuch dump --include config" and feed the result back into "notmuch restore" :) --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXdbp4AAKCRB2GBllKa5f +ElIAP9s/xEwqlwIOK4/MwFvZPsn0Kic2zo2ncQxujYlCnlG8gD9E5pORZakMY4v O58OjWKEoyg3WyJooQmtNgqYjOHBxQc= =4XC6 -----END PGP SIGNATURE----- --=-=-=--