emacs: gnus: more granular thread sorting
authorAmin Bandali <bandali@gnu.org>
Sat, 31 Aug 2019 17:24:14 +0000 (13:24 -0400)
committerAmin Bandali <bandali@gnu.org>
Sat, 31 Aug 2019 17:24:14 +0000 (13:24 -0400)
.emacs.d/init.el

index d889520..8088ce0 100644 (file)
@@ -1967,7 +1967,11 @@ This function is intended for use with `ivy-ignore-buffers'."
   (bind-keys
    :map gnus-summary-mode-map
    ("M-L" . org-store-link))
-  :hook (gnus-summary-mode . b/no-mouse-autoselect-window))
+  :hook (gnus-summary-mode . b/no-mouse-autoselect-window)
+  :custom
+  (gnus-thread-sort-functions '(gnus-thread-sort-by-number
+                                gnus-thread-sort-by-subject
+                                gnus-thread-sort-by-date)))
 
 (use-feature gnus-msg
   :config