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 3AC006DE0EB7 for ; Wed, 8 Jan 2020 07:26:46 -0800 (PST) Authentication-Results: arlo.cworth.org; dkim=permerror (0-bit key) header.d=fifthhorseman.net header.i=@fifthhorseman.net header.b="wK5cpVLQ"; dkim=pass (2048-bit key; unprotected) header.d=fifthhorseman.net header.i=@fifthhorseman.net header.b="WsI+Hvvj"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.55 X-Spam-Level: X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[AWL=0.951, 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 leTNizTGVdDT for ; Wed, 8 Jan 2020 07:26:45 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 5E9EF6DE0B72 for ; Wed, 8 Jan 2020 07:26:44 -0800 (PST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1578497201; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=MI5aTljJhwcBXsu0EItWngVlpkXtf/gC9qOjF+fh3JQ=; b=wK5cpVLQQDyVrwF1GRDziHk1c8M13PmbuBP/fRbvGEqRDc4FzUYeGeTF NUGEhamj59cVa/YIt2S1e+QKyXtCDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1578497201; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=MI5aTljJhwcBXsu0EItWngVlpkXtf/gC9qOjF+fh3JQ=; b=WsI+HvvjBxOCGnIeML9joubKxzlZ/6sCTvZJ9NQTi8ZktSCiiDHDtKvE fR2YN+8qKKlGkdtRn7RZcDQXLEc89MvTcQYcmPClrXde5Fqt1av5jTPoM1 ZF9w+/J+ZRfEAZJfkRQkB9qd7IFNfTWgR6X0n9IaHJUuml8b1AJrOCV8B9 XA4/PcKB/x59mIGzlczEphuZd90sIz6GCBw1YErThWKEdvclW0+jMmWvuK BwAAB/GaXuTfPIrG142DAOmKv3LIKVb2lKx2TPduvZk1+08A2VkfhL5qTW d0LZU+muqansomTRtLYGaiu5WKQq9x9gltXhK4q9+QFPHsx6aPcclw== 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)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 03252F9A6; Wed, 8 Jan 2020 10:26:39 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 27FFD2024B; Wed, 8 Jan 2020 10:25:51 -0500 (EST) From: Daniel Kahn Gillmor To: Teemu Likonen , Notmuch Mail Subject: Re: filtering headers from forwarded messages In-Reply-To: <87eewmlzqs.fsf@iki.fi> References: <877e2qbzms.fsf@fifthhorseman.net> <87eewmlzqs.fsf@iki.fi> 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: Wed, 08 Jan 2020 10:25:50 -0500 Message-ID: <875zhm6kch.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: Wed, 08 Jan 2020 15:26:46 -0000 --=-=-= Content-Type: text/plain On Mon 2019-12-30 15:16:59 +0200, Teemu Likonen wrote: > Daniel Kahn Gillmor [2019-12-20T13:50:03-05] wrote: > >> In notmuch-emacs, i can manually filter the headers by editing the >> reply compose buffer, of course, but it's kind of a pain, and it'd be >> nice to have it done automatically for me. > >> Has anyone else considered this use case, or thought about how to make >> it easy/simple to do the right thing when using Notmuch? Are there >> other factors that are worth considering? > > The underlying message-mode has these variables: > > message-forward-as-mime > message-forward-before-signature > message-forward-ignored-headers > message-forward-included-headers > message-forward-show-mml > > I have not studied those very closely but at least I know that when > -as-mime is nil user can use -included-headers to set what headers user > wants to include. Thanks for the pointer! it looks like message-forward-{ignored,included}-headers should do (roughly) what i want. I'll try them out. --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXhX0fgAKCRB2GBllKa5f +N0FAQDJ6bCkNDlCUbENGDuDELXSK8uM8Gp+cKVaXNrExlAbRAEAg8bCf21z7XhN Q/JTwhB99Jp+kGB2aKd4i8D9EgGu/A8= =3q/v -----END PGP SIGNATURE----- --=-=-=--