diff --git a/.spacemacs b/.spacemacs index 5790026e8e85780c751d44a957c7e12815290a2b..aa47e50fc49e0b796ab4087490078b1a7dd35138 100644 --- a/.spacemacs +++ b/.spacemacs @@ -571,50 +571,69 @@ before packages are loaded." (setq org-agenda-todo-ignore-scheduled 'future) ;; configure the todo priorities (setq org-agenda-window-setup 'current-window) -(setq org-priority-default 32) +(setq org-priority-default 5) (setq org-priority-highest 0) -(setq org-priority-lowest 64) +(setq org-priority-lowest 9) ;; make the agenda view pretty (setq org-super-agenda-groups - '(;; Each group has an implicit boolean OR operator between its selectors. - (:name "Today" ; Optionally specify section name - :time-grid t ; Items that appear on the time grid - :todo "TODAY") ; Items that have this TODO keyword - (:name "Important" - ;; Single arguments given alone - :tag "bills" - :priority "A") - ;; Set order of multiple groups at once - (:order-multi (2 (:name "Shopping in town" - ;; Boolean AND group matches items that match all subgroups - :and (:tag "shopping" :tag "@town")) - (:name "Food-related" - ;; Multiple args given in list with implicit OR - :tag ("food" "dinner")) - (:name "Personal" - :habit t - :tag "personal") - (:name "Space-related (non-moon-or-planet-related)" - ;; Regexps match case-insensitively on the entire entry - :and (:regexp ("space" "NASA") - ;; Boolean NOT also has implicit OR between selectors - :not (:regexp "moon" :tag "planet"))))) - ;; Groups supply their own section names when none are given - (:todo "WAITING" :order 8) ; Set order of this section - (:todo ("SOMEDAY" "TO-READ" "CHECK" "TO-WATCH" "WATCHING") - ;; Show this group at the end of the agenda (since it has the - ;; highest number). If you specified this group last, items - ;; with these todo keywords that e.g. have priority A would be - ;; displayed in that group instead, because items are grouped - ;; out in the order the groups are listed. - :order 9) - (:priority<= "B" - ;; Show this section after "Today" and "Important", because - ;; their order is unspecified, defaulting to 0. Sections - ;; are displayed lowest-number-first. - :order 1) + '(;; Each group has an implicit boolean OR operator between its selectors. + (:name "Finished" + :todo ("CANCELED" "DONE") + :order 100) + (:name "Emergency!" + :priority>= "0" + :order 0) + (:name "Urgent" + :priority>= "1" + :order 1) + (:name "Health Routine" + :and(:category "health" + :habit t) + :order 99) + (:name "Social Habits" + :tag "keep_touch" + :and(:category "people" + :habit t) + :order 98) + (:name "Habits" + :habit t + :order 97) + (:name "Due" + :deadline past + :deadline today + :order 2) + (:name "Ready" + :and(:scheduled past + :todo ("TODO" "NEXT")) + :and(:scheduled today + :todo ("TODO" "NEXT")) + :order 3) + (:name "Today" + :and(:scheduled past + :todo ("ACTIVE" "IDLE")) + :and(:scheduled today + :todo ("ACTIVE" "IDLE")) + :order 4) + (:name "Comments" + :and(:not(:scheduled today) + :not(:deadline today) + :date today) + :order 100) + (:name "Active" + :todo "ACTIVE" + :order 70) + (:name "Idle" + :todo "IDLE" + :order 71) + (:name "Next" + :todo "NEXT" + :order 72) + (:name "Triage" + :todo "TODO" + :order 73) ;; After the last group, the agenda will display items that didn't ;; match any of these groups, with the default order position of 99 + ;; Set order of multiple groups at once ))