Re: oldest-first

Subject: Re: oldest-first

Date: Fri, 6 Mar 2020 11:50:18 -0500

To: David Bremner

Cc: notmuch@notmuchmail.org, Tom Hirschowitz

From: Ryan Tate


> On Mar 6, 2020, at 10:47 AM, David Bremner <david@tethera.net> wrote:
> 
> There is the following documentation in notmuch-search(1).
> 
>     Note: The thread order will be distinct between these two options (beyond being sim‐
>     ply reversed). When sorting by oldest-first the threads will be sorted by the oldest
>     message  in each thread, but when sorting by newest-first the threads will be sorted
>     by the newest message in each thread.
> 
> If what you are seeing is consistent with that, then I guess it's
> officially not a bug.

The documentation seems to be in error, assuming you have copied it correctly. It says the thread orders are not strictly inverse between the two options, but then describes them precisely inverse. 

Perhaps the word “unread” was unintentionally elided by the doc author, such that you could correct with the capitalized addition:

> When sorting by oldest-first the threads will be sorted by the oldest UNREAD
>     message  in each thread, but when sorting by newest-first the threads will be sorted
>     by the newest message in each thread.


This would match the behavior described by Tom. 

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: