about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/email.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-14T18·01+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-14T18·01+0000
commit1ed7f2ed734ad7fc08aff99b743bfeb5b19dbe8b (patch)
treeced8f718c34815057b8fc44d9a834857801cefd7 /emacs/.emacs.d/wpc/email.el
parenta726bf737a4d57f4eb7dbc7194f3de32cb3528c3 (diff)
Prefer newest-to-oldest sorting
The default sorting order of results from notmuch.el are in
oldest-to-newest. This prefers the opposite.
Diffstat (limited to 'emacs/.emacs.d/wpc/email.el')
-rw-r--r--emacs/.emacs.d/wpc/email.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/email.el b/emacs/.emacs.d/wpc/email.el
index 9a980db7a070..254dc2161ab5 100644
--- a/emacs/.emacs.d/wpc/email.el
+++ b/emacs/.emacs.d/wpc/email.el
@@ -27,6 +27,9 @@
                                (:name "review" :query "tag:review" :key "r")
                                (:name "waiting" :query "tag:waiting" :key "w")))
 
+;; Sort results from newest-to-oldest.
+(setq notmuch-search-oldest-first nil)
+
 ;; Assert that no two saved searches share share a KBD
 (prelude/assert
  (list/xs-distinct-by? (lambda (x) (plist-get x :key)) notmuch-saved-searches))