From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sEaYAn7LIGLJEgAAgWs5BA (envelope-from ) for ; Thu, 03 Mar 2022 15:06:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YFRGN33LIGKlQQAAG6o9tA (envelope-from ) for ; Thu, 03 Mar 2022 15:06:53 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 006E142176 for ; Thu, 3 Mar 2022 15:06:53 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1687F5F70A; Thu, 3 Mar 2022 14:06:50 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id F057F5F6B8 for ; Thu, 3 Mar 2022 14:06:47 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 0AD2E5FC01; Thu, 3 Mar 2022 09:06:47 -0500 (EST) Received: (nullmailer pid 3155704 invoked by uid 1000); Thu, 03 Mar 2022 14:06:46 -0000 From: David Bremner To: Jan Malakhovski , notmuch@notmuchmail.org Subject: Re: [BUG] Custom headers in `notmuch-message-headers` are broken In-Reply-To: <87h8sdemnr.fsf@oxij.org> References: <87h8sdemnr.fsf@oxij.org> Date: Thu, 03 Mar 2022 10:06:46 -0400 Message-ID: <875yovgmfd.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: TXVWP362E3IYVRESOKYZS2LVONOPD5UQ X-Message-ID-Hash: TXVWP362E3IYVRESOKYZS2LVONOPD5UQ X-MailFrom: david@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=1646316413; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=3LD8I2JsCU/okw+q2Cn131iVMbCTk+R4DCvYB7bTgZc=; b=pcQqmDflDUT41URI+yZ+fcqhTShdHbMQiey5mO4V48nHLjj9cQHFL1JZ3iDEVkvwwbZijB U8zws8IVCNLgeoZLLOLlw60fH0PT3nkfeTbI7hPjEHxu1JuM6KF3hzJwL2S0fncLThp/2S nNdY9iJPj5yTymNDrFjJ/6BIhLRzrOm1y+6c4OBe6fo/oyd2OFNnxoeyqPVgGPho4NMG0L kBccwfxzGulZFnFyRe8NaNb9896rAEdFcyz9HKwZ0D9esbfxFK6f2dKyHPk7SUHknnAWmm szyK5onhm4xVpx7ZKTmOd1Y0v9OGnuSDz12bNB36V4MyLKDGFpD6b0KyY/7slA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646316413; a=rsa-sha256; cv=none; b=PVTtGETFat6g1RU0svVmL24M+0C4M8xnuApShSpfwBtKgufrZxBPb+XyySSm7VbKr29+Fq 9lic6SNiiArwewQlOMO2Ygz48MLob5L/YrCjIEpC1Nn/9kCYZnTvp6DvM3HyPFRTfnr65b tOJykvDkdmVvSrLqamaHBu0mFK42AWxqnOBI2jtu+AGWkB4BEdpguocx3i9kAkkx5lUJWz /OhAipwjM3LE2fvhxPWRJ37t0+yTdAMLUXmCTTsnMAN1jX2f/F5RXLHqA7nWdEB0hoxQ7B Ar/ECGwZCEcDa+Gd/6aJ2+FyWbDnR9m5Q2CpG8ckzwe57OZDjDj/yDtqWUawag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 006E142176 X-Spam-Score: -1.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: s+4PWc3I2VlP Jan Malakhovski writes: > # What I did > > I added "X-Github-Sender" to `notmuch-message-headers`. > Looked at a message sent via github with `notmuch-show`. > > # What I expected > > To see "X-Github-Sender" header displayed in `notmuch-show`. > > # What I got > > No such header was displayed. > > # Why > > `(notmuch-show "query")` runs > > ``` > notmuch show --format=sexp --format-version=4 query > ``` > > internally. The latter produces a sexp with > > ``` > :headers (:Subject "" :From "" :To "" :Reply-To "" :Date "") > ``` > > even when the message has many more headers. > > The end result is that `notmuch-message-headers` variable has no effect. Hi Jan; Not sure if you are still interested, but this should be fixed in notmuch 0.35 (see show.extra_headers in notmuch-config(1)).