unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Hong Xu <hong@topbug.net>
Cc: 37655@debbugs.gnu.org
Subject: bug#37655: 27.0.50; reversing `gnus-thread-sort-by-most-recent-date' does not work properly
Date: Mon, 28 Oct 2019 16:04:57 +0100	[thread overview]
Message-ID: <87lft4ap2e.fsf@gnus.org> (raw)
In-Reply-To: <7ad0a3df-fba5-748a-885d-981176e1a015@topbug.net> (Hong Xu's message of "Mon, 7 Oct 2019 22:02:04 -0700")

Hong Xu <hong@topbug.net> 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  wm08894@educ.cc  >  (no subject)
>     Oct 12 2000  fujyama yuu        \->
>     Oct 05 2000  bigsuma@home.co   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





      parent reply	other threads:[~2019-10-28 15:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08  5:02 bug#37655: 27.0.50; reversing `gnus-thread-sort-by-most-recent-date' does not work properly Hong Xu
2019-10-09 18:55 ` Eric Abrahamsen
2019-10-09 20:44   ` Hong Xu
2019-10-09 21:04     ` Eric Abrahamsen
2019-10-09 21:08       ` Hong Xu
2019-10-09 21:32         ` Eric Abrahamsen
2019-10-09 22:51           ` Hong Xu
2019-10-18  4:46             ` Eric Abrahamsen
2019-10-28 15:04 ` Lars Ingebrigtsen [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://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lft4ap2e.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=37655@debbugs.gnu.org \
    --cc=hong@topbug.net \
    /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://git.savannah.gnu.org/cgit/emacs.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).