summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-07 01:22:19 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-07 01:22:19 -0500
commit46ba631bd3d78cfd26b48c97dee21648f699cea7 (patch)
tree9f2fd59184be553276e2aebfcb5a872a6bbc6e49
parent58956d30255db19b5a032c778093931f1d8c4cae (diff)
downloademacs.d-46ba631bd3d78cfd26b48c97dee21648f699cea7.tar.gz
Sort agenda by deadline/scheduled before priority
Aside from 'agenda', all other types still match their default values.
-rw-r--r--lisp/init-org.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 7f007cb..0076fdb 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -288,6 +288,12 @@ be restored properly."
org-agenda-use-time-grid nil
org-agenda-start-on-weekday nil)
+(setq org-agenda-sorting-strategy
+ '((agenda time-up deadline-up scheduled-up priority-down category-keep)
+ (todo priority-down category-keep)
+ (tags priority-down category-keep)
+ (search category-keep)))
+
(setq org-agenda-files (file-expand-wildcards "~/notes/agenda/*.org"))
(setq org-agenda-text-search-extra-files
(file-expand-wildcards "~/notes/extra/*.org"))