From: David Bremner <david@tethera.net>
To: Jose A Ortega Ruiz <jao@gnu.org>, notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: notmuch-show-header-line: allow format strings and functions
Date: Wed, 01 Jun 2022 06:26:25 -0300 [thread overview]
Message-ID: <87a6aw20qm.fsf@tethera.net> (raw)
In-Reply-To: <87czfzg6sk.fsf@gnus.jao.io>
Jose A Ortega Ruiz <jao@gnu.org> writes:
> On Thu, May 26 2022, David Bremner wrote:
>> The API defined here (function taking the subject as a string) seems a
>> bit limited. What if the user wants to use some other message header in
>> the header-line? Or list tags?
>
> well, the function is called with the message buffer being current, so
> it has access to all the message properties... we could even remove the
> subject argument, but there's some convenient cleaning up on it that, i
> think, makes it convenient.
>
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.
next prev parent reply other threads:[~2022-06-01 9:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 19:29 notmuch-show-header-line: allow format strings and functions jao
2022-05-18 19:29 ` [PATCH] emacs: " jao
2022-05-26 23:51 ` David Bremner
2022-05-27 0:26 ` Jose A Ortega Ruiz
2022-06-01 9:26 ` David Bremner [this message]
2022-06-01 9:56 ` Jose A Ortega Ruiz
2022-06-01 10:25 ` David Bremner
2022-06-01 10:34 ` Jose A Ortega Ruiz
2022-06-01 11:39 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6aw20qm.fsf@tethera.net \
--to=david@tethera.net \
--cc=jao@gnu.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).