From 747fc94acb01951f91b45fce15f0cef8fa35dd13 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 8 May 2023 08:41:41 -0400 Subject: [PATCH] Add TODO lists --- config.org | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/config.org b/config.org index f08de6e..6a33869 100644 --- a/config.org +++ b/config.org @@ -578,7 +578,8 @@ Empty out the list and define our prefixes first #+begin_src emacs-lisp (after! org (setq org-agenda-custom-commands - '(("p" . "Project Views")))) + '(("p" . "Project Views") + ("d" . "TODO lists")))) #+end_src *** Random project selection First some library code @@ -691,18 +692,42 @@ Then add our custom command, one section for "TODO"s and another for top level " (org-compare-random-refresh t) (org-agenda-sorting-strategy '(user-defined-up)))))))) #+end_src -*** Don't dim blocked tasks -Not only does this feature have performance issues, its not useful with how I use org +*** Task fillters +Create a view with the following tags excluded: ++ =:calander:= ++ =:work:= ++ =:proj:= + +This serves as a good default "I want to do something" board #+begin_src emacs-lisp (after! org - (setq org-agenda-dim-blocked-tasks nil)) + (add-to-list 'org-agenda-custom-commands + '("da" "Main TODO list" + tags-todo "-calander-proj-work"))) +#+end_src + +Create a view containing only work tasks +#+begin_src emacs-lisp +(after! org + (add-to-list 'org-agenda-custom-commands + '("ds" "Work TODO list" + tags-todo "+work"))) +#+end_src + +Create a view containing only project tasks +#+begin_src emacs-lisp +(after! org + (add-to-list 'org-agenda-custom-commands + '("dd" "Project TODO list" + tags-todo "+proj"))) #+end_src ** Set tags alist #+begin_src emacs-lisp (after! org (setq org-tag-alist '(("proj" . ?p) ("complaint" . ?c) - ("work" . ?w)))) + ("work" . ?w) + ("calander" . ?d)))) #+end_src ** Modules configuration *** org habits