From: David Bremner <david@tethera.net>
To: Jose Antonio Ortega Ruiz <jao@gnu.org>, notmuch@notmuchmail.org
Subject: Re: configurable summary line for notmuch search
Date: Sun, 29 Aug 2021 07:53:40 -0700 [thread overview]
Message-ID: <87czpw7157.fsf@tethera.net> (raw)
In-Reply-To: <87y28lb6jw.fsf@gnus.jao.io>
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.
prev parent reply other threads:[~2021-08-29 14:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-28 15:10 configurable summary line for notmuch search David Bremner
2021-08-28 21:30 ` Jose Antonio Ortega Ruiz
2021-08-29 0:46 ` Roger Randall
2021-09-01 16:25 ` Alexander Adolf
2021-09-01 18:52 ` Jose Antonio Ortega Ruiz
2021-08-29 14:53 ` David Bremner [this message]
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=87czpw7157.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).