From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gIcqMq1C0GF8OgAAgWs5BA (envelope-from ) for ; Sat, 01 Jan 2022 13:01:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YHeFL61C0GEReQEA9RJhRA (envelope-from ) for ; Sat, 01 Jan 2022 13:01:49 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 47B1817F19 for ; Sat, 1 Jan 2022 13:01:49 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1A90D5F719; Sat, 1 Jan 2022 12:01:44 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 3C05D5F70A for ; Sat, 1 Jan 2022 12:01:42 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 23C365FC42; Sat, 1 Jan 2022 07:01:41 -0500 (EST) Received: (nullmailer pid 38199 invoked by uid 1000); Sat, 01 Jan 2022 12:01:40 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: support extra headers in notmuch show v2 Date: Sat, 1 Jan 2022 08:01:33 -0400 Message-Id: <20220101120136.37988-1-david@tethera.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: OHTIVFDA44GMUDSQIOZP27JOXFJ6S5BV X-Message-ID-Hash: OHTIVFDA44GMUDSQIOZP27JOXFJ6S5BV X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641038509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=78GDSxA4JgWGTmxc10gK7oTPtvrJIaMdCwSQui31b8M=; b=TF1f3CjL3yceyJGn0SEsWDKTgDIwyROjl8OquKYQVnu90jDj/5Z2Jqk9NlUbpSpH40xPul OHTXR+o7BBQDDsKVPW+PrQx4yv9oAKPZaTIl8Elx3aSzZMe3CnzXOYmmq7c7KGklBeUuW5 wXx4Kv101cQAtjmqhTFD7flJg9RowyXFKbZ5W8NY8Hc4olNg8BAmCde4eAYPj5df2ajqwz U+hGV965gXwo6mV2X1T1KQVaXX+kw1B/uEBotbRppCMaeIZXgUSWq5lAvQdVg0QmWEm1sc VfRMpG9FsYuLIix2mws+8Fyb8GwG2XJvV2h+luPw8VGZrREwiz2o18Rd1Zs/Iw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641038509; a=rsa-sha256; cv=none; b=TOWysetyJDJ2H6eOOBG/vR8BY2kFYUz/4pwRtZV7cLUxZMLLZMn2KOTxF5FIOslnT6U/Z4 IpvoDre91nL1QgzgUpbJ8hXUIKvalC6oBhaa4b49JR4hAcR7PxBo4oP23ceQFS3hHxagPD Z8owA66ZmWJ9o9y+1ON0AKFIMc1A5svSnlFH8a5go4J6zlXPzT1zKcTthaHa0+CTehQGVu aUTXkK4fVGm/lFKThg2WadSwHfMFqEYyCCj2ocxPKOBAKynwrMG9WeQpxnSUOdsJKAZhmA sDLZiVRZwIEYa9xFGcHgJa+I+iDxO1TcvYNoljYrV6+g+YdrplyrhQy27dMXhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 47B1817F19 X-Spam-Score: -1.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: xtuYY4eKBsw8 This is a respin of [1], that takes advantage of changes to the config system in the meantime and adds a couple tests. Like that patch, this only updates the CLI. There are some related changes to the emacs UI proposed in [2], but those would require adapting to work with these changes. In particular the emacs UI probably needs to interrogate notmuch to see which extra headers the user has configured. [1]: id:20191116162723.18343-1-johan.parin@gmail.com [2]: id:20191122230730.35712-2-johan.parin@gmail.com