From 1ed7f2ed734ad7fc08aff99b743bfeb5b19dbe8b Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 14 Feb 2020 18:01:38 +0000 Subject: Prefer newest-to-oldest sorting The default sorting order of results from notmuch.el are in oldest-to-newest. This prefers the opposite. --- emacs/.emacs.d/wpc/email.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs/.emacs.d/wpc/email.el') 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)) -- cgit 1.4.1