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. _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org