X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch.el;h=9de16e006fd3cac225be5c723936512279bd1022;hb=333486572517d2e2084d66208de59085f21d8573;hp=8894a8e194716f444489b1676c3630c545c82c95;hpb=5dec429f457c5b387a43802a32ef3192592c425d;p=notmuch diff --git a/notmuch.el b/notmuch.el index 8894a8e1..9de16e00 100644 --- a/notmuch.el +++ b/notmuch.el @@ -874,8 +874,8 @@ This function advances point to the next line when finished." (goto-char (point-min)) (save-excursion (if oldest-first - (call-process "notmuch" nil t nil "search" query) - (call-process "notmuch" nil t nil "search" "--reverse" query)) + (call-process "notmuch" nil t nil "search" "--sort=oldest-first" query) + (call-process "notmuch" nil t nil "search" "--sort=newest-first" query)) (notmuch-search-markup-thread-ids) ))))