Subject: Re: bug#37655: 27.0.50; reversing `gnus-thread-sort-by-most-recent-date' does not work properly

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 28 Oct 2019 16:04:57 +0100

Hong Xu <[email-masked]> writes:

> Start Emacs with "-Q", and evaluate the following:
>
> 	;; Latest at bottom
> 	(setq gnus-thread-sort-functions
> 	      '((not gnus-thread-sort-by-most-recent-date)))
>
> 	(setq gnus-summary-line-format "%U%R%z %(%&user-date;  %-15,15f  %B %s%)\n")
>
> `M-x gnus', followed by `G f /path/to/2000-10.mbox'. There is only one topic. Type `C-u Enter'.
>
> The summary buffer is supposed to sort the messages in reversed most recent date order in each thread, but a lot of non-compliance can be observed. For instance:
>
>     Oct 02 2000  [email-masked]  >  (no subject)
>     Oct 12 2000  fujyama yuu        \->
>     Oct 05 2000  [email-masked]   Repost PLEASE HELP or reply!!! please  :)
>     Oct 05 2000  Stefan Reichör    Docstring for kill-line not complete

With the formatting you've chosen, you can't see any difference between
real threads and gathered threads.  gnus-thread-sort-functions is about
how real threads are sorted.  After sorting, if you have thread
gathering switched on, articles with the same subject (in the example
mail box "(no subject")) are displayed after one another, but that
doesn't affect the sorting.

So this isn't a bug, and this works as designed.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no