summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2020-04-29 17:58:53 -0500
committerBobby Bingham <koorogi@koorogi.info>2021-02-06 10:39:37 -0600
commit68283aa659b866072ee8a2752d4ab6409949deb4 (patch)
tree6dd2550e7c5a0030793dc80add2dab2b57ce1fbb /emacs
parent6d7c47fca9e380b21c2b5166411136bb5b9dc766 (diff)
emacs: more agenda work
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/org-mode.el33
1 files changed, 21 insertions, 12 deletions
diff --git a/emacs/.emacs.d/org-mode.el b/emacs/.emacs.d/org-mode.el
index 14f0da3..2f691ae 100644
--- a/emacs/.emacs.d/org-mode.el
+++ b/emacs/.emacs.d/org-mode.el
@@ -65,16 +65,25 @@
(setq org-agenda-custom-commands
'(("w" "Work Agenda"
- ((agenda "" ((org-agenda-span 1)
- (org-agenda-sorting-strategy '(time-up scheduled-down priority-down deadline-up))
- (org-super-agenda-groups
- '((:name "Waiting" :todo "WAIT" :order 9)
- (:anything t)))))
- (alltodo "" ((org-agenda-overriding-header "")
- (org-agenda-skip-function '(org-agenda-skip-if nil '(scheduled deadline)))
- (org-super-agenda-groups
- '((:todo "TLG")
- (:name "Some day" :anything t))))))
+ ((agenda ""
+ ((org-agenda-span 1)
+ (org-agenda-sorting-strategy '(time-up scheduled-down priority-down deadline-up))
+ (org-super-agenda-groups
+ '((:name "Waiting" :todo "WAIT" :order 9)
+ (:anything t)))))
+ (org-ql-block '(and (tags "@work")
+ (todo "WAIT"))
+ ((org-ql-block-header "Waiting")))
+ (org-ql-block '(and (tags "@work")
+ (todo "TLG"))
+ ((org-ql-block-header "Time Logging")))
+ (org-ql-block '(and (tags "@work")
+ (todo)
+ (not (todo "TLG"))
+ (not (deadline))
+ (not (scheduled)))
+ ((org-ql-block-header "Some Day"))))
+ ((org-agenda-tag-filter-preset '("+@work")))
)))
;; --- CONFIGURATION ---
@@ -100,7 +109,7 @@
org-capture-templates ()
;; Agenda
- org-agenda-files '("~/org/agenda")
+ org-agenda-files '("~/org/tasks/home" "~/org/tasks/work" "~/org/tasks")
org-agenda-overriding-columns-format "%1PRIORITY %DEADLINE %TODO %CLOCKSUM %80ITEM"
org-agenda-dim-blocked-tasks 'invisible
org-agenda-span 7
@@ -111,7 +120,7 @@
org-agenda-start-on-weekday nil
;; Column view
- org-overriding-columns-format "%1PRIORITY %DEADLINE %TODO %CLOCKSUM(CLK) %EFFORT(EST) %TLP %ITEM"
+ org-overriding-columns-format "%1PRIORITY %DEADLINE %TODO %CLOCKSUM_T(CLOCK) %TLP %ITEM"
org-columns-modify-value-for-display-function #'bab/todo-column-display-filter
;; Misc configuration