Re: Provide an option to make thread summaries keep initial subject

Subject: Re: Provide an option to make thread summaries keep initial subject

Date: Tue, 23 Sep 2025 11:14:46 +0200

To: David Bremner, Thomas Schwinge, notmuch@notmuchmail.org

Cc: Matteo Martelli

From: Matteo Martelli


Hi all,

On Tue, 07 Dec 2021 09:41:23 -0400, David Bremner <david@tethera.net> wrote:
> Thomas Schwinge <thomas@schwinge.name> writes:
>
> > Hi!
> >
> > Regarding the following ideas -- from almost a decade ago ;-) -- is
> > anyone aware of any work in that area?
>
> [snip]
>
> > Austin wrote:
> >> I think this would be fantastic.  I've proposed unconditionally
> >> showing the earliest subject before and it seems that people who
> >> correspond mostly with those who have good threading etiquette would
> >> prefer this change, but those who correspond with more people who use
> >> 'reply' like an address book prefer the current behavior.
>
> So just to be clear, when viewing threads with sort-order=oldest-first,
> the initial subject is in fact show. So if I understand the request
> correctly, the request is to decouple which subject is shown from the
> sort-order?

I think that is exactly the original request. I would also be very
intereseted in this option. To provide some context, I'm contributing to
a notmuch plugin for nvim https://github.com/yousefakbar/notmuch.nvim
and I'd like to display the list of email threads sorted with
newest-first order (the notmuch default), but showing the subject of the
first email in the thread per each thread. For example this would be
very useful to display linux kernel patch set emails where tipically the
first thread email is the cover letter and its subject identifies the
whole thread. As a workaround I'm currently running the search command
with the oldest-first order and manually reversing the result list order
in the plugin, however this prevents the ability to run the search in
chunks as the list could only be reordered when collected entirely. Thus
I think that with this option implemented directly in notmuch, the
search would become much more flexibile.

Best regard,
Matteo Martelli
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: