From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Hong Xu <hong@topbug.net>
Cc: 37655@debbugs.gnu.org, larsi@gnus.org
Subject: bug#37655: 27.0.50; reversing `gnus-thread-sort-by-most-recent-date' does not work properly
Date: Wed, 09 Oct 2019 11:55:35 -0700 [thread overview]
Message-ID: <87woddu4t4.fsf@ericabrahamsen.net> (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:
> Reversing `gnus-thread-sort-by-most-recent-date' does not seem to work properly.
>
> To reproduce:
>
> Download the test mbox file from here: https://lists.gnu.org/archive/mbox/bug-gnu-emacs/2000-10 and save it as 2000-10.mbox.
>
> 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
>
>
> The ``(no subject)'' thread's latest mail is on Oct 12, but ``Docstring for kill-line not complete'' on Oct 05 is positioned after that.
I can reproduce this, but oddly it only seems to have gone wrong for
that one thread -- all the other threads in the mailbox seem to be
sorted correctly. I also note that the Summary buffer displays the date
of both messages in the thread as one day earlier than the Date header
in the message itself. So I wonder if there's just something weird about
one or both of the messages that's causing Gnus to handle the date
incorrectly.
When I have a bit more time I'll try to figure out what date Gnus is
trying to use for that thread.
Eric
next prev parent reply other threads:[~2019-10-09 18:55 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87woddu4t4.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=37655@debbugs.gnu.org \
--cc=hong@topbug.net \
--cc=larsi@gnus.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.