dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit 00461c8fbffd7b15a6dda16d506adf4a532f9fbf
parent b8d2f5c35b22ae236dc7f00943bec8ca17af6c77
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Tue,  4 Feb 2020 21:59:21 +0100

Tweak thread sorting in Gnus

AFAICT, by default Gnus threads by *root article* number, oldest
above, newest below.

I'd like to keep the "newest below" logic (messages are sorted within
a thread anyhow), while making sure threads updated recently show
up *below* older threads.

Hence:

- put gnus-thread-sort-by-number first to break ties, following the
  recommendation from (gnus) Sorting the Summary Buffer,

- invert gnus-thread-sort-by-most-recent-number, to have
  recently-updated threads below older threads.

Not sure this implements exactly what I want (I think I saw some
surprising results here and there), but it seems to come close.

Also note down more useful key bindings.

Diffstat:
M.gnus | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/.gnus b/.gnus @@ -17,6 +17,9 @@ '((nntp "archive.lwn.net") (nntp "news.gmane.io")) gnus-summary-line-format "%U%R [%-16,16&user-date;]%I%[%-23,23f%] %s\n" + gnus-thread-sort-functions + '(gnus-thread-sort-by-number + (not gnus-thread-sort-by-most-recent-number)) gnus-treat-display-smileys nil gnus-user-date-format-alist '(((gnus-seconds-today) . "%H:%M") @@ -42,6 +45,7 @@ ;; RET view unread mail in group ;; C-u RET view all mail in group ;; g refresh +;; G G search group ;; ;; When browsing summary buffer: ;; @@ -52,6 +56,8 @@ ;; C-u g show raw, undecoded message source; g to decode ;; T h collapse (hide) thread ;; T s expand (show) thread +;; T k mark thread as read +;; M-1 T k mark thread as unread ;; r reply ;; R reply (quoting) ;; S w reply-all