From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IOWUMyE6l2LJMAAAbAwnHQ (envelope-from ) for ; Wed, 01 Jun 2022 12:06:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wFqEMyE6l2Ll7AAA9RJhRA (envelope-from ) for ; Wed, 01 Jun 2022 12:06:25 +0200 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 B0E2B30384 for ; Wed, 1 Jun 2022 12:06:25 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E81175F7B2; Wed, 1 Jun 2022 09:56:13 +0000 (UTC) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by mail.notmuchmail.org (Postfix) with ESMTPS id 730565F7AC for ; Wed, 1 Jun 2022 09:56:11 +0000 (UTC) Received: from fencepost.gnu.org ([2001:470:142:3::e]:58880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwL5F-0003mC-07; Wed, 01 Jun 2022 05:56:09 -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:References:In-Reply-To:Subject:To: From; bh=3rUKl0qOSdS5XE5x8FU+CjAbEQzKv6mBRePw+aZXW8Q=; b=Gdq3otGhB1UkCoHi7/Tf z1zM8Ys4Mc7f4/ReNtZRe7YtRvMUWNH9Mhye4NVoRDp92iaDtzEAndnys3fahLLKcUmgNdIjyGQhr +oxBcIfuqBlQhrNV0pt0Y+vQBUk1MU5KIFemy+caefH3oha5yYHScvl2kCvM0HIYgSyaraB4/CWhK obItPr7gJYJMaZmA3BX/V94JLvAvKf0PIkndiqSUzrJqX9Zk/MdrhdJMYOCkwH8Qje0zhCc6YpUYY 7RTwF7+5/TmqGnwlqjdotB8DqVA34wfR2k5c41hNT7NEGJ9J+OAh8ycu9HsDjXv4fKnU0XwogSyuO cPBgG8hZHFJCbw==; Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:54394 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 1nwL5D-0008Ls-Rf; Wed, 01 Jun 2022 05:56:08 -0400 Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id 241e214b; Wed, 1 Jun 2022 09:56:05 +0000 (UTC) From: Jose A Ortega Ruiz To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: notmuch-show-header-line: allow format strings and functions In-Reply-To: <87a6aw20qm.fsf@tethera.net> References: <20220518192956.1440103-1-jao@gnu.org> <20220518192956.1440103-2-jao@gnu.org> <87zgj34zuf.fsf@tethera.net> <87czfzg6sk.fsf@gnus.jao.io> <87a6aw20qm.fsf@tethera.net> X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Date: Wed, 01 Jun 2022 10:56:05 +0100 Message-ID: <871qw8iu6i.fsf@gnus.jao.io> MIME-Version: 1.0 Message-ID-Hash: S2OOW4QHZVXDGZ2KHAXMEH65FYSSGZZ4 X-Message-ID-Hash: S2OOW4QHZVXDGZ2KHAXMEH65FYSSGZZ4 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 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=1654077985; 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:dkim-signature; bh=2UEhwg5IVNpHt9s07S53I45qdHAwQrXwQf8sxbrfiQU=; b=BXyfOgIwxPYa+269wbPgyTYPEuMBhTal7FadffrBfSZiLJP2z8Fmd3TmQM82h19K35y+c2 5g1LP9mPlZT9XQz6mTIr8CZWwZbfWMixntTo/Nyo2jcTdZDHhFfCYalhVs9+RsT7kcYtUO FnYqO3BLv8Ku61QlZC70mB8SKU7RDiZcEm2Lyn7kDbF61Y9ycVEU2y3NPbZIOnb38j+pAP 1NpvlolyVeeGXYw+IBRui+ySq+ZNqi6FIZ9SMbY56C5OpYzxR7LTAcGMWkGvhpYU1tJ7LC p/1paJlUBT44MzGZaUcR24BRtJSt8+paNDXla51iaa4xvM3WdlrpHsJX2vRQ9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654077985; a=rsa-sha256; cv=none; b=Y+PM116UpMs336JJt7jqTQh0twhAxsDSYoVGHyS12mQPx7IepkW8jh+MOA4sX1nunldteH UGXfUuu6CXfMK5ecOCW+2rlmtPKlwljIjGASjen464vi5iWHBUdiWQpJmyFCXsXl7Za4ai 04irj0nDQTb5zBuZTq4E8BdMhuKXwTPpHBj5bC3H4jCT68289aqKq8KAGzOEtiqGOKJyqa JCRz/mKawOw/tS77n43VH+SfOZWQ+wPPkpEAqnNoKaJx8LFmHAwklE2fv5oE8N9Es9vNys P1uAbFKFj4FcEfOLMJVc84NZzYfgffPKV+Uza95WgQ0L2elZwySSnFxCkkFxAQ== 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=Gdq3otGh; 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 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 5.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=Gdq3otGh; 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 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: B0E2B30384 X-Spam-Score: 5.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0VPz1M2uE0MK On Wed, Jun 01 2022, David Bremner wrote: > Fair enough. But since the calling is not obvious to the casual user > (*cough* or me), maybe mention the availability of message properties > in the docstring. Yes, good idea. I've done just that in a new version (v4) of the patch. I've also noticed the variable notmuch-show-header-line is already documented in doc/notmuch-emacs.rst (by importing its docstring): do we need to add documentation elsewhere?