summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-03-10 13:36:55 +0100
committerGravatar Tom Willemsen2013-03-10 13:36:55 +0100
commited9106f857e974b970adf0340c93c89278c153f8 (patch)
treeb21fd30a3d106c1c10fba234d132551ed599ed4f
parent354fc517436a793685600f6087d19ab3c92b2154 (diff)
downloaddotfiles-ed9106f857e974b970adf0340c93c89278c153f8.tar.gz
dotfiles-ed9106f857e974b970adf0340c93c89278c153f8.zip
Emacs: Reverse-sort org tasks
-rw-r--r--emacs/site-lisp/org-init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/site-lisp/org-init.el b/emacs/site-lisp/org-init.el
index 4033c30..789b1bb 100644
--- a/emacs/site-lisp/org-init.el
+++ b/emacs/site-lisp/org-init.el
@@ -77,6 +77,7 @@
(expand-file-name "~/documents/org/misc/bookmarks.org"))
"Agenda files that are work-agnostic, should always show up.")
+(setq org-agenda-cmp-user-defined (lambda (a b) 1))
(setq org-agenda-custom-commands
'(("P" . "Personal only")
("Pa" "Personal agenda" agenda ""
@@ -100,7 +101,7 @@
(search . " %i %-12:c")))
(setq org-agenda-sorting-strategy
'((agenda habit-down time-up priority-down category-keep)
- (todo priority-down category-keep)
+ (todo user-defined-down)
(tags priority-down category-keep)
(search category-keep)))
(setq org-agenda-tags-column -101)