summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-02-04 21:59:21 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-02-04 21:59:21 +0100
commit00461c8fbffd7b15a6dda16d506adf4a532f9fbf (patch)
treeb2e4d82d85dc71363b6a078c424b0e2305620389
parentb8d2f5c35b22ae236dc7f00943bec8ca17af6c77 (diff)
downloaddotfiles-00461c8fbffd7b15a6dda16d506adf4a532f9fbf.tar.xz
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.
-rw-r--r--.gnus6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gnus b/.gnus
index 03cb973..f459297 100644
--- 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