From 582fba7ef7ad543a988676551c87c5e5c13a90cc Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 9 Jul 2018 15:20:48 +0200 Subject: [PATCH] Emacs: switch org sorting strategy --- emacs/emacs.el | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/emacs/emacs.el b/emacs/emacs.el index 0440698..0dd8bdb 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -479,6 +479,9 @@ ;; show tasks in the next 14 days (setq org-agenda-span (quote fortnight)) + ;; org sorthing strategy + (setq org-agenda-sorting-strategy '(time-up priority-down)) + ;; don't show tasks as scheduled if they are already shown as a deadline (setq org-agenda-skip-scheduled-if-deadline-is-shown t) @@ -486,14 +489,6 @@ ;; if they are scheduled to be done (setq org-agenda-skip-deadline-prewarning-if-scheduled (quote pre-scheduled)) - ;; sort tasks in order of when they are due and then by priority - (setq org-agenda-sorting-strategy - (quote - ((agenda deadline-up priority-down) - (todo priority-down category-keep) - (tags priority-down category-keep) - (search category-keep)))) - ;; mu4e connection (require 'org-mu4e)