用 Emacs 任务管理

记录一下

设置变量 (setq org-log-done 'time) 即可在关闭任务(将任务状态设置为 DONE)时附上时间。

具体 org-super-agenda 设置:

(use-package! org-super-agenda
  :commands org-super-agenda-mode)

(after! org-agenda
  (org-super-agenda-mode))

(setq org-agenda-skip-scheduled-if-done t
      org-agenda-skip-deadline-if-done t
      org-agenda-include-deadlines t
      org-agenda-block-separator nil
      org-agenda-tags-column 100 ;; from testing this seems to be a good value
      org-agenda-compact-blocks t)

(setq org-agenda-custom-commands
      '(("o" "Overview"
         ((agenda "" ((org-agenda-span 'day)
                      (org-agenda-start-day nil)
                      (org-super-agenda-groups
                       '((:name "降"
                          :time-grid t
                          :date today
                          :scheduled today
                          :order 1)))))
          (alltodo "" ((org-agenda-overriding-header "")
                       (org-super-agenda-groups
                        '((:name "继"
                           :todo "STRT"
                           :order 1)
                          (:name "急"
                           :tag "急"
                           :priority "A"
                           :order 6)
                          (:name "绷"
                           :deadline today
                           :order 2)
                          (:name "临"
                           :deadline future
                           :order 8)
                          (:name "逝"
                           :deadline past
                           :face error
                           :order 7)
                          (:discard (:tag ("Chore" "Routine" "Daily")))))))))))

效果