GNU bug report logs - #28477
25.2; Gnus threading sometimes erratic

Previous Next

Packages: gnus, emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Sun, 17 Sep 2017 05:18:01 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28477 in the body.
You can then email your comments to 28477 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#28477; Package emacs. (Sun, 17 Sep 2017 05:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to nljlistbox2 <at> gmail.com (N. Jackson):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 17 Sep 2017 05:18:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nljlistbox2 <at> gmail.com (N. Jackson)
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2; Gnus threading sometimes erratic
Date: Sun, 17 Sep 2017 01:16:39 -0400
[Message part 1 (text/plain, inline)]
Sometimes when threading is enabled, Gnus displays the messages in
a thread in a bizarre order in the *Summary* buffer, with an older
message shown as a reply to a newer message. This cannot be right
unless the author of one of the messages has a time machine.

Attached are two screen shots showing this problem, one with a
thread from the Emacs development list and one with a thread from
this list.

I would estimate that the frequency of the problem is about once
in around 1000 messages.

The problem isn't new, but I do not think it has always happened.
It's been happening for maybe a year or two I think.

I have the following settings for threading:

  (setq gnus-article-sort-functions '((not gnus-article-sort-by-number)))
  (setq gnus-thread-sort-functions '((not gnus-thread-sort-by-most-recent-number)))
  (setq gnus-subthread-sort-functions '((not gnus-thread-sort-by-most-recent-number)))

. Changing these to:

  (setq gnus-article-sort-functions '((not gnus-article-sort-by-date)))
  (setq gnus-thread-sort-functions '((not gnus-thread-sort-by-most-recent-date)))
  (setq gnus-subthread-sort-functions '((not gnus-thread-sort-by-most-recent-date)))

does not solve the problem.

I thought perhaps that the `gnus-sort-gathered-threads-function'
might be the solution here, but so far I have had no success with
it. If I try to do

  (setq gnus-sort-gathered-threads-function '((not gnus-thread-sort-by-date)))

, when the *Summary* buffer opens I get the error message

  sort: Invalid function: ((not gnus-thread-sort-by-date))

.

It almost seems that "a list containing functions and ‘(not
some-function)’ elements" is not supported here?

To try to work around this, I tried

  (defun nlj-thread-sort-by-date-descending (h1 h2)
    "Sort threads in the opposite order to `gnus-thread-sort-by-date'."
    (not (gnus-thread-sort-by-date h1 h2)))

  (setq gnus-sort-gathered-threads-function 'nlj-thread-sort-by-date-descending)

which avoids the error message but produces an outlandish sorting
order.

[exhibit-one.png (image/png, attachment)]
[exhibit-two.png (image/png, attachment)]
[Message part 4 (text/plain, inline)]


In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.11)
 of 2017-04-26 built on moondust.localdomain
Windowing system distributor 'Fedora Project', version 11.0.11903000
System Description:	Fedora release 25 (Twenty Five)

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11

Important settings:
  value of $LANG: en_CA.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  TeX-PDF-mode: t
  csv-field-index-mode: t
  flyspell-mode: t
  pdf-occur-global-minor-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  display-battery-mode: t
  display-time-mode: t
  show-paren-mode: t
  savehist-mode: t
  save-place-mode: t
  electric-pair-mode: t
  desktop-save-mode: t
  delete-selection-mode: t
  cua-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Recent messages:
20170917T005607.066> Generating summary...done
Mark set [2 times]
Auto-saving...done
Mark set [2 times]
Auto-saving...done
Mark set
next-line: End of buffer [2 times]
Auto-saving...done
Mark set [3 times]
Auto-saving...

Load-path shadows:
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-contacts hides ~/.emacs.d/modules/org-contacts
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-habit hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-habit
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-python hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-python
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-clojure hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-clojure
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-md hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-md
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-macs hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-macs
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-odt hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-odt
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-texinfo hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-texinfo
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-protocol hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-protocol
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-io hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-io
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-list hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-list
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-scheme hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-scheme
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-docview hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-docview
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-latex hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-latex
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-html hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-html
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-ctags hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-ctags
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-src hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-src
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-octave hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-octave
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-w3m hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-w3m
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-bibtex hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-bibtex
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-info hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-info
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-beamer hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-beamer
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-maxima hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-maxima
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-table hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-table
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-R hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-R
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-publish hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-publish
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-mscgen hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-mscgen
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-scala hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-scala
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-keys hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-keys
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-css hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-css
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-haskell hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-haskell
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-picolisp hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-picolisp
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-timer hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-timer
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-feed hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-feed
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-emacs-lisp hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-emacs-lisp
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-mhe hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-mhe
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-exp hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-exp
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-rmail hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-rmail
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-attach hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-attach
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-lilypond hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-lilypond
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-version hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-version
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-makefile hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-makefile
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-sql hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-sql
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-lob hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-lob
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-java hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-java
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-loaddefs hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-loaddefs
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-element hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-element
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-id hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-id
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-crypt hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-crypt
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-plot hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-plot
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-ruby hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-ruby
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-matlab hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-matlab
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-ditaa hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-ditaa
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-irc hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-irc
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-gnus hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-gnus
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-C hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-C
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-comint hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-comint
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-colview hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-colview
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-tangle hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-tangle
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-dot hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-dot
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-mobile hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-mobile
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-eshell hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-eshell
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-sass hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-sass
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-gnuplot hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-gnuplot
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-icalendar hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-icalendar
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-man hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-man
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-capture hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-capture
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-plantuml hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-plantuml
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-footnote hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-footnote
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-clock hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-clock
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-js hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-js
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-latex hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-latex
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-ascii hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-ascii
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-ref hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-ref
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-ocaml hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-ocaml
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-agenda hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-agenda
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-indent hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-indent
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-core hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-core
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-pcomplete hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-pcomplete
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-datetree hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-datetree
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-ledger hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-ledger
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-shen hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-shen
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-entities hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-entities
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-macro hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-macro
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-mouse hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-mouse
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-sqlite hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-sqlite
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox-org hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox-org
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-screen hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-screen
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-asymptote hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-asymptote
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-eval hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-eval
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-archive hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-archive
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ox hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ox
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-org hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-org
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-perl hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-perl
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-faces hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-faces
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-bbdb hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-bbdb
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-compat hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-compat
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-lisp hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-lisp
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-install hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-install
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-awk hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-awk
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-calc hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-calc
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/org-inlinetask hides /data/projects/vc/emacs/emacs-25.2/lisp/org/org-inlinetask
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-table hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-table
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170724/ob-fortran hides /data/projects/vc/emacs/emacs-25.2/lisp/org/ob-fortran
/home/nlj/.emacs.d/elpa/soap-client-3.1.3/soap-client hides /data/projects/vc/emacs/emacs-25.2/lisp/net/soap-client
/home/nlj/.emacs.d/elpa/soap-client-3.1.3/soap-inspect hides /data/projects/vc/emacs/emacs-25.2/lisp/net/soap-inspect

Features:
(shadow bbdb-message emacsbug sendmail misearch multi-isearch warnings
debug gnus-async qp mail-extr gnus-ml disp-table hl-line mm-archive
url-http url-gw url-cache url-auth url-handlers utf-7 nnrss mm-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util url-parse url-vars nndraft nnmh nnfolder nnagent
nnml server pinentry epa-file epa derived network-stream nsm auth-source
starttls bbdb-gnus bbdb-mua nnnil gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg nntp gnus-cache view plain-tex
ox-koma-letter ox-odt rng-loc rng-uri rng-parse rng-match rng-dt
rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util
ox-icalendar ox-html table ox-beamer ox-latex ox-ascii ox-publish ox
latexenc preview prv-emacs tex-buf font-latex latex tex-ispell tex-style
tex dbus xml tex-mode sh-script smie executable csv-mode sort flyspell
ispell pdf-occur ibuf-ext ibuffer tablist tablist-filter
semantic/wisent/comp semantic/wisent semantic/wisent/wisent
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw eieio eieio-core cl-macs mode-local cedet pdf-isearch
let-alist pdf-misc imenu pdf-tools compile cus-edit pdf-view bookmark pp
pdf-cache pdf-info tq pdf-util org-contacts org-capture gnus-art mm-uu
mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls
utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rfc822
mml mml-sec password-cache epg mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums gmm-utils mailheader gnus-win gnus
gnus-ems nnheader mail-utils mm-util help-fns mail-prsvr org-eldoc
org-w3m org-rmail org-mhe org-irc org-info org-habit org-gnus gnus-util
org-docview doc-view subr-x jka-compr image-mode dired-x dired
org-bibtex bibtex org-bbdb org-agenda org-element avl-tree org advice
org-macro org-footnote org-pcomplete org-list org-faces org-entities
noutline outline easy-mmode cl-seq org-version ob-shell shell pcomplete
ob-R ob-python ob-plantuml ob-org ob-gnuplot ob-ditaa ob-calc calc-store
calc-trail calc-ext calc calc-loaddefs calc-macs ob-awk ob-dot ob-maxima
ob-latex ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval
org-compat org-macs org-loaddefs format-spec find-func bbdb-anniv
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs bbdb-com crm
mailabbrev bbdb bbdb-site timezone bbdb-loaddefs finder-inf tex-site
info package epg-config ido seq byte-opt gv bytecomp byte-compile
cl-extra help-mode cconv edmacro kmacro recentf tree-widget wid-edit
easymenu battery time wheatgrass-theme paren savehist saveplace
elec-pair desktop frameset cl-loaddefs pcase cl-lib delsel cua-base
cus-start cus-load time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 1089431 137958)
 (symbols 48 91117 0)
 (miscs 40 21852 6282)
 (strings 32 242283 13994)
 (string-bytes 1 9961925)
 (vectors 16 68138)
 (vector-slots 8 1897265 137679)
 (floats 8 638 1190)
 (intervals 56 101369 7)
 (buffers 976 247))

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28477; Package emacs. (Sun, 17 Sep 2017 05:39:01 GMT) Full text and rfc822 format available.

Message #8 received at 28477 <at> debbugs.gnu.org (full text, mbox):

From: nljlistbox2 <at> gmail.com (N. Jackson)
To: 28477 <at> debbugs.gnu.org
Subject: Re: bug#28477: 25.2; Gnus threading sometimes erratic
Date: Sun, 17 Sep 2017 01:38:33 -0400
At 01:16 -0400 on Sunday 2017-09-17, N. Jackson wrote:
>
> Attached are two screen shots showing this problem, one with a
> thread from the Emacs development list and one with a thread from
> this list.

Sorry, I neglected to be explicit about the problem is in the two
screenshots.

In the first screenshot (from this list), the highlighted message
from Simen Heggestoyl is dated the 26th of January (2017) but it
is threaded as a reply to a message from Tom Tromey dated the 3rd
of May (2017).

In the second screenshot (from the development list), the
highlighted message from Eli Zaretskii is dated October 12th
(2016) but it is threaded as a reply to a message from Paul Eggert
dated October 20th (2016).





bug reassigned from package 'emacs' to 'emacs,gnus'. Request was from Tim Landscheidt <tim <at> tim-landscheidt.de> to control <at> debbugs.gnu.org. (Tue, 19 Sep 2017 08:48:02 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 25.2. Request was from Tim Landscheidt <tim <at> tim-landscheidt.de> to control <at> debbugs.gnu.org. (Tue, 19 Sep 2017 08:48:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#28477; Package emacs,gnus. (Wed, 11 Apr 2018 21:46:01 GMT) Full text and rfc822 format available.

Message #15 received at 28477 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: nljlistbox2 <at> gmail.com (N. Jackson)
Cc: 28477 <at> debbugs.gnu.org
Subject: Re: bug#28477: 25.2; Gnus threading sometimes erratic
Date: Wed, 11 Apr 2018 23:45:07 +0200
nljlistbox2 <at> gmail.com (N. Jackson) writes:

> Sometimes when threading is enabled, Gnus displays the messages in
> a thread in a bizarre order in the *Summary* buffer, with an older
> message shown as a reply to a newer message. This cannot be right
> unless the author of one of the messages has a time machine.

It difficult to tell from the images you included, but it seems like
what you're seeing is the result of "gathered threads": Articles with
the same subject that are displayed visually as kinda sorta being in the
same thread.  In those cases, getting the response before the answer
isn't unusual, because mail arrive in any which order.

> I thought perhaps that the `gnus-sort-gathered-threads-function'
> might be the solution here, but so far I have had no success with
> it. If I try to do
>
>   (setq gnus-sort-gathered-threads-function '((not gnus-thread-sort-by-date)))
>
> , when the *Summary* buffer opens I get the error message
>
>   sort: Invalid function: ((not gnus-thread-sort-by-date))
>
> .
>
> It almost seems that "a list containing functions and ‘(not
> some-function)’ elements" is not supported here?

Yes, that's correct.  It just takes a function.

> To try to work around this, I tried
>
>   (defun nlj-thread-sort-by-date-descending (h1 h2)
>     "Sort threads in the opposite order to `gnus-thread-sort-by-date'."
>     (not (gnus-thread-sort-by-date h1 h2)))
>
>   (setq gnus-sort-gathered-threads-function 'nlj-thread-sort-by-date-descending)

What about

   (defun nlj-thread-sort-by-date-descending (h1 h2)
     "Sort threads in the opposite order to `gnus-thread-sort-by-date'."
      (gnus-thread-sort-by-date h2 h1))

?

In any case, I don't think what you're seeing is a bug, so I'm closing
this bug report.

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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 11 Apr 2018 21:46:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 28477 <at> debbugs.gnu.org and nljlistbox2 <at> gmail.com (N. Jackson) Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 11 Apr 2018 21:46:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 May 2018 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.