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 916976DE0BF6 for ; Mon, 9 Dec 2019 10:36:00 -0800 (PST) Authentication-Results: arlo.cworth.org; dkim=permerror (0-bit key) header.d=fifthhorseman.net header.i=@fifthhorseman.net header.b="mWnkZiMT"; dkim=pass (2048-bit key; unprotected) header.d=fifthhorseman.net header.i=@fifthhorseman.net header.b="DrKCDDXb"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.504 X-Spam-Level: X-Spam-Status: No, score=-1.504 tagged_above=-999 required=5 tests=[AWL=0.997, 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 vxG6W5uziwiX for ; Mon, 9 Dec 2019 10:36:00 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id E28726DE016F for ; Mon, 9 Dec 2019 10:35:59 -0800 (PST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1575916557; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=7lTcywlRzjHEsABQ+fSkEOgqsZynDA5XPw2AifQYw2I=; b=mWnkZiMTCPLWNRq+cpKei6jjsJGRf8Yse7K8sGIF+D3IdeIb8CTm2/Vo AbApykXJ5cu1FtAcV80EAMFAlFNrDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1575916557; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=7lTcywlRzjHEsABQ+fSkEOgqsZynDA5XPw2AifQYw2I=; b=DrKCDDXbmO29vamNG4vB7fykDksu3LtRUn7g4O5RIg62r1QXB6DxgjMs WJZm+yrnGLnT2UZ5CUQZ6GpKOrPOyJ4sdFGASD4QRXgrNfFGwjczdALGDZ Mom8+2+auJoW6oAZe1e6UboB01FD5ztWOnd83N4VceP6ORtmHquGJrPyLn OQlum9joNjG1R2d/Yc3NpQkTWdT+poUwPgaFCskJcpKiuaBwNJGqkOZjdG mDCrK3YazKx27rKLwx8yBH8x6OIrb4cayMyoDWmdPDR7MLHf3Eev2HMUyQ Zy+uet//adMwI3NbxLrm9iI2gtPSErOIQhZPRQNHpPl5KOTmXz+euQ== Received: from fifthhorseman.net (unknown [38.109.115.130]) (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 410B3F9A5; Mon, 9 Dec 2019 13:35:55 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 1CADD20524; Mon, 9 Dec 2019 13:31:23 -0500 (EST) From: Daniel Kahn Gillmor To: "Jorge P. de Morais Neto" , Jameson Graef Rollins , Tomi Ollila , notmuch@notmuchmail.org Subject: Re: moving the config into the database [was: Re: [PATCH] Display extra headers for emacs-mua - db config option] In-Reply-To: <877e36bryd.fsf@disroot.org> References: <20191116162723.18343-1-johan.parin@gmail.com> <875zjd8lev.fsf@tethera.net> <875zjdj9jz.fsf@fifthhorseman.net> <87o8x4iqar.fsf@fifthhorseman.net> <87a782bw83.fsf@disroot.org> <87blsiwxk8.fsf@caltech.edu> <877e36bryd.fsf@disroot.org> 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: Mon, 09 Dec 2019 13:31:22 -0500 Message-ID: <87muc18i6d.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: Mon, 09 Dec 2019 18:36:00 -0000 --=-=-= Content-Type: text/plain On Sun 2019-12-08 15:19:38 -0300, Jorge P. de Morais Neto wrote: > Em [2019-12-08 dom 09:12:55-0800], Jameson Graef Rollins escreveu: > >> You can already use 'notmuch config list' to dump every configuration >> item to stdout. Would that be sufficient for personal synchronization >> purposes. > > But then I would have to remember invoking > ~notmuch config list > ~/notmuch-config~ > every time I changed Notmuch configuration. It would be more convenient > and less error-prone for Notmuch to keep a perennial text file > reflecting the configuration in the database. Oh, I that file should be > updated not only by ~notmuch edit config~, but also by ~notmuch config > set~. One problem with such a "perennial text file" is that people will want to edit it. When they do, what should happen? So the proposal to maintain such a file seems like we would be adding an interface to notmuch that will not be used by many people, and will eventually hurt (or at least confuse) users in surprising ways. I'd rather keep notmuch itself simpler, and expect users who are syncing to sync things like the output of "notmuch dump" (which already includes all db-stored config). --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXe6S+gAKCRB2GBllKa5f +C5uAQD+PfQJbx5nzCuqtOGmHtc1sYJtFl5ta5yOIGWOL16fpgEAumsiZ/duJtdX WZ4Sm3cF75XPyULoIf6IwZ077GP0+g0= =+s3Y -----END PGP SIGNATURE----- --=-=-=--