Re: configurable summary line for notmuch search

Subject: Re: configurable summary line for notmuch search

Date: Sun, 29 Aug 2021 07:53:40 -0700

To: Jose Antonio Ortega Ruiz, notmuch@notmuchmail.org

Cc:

From: David Bremner


Jose Antonio Ortega Ruiz <jao@gnu.org> writes:

> On Sat, Aug 28 2021, David Bremner wrote:
>
>> I was idly thinking about how to provide custom summary formats for
>> notmuch-search. I know this has been discussed a few times on IRC, but I
>> can't remember the kind of things people were looking for. So if this a
>> feature you're interested in, what specifically are you looking for?
>
> I actually have a patch in my queue that implements a form of this, in
> two ways.  By allowing the "field" to be a function that gets called with
> the message property and returns a string, and by allowing the format
> string to be a function that takes the value of the field and further
> formats it.  This is the relevant patch with simple examples in the
> documentation:
[snip]
> what do you think?

I was thinking of a facility available to command line users of
notmuch-search. But if the main use case is in emacs, then it would
almost certainly be easier to implement in elisp, assuming the
information is available.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: