GNU bug report logs - #71216
29.3; MH-E: want to sort threads by most recent message

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Mike Kupfer <kupfer@HIDDEN>; dated Sun, 26 May 2024 22:57:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 May 2024 22:56:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 26 18:56:17 2024
Received: from localhost ([127.0.0.1]:42720 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sBMmm-0001za-QP
	for submit <at> debbugs.gnu.org; Sun, 26 May 2024 18:56:17 -0400
Received: from lists.gnu.org ([209.51.188.17]:50666)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kupfer@HIDDEN>) id 1sBMml-0001zS-2h
 for submit <at> debbugs.gnu.org; Sun, 26 May 2024 18:56:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kupfer@HIDDEN>) id 1sBMkX-0006Q4-4F
 for bug-gnu-emacs@HIDDEN; Sun, 26 May 2024 18:53:57 -0400
Received: from shell1.rawbw.com ([198.144.192.42])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <kupfer@HIDDEN>) id 1sBMkT-0000aM-Sl
 for bug-gnu-emacs@HIDDEN; Sun, 26 May 2024 18:53:56 -0400
Received: from alto (135-180-174-211.dsl.dynamic.sonic.net [135.180.174.211]
 (may be forged)) (authenticated bits=0)
 by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 44QMreTM024854
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
 for <bug-gnu-emacs@HIDDEN>; Sun, 26 May 2024 15:53:45 -0700 (PDT)
 (envelope-from kupfer@HIDDEN)
X-Authentication-Warning: shell1.rawbw.com: Host
 135-180-174-211.dsl.dynamic.sonic.net [135.180.174.211] (may be forged)
 claimed to be alto
From: Mike Kupfer <kupfer@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.3; MH-E: want to sort threads by most recent message
X-Mailer: MH-E 8.6+git; nmh 1.7.1; Emacs 29.3
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <1245432.1716764019.1@alto>
Date: Sun, 26 May 2024 15:53:39 -0700
Message-ID: <1245433.1716764019@alto>
Received-SPF: pass client-ip=198.144.192.42; envelope-from=kupfer@HIDDEN;
 helo=shell1.rawbw.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

(This came up recently in the mh-e-users mailing list on SourceForge.
I'm opening this bug to track the request.)

When MH-E displays a folder in threaded mode, the threads appears to be
sorted according to the oldest message in the thread.  I write "appears
to be" because the code is a little hard to follow.  I think it's using
each message's MH message number in the folder as a proxy for the
message's age.

The request is to provide a way to toggle between that and a sort order
where the thread's position relative to other threads is determined by
the newest message in the thread, rather than the oldest.

Example:

current sorting:

1 01/01 [Alice] subject1
3 01/02   [Bob] re: subject1
5 01/05     [Alice] re: subject1
2 01/02 [Alice] subject2
4 01/03   [Bob] re: subject2

alternate sorting:

2 01/02 [Alice] subject2
4 01/03   [Bob] re: subject2
1 01/01 [Alice] subject1
3 01/02   [Bob] re: subject1
5 01/05     [Alice] re: subject1

In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.16.0, Xaw scroll bars) of 2024-03-25 built on alto
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --prefix=/usr/local'

Configured features:
CAIRO FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX
LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $LC_TIME: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: MH-Show

Minor modes in effect:
  server-mode: t
  shell-dirtrack-mode: t
  delete-selection-mode: t
  display-time-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  buffer-read-only: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow mh-identity emacsbug mh-funcs sort gnus-async gnus-bcklg
gnus-kill gnus-ml disp-table url-http url-gw url-cache url-auth
url-handlers nnrss nndoc nndraft network-stream nsm gnus-agent gnus-srvr
nnvirtual nntp gnus-cache misearch multi-isearch sgml-mode facemenu
dired-aux dired-x crm vc-hg diff-mode easy-mmode cal-move diary-lib
diary-loaddefs cal-iso oc-basic ol-eww eww url-queue mm-url ol-rmail
ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view filenotify
jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi
org-link-doi cl-extra help-mode face-remap org-agenda org-element
org-persist xdg org-id avl-tree generator org-refile org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete
org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core
ob-eval org-cycle org-table org-keys oc org-loaddefs find-func cal-menu
calendar cal-loaddefs ol rx org-fold org-fold-core org-compat
org-version org-macs format-spec mh-alias textsec uni-scripts
idna-mapping ucs-normalize uni-confusable textsec-check shr-color color
qp mm-archive mail-extr mh-mime pp mh-search mh-letter mh-show goto-addr
thingatpt gnus-cite mule-util mh-thread mh-inc hl-line mh-tool-bar
mh-acros mh-seq mh-xface mh-utils mh-folder which-func imenu files-x
mdk-mail gnus-mh gnus-msg mh-comp mh-scan mh-gnus gnus-dup nnmh
gnus-score score-mode gnus-art mm-uu mml2015 mm-view mml-smime smime
gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url
url url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util url-parse auth-source cl-seq
eieio eieio-core cl-macs json map gv url-vars gnus-group gnus-undo
gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7
nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus
nnheader range wid-edit mh-e mh-buffers mh-loaddefs message sendmail
mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec
password-cache epa derived epg rfc6068 epg-config gnus-util
text-property-search time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev
mail-utils gmm-utils mailheader server noutline outline icons cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs byte-opt bytecomp byte-compile shell subr-x pcomplete comint
ansi-osc ansi-color ring xcscope advice delsel time vc vc-dispatcher
timeclock cl-loaddefs cl-lib mdk-hacks rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine 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
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads inotify dynamic-setting
system-font-setting font-render-setting cairo x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 526387 77946)
 (symbols 48 32725 5)
 (strings 32 132303 11351)
 (string-bytes 1 3848560)
 (vectors 16 87468)
 (vector-slots 8 1893799 183057)
 (floats 8 572 542)
 (intervals 56 5512 2316)
 (buffers 976 64))




Acknowledgement sent to Mike Kupfer <kupfer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#71216; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 30 Jun 2024 05:45:02 UTC

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