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 72AC56DE098A for ; Thu, 21 Nov 2019 18:51:17 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.638 X-Spam-Level: X-Spam-Status: No, score=-1.638 tagged_above=-999 required=5 tests=[AWL=0.863, 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 zN87_wqpfpNG for ; Thu, 21 Nov 2019 18:51:16 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 81E266DE092B for ; Thu, 21 Nov 2019 18:51:16 -0800 (PST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1574391074; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=e1lGvxFEhl+SWVnfzXf1ma6xIhr9CA+5rtRsS59Z82s=; b=hmasLyhsDrK4j80QxHb5GraL6DGMLWv5rwvnvcbjYsPWom7JbbZMij7Z UV+RZ5vjCg5UDYPQoGej7qR/pDJ/Dg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1574391074; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=e1lGvxFEhl+SWVnfzXf1ma6xIhr9CA+5rtRsS59Z82s=; b=rgafPmNeRE2fb/6qrlq2begRBxdLSGTvdooT450yjSDVPiJaI0Tpn9LA F51sQC54SJqFS+4gvBbrk8qjFmkN6f3jNy6bz/YZ+iXkPDFA8B1FhwBbsp lQuoS7h+43t1xFWw9df9me2YGtD3uTVrBtaEVSaZRcHb0wZcPE8ziscBGQ 8puhpDFGVptW8N7ZR+pN7XP0oNRoyKBcL28kmvylJ9hrYnhT/0lNrtzRJO p4pg3HetcKCOd4h5FrTcIzsGxDbFgJmVKwHkiGj3YE3/SaMMRas60dLFwZ t7bajI+bZBWVKShXX4ZbPSua4VTUGH99GaRiUW2BV2p5PN/C8dRwRA== Received: from fifthhorseman.net (dhcp-9e77.meeting.ietf.org [31.133.158.119]) (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 39006F9AF; Thu, 21 Nov 2019 21:51:12 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 3B67E20607; Fri, 22 Nov 2019 10:51:07 +0800 (+08) From: Daniel Kahn Gillmor To: Johan Parin , notmuch@notmuchmail.org Subject: Re: [PATCH] Display extra headers for emacs-mua - db config option In-Reply-To: References: <20191116162723.18343-1-johan.parin@gmail.com> <87imnej66q.fsf@fifthhorseman.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 10:51:06 +0800 Message-ID: <87lfs8ipyd.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: Fri, 22 Nov 2019 02:51:17 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu 2019-11-21 22:56:04 +0100, Johan Parin wrote: > Here is a taste (not fully tested, but seems to work). Oof, i see what you mean :( I haven't tried to implement this a different way, so i don't know whether there isn't a shorter cut to what we want, but yow it is a lot. Are we doing something more deeply, architecturally wrong that saddles us these two rather displeasing choices? > diff --git a/doc/man1/notmuch-config.rst b/doc/man1/notmuch-config.rst > index 28487079..0eb59883 100644 > --- a/doc/man1/notmuch-config.rst > +++ b/doc/man1/notmuch-config.rst > @@ -204,6 +204,12 @@ The available configuration items are described belo= w. > supported. See **notmuch-search-terms(7)** for a list of existing > prefixes, and an explanation of probabilistic prefixes. >=20=20 > +**show.extra_headers** > + A list of extra headers that will be output by **notmuch show** > + with ``--format=3Dsexp``, if present in the message. > + > + Default: empty list. > + > **built_with.** > Compile time feature . Current possibilities include > "compact" (see **notmuch-compact(1)**) and "field_processor" (see Given the implementation choices, i think you want **[STORED IN DATABASE]** here (see the definitions for query. and index.header. and index.decrypt). Thanks for taking the time to sort this out! --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXddNGgAKCRB2GBllKa5f +AA/APsGr3k/6O0f51wn4Q31ua1qVCKt4GSII5YaqrKAdS+SlAEAhSWZAmLiCdEU 0Msb6t/HB4pCgGx0hk43sNXaTfhwvAQ= =/rMR -----END PGP SIGNATURE----- --=-=-=--