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 ms5.migadu.com with LMTPS id OMKjIBS3gWLu9wAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 04:29:40 +0200 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 aLSkIBS3gWI8PwAA9RJhRA (envelope-from ) for ; Mon, 16 May 2022 04:29:40 +0200 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 0F16D9070 for ; Mon, 16 May 2022 04:29:39 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 233A35F6BD; Mon, 16 May 2022 02:21:00 +0000 (UTC) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by mail.notmuchmail.org (Postfix) with ESMTPS id B7E9B5F529 for ; Mon, 16 May 2022 02:20:56 +0000 (UTC) Received: from fencepost.gnu.org ([2001:470:142:3::e]:60300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqQLu-0007Xt-I1; Sun, 15 May 2022 22:20:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=pADkb4EKttbqnz7mI9HfeNQ6a0nd9Mqs7ZfvukB41UA=; b=K6ydqIJavI8pxV 7bOMwmKHbcpyXqc5DFFdrKLSve0tf75jwl2BXObRe2trKweszPFSZ2ZKllpotmjY/M+vSEtZmfLJ0 +B+HxGXpoM3x0rKDn39RHBChdlOIrwXcRig4cR6udX16807PGop0J/0beuJrclR7Dn5/MWYS4UiSX bqOFOsV76BoByE1exqVYdiYwZCNcTt0IQiHdBs+h3Vba0aL2xXiWg4zb21irpEkSAInCJHkKfxICF z6+CsXmSUl0P9uTqXlwa+SXlxP8kKapaViBOR7gbUY3nenWPLmSR2gVkmpB53K+EWlHISVpSfbs4s ST3f881c2dH4PdjyMbFw==; Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:39226 helo=rivendell.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqQLu-0007Pr-5S; Sun, 15 May 2022 22:20:54 -0400 From: jao To: notmuch@notmuchmail.org Subject: [PATCH v2 0/1] notmuch-show-header-line: allow format strings and functions Date: Mon, 16 May 2022 03:20:38 +0100 Message-Id: <20220516022039.551596-1-jao@gnu.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Message-ID-Hash: FBHEG2QHPNNDQPJY4OLUTKT5SBC6WDTS X-Message-ID-Hash: FBHEG2QHPNNDQPJY4OLUTKT5SBC6WDTS X-MailFrom: jao@gnu.org 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 CC: jao 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-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652668180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc: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:dkim-signature; bh=Hqk3XFujKCjLufgUFoURkKY4TyK8sId3aOn3yMZjZi0=; b=CJNdWbpxn5c9nwa1aClry5fSfplCVFgiMQ0h29ycT7itsNp8HPtPSAkhTxpDk/VsbhgxTT 02mcuBAQWoBoPHOWlRYYjce2n1VtzMU5QohyAj9qeM3/o0g77ykEuf5AV8b+aoGB+4Igwq 3ZIAlnImC6btZOe0WkaD0LDs3wlyxFQkeJISMhkTW1dTWeaGfYdKBeiQRBPiyGnz8Dv4xs NBEdpLKhqzLtVYQUNE7TYb+y/t/66D3jOkgl/Nb8M27xbdP7TGvVnKMFF4q81s1dDa2fzS z9FAMd0KrxxPvusRGYXHnGL/5d5jbvr+wpliA8Zrf2chJFxpSV1iNsrtpjcf1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652668180; a=rsa-sha256; cv=none; b=kp+IXfkyHngSLZyMSiKQqDxWNzYYGbBtRVcHINscgXjHmc7QgjXcN5uYd9kv4E7fkFB+jM +Qt/HxpYbcuxX12tnJkCpO2O7JZw9MEWkmXUUy4F22BEujlJtHlXbxXgncJ4sK6BhTETFF epP71x3x/O/iGuSJvTKnw7EMQCAF4p5hOka6fL61V4UBO2Ojx6s2VqvFU1ZWDkwTAVOKzJ yoVWfd5NjaNLQ8KbUyZBmkU5KArHCylxomoqDLMJEA2UGmhMOGWArHExJQkpzkhbIUX/Ad /ryf8WddcFBLLDKHAliYxYzndg00HlIuZVJsA4ahmfafif3/a0ufa6xXk0mehQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=K6ydqIJa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gnu.org (policy=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: 7.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=K6ydqIJa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gnu.org (policy=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: 0F16D9070 X-Spam-Score: 7.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: Nr65lfOh6P2M This one extends the previous version that accepted a format string by also accepting an arbitrary function. jao (1): emacs: notmuch-show-header-line: allow format strings and functions emacs/notmuch-show.el | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) -- 2.36.1