]> git.earman.xyz Git - emacsinit.git/commitdiff
Add definition for stuck projects, simpler undertaking agenda
authorrush <rearman@r717.net>
Mon, 29 Jun 2026 18:12:42 +0000 (14:12 -0400)
committerrush <rearman@r717.net>
Mon, 29 Jun 2026 19:06:46 +0000 (15:06 -0400)
Stuck == undertaking, not done, no todo/waiting items under it.  Update
undertakings custom agenda to use the new format/tag filtering of the stuck
project.

config.org

index 3d303ad08c8ad45d4a7acdbcdf69eee19f33c7f5..aa6deb806e4dc662366e827916576bf2fdfad36d 100644 (file)
@@ -279,6 +279,10 @@ Sly really doesn't play well with elodc in the minibuffer, so here are some sett
       org-agenda-start-with-log-mode t\r
       org-agenda-log-mode-items '(closed clock state))\r
 #+END_SRC\r
+**** Stuck Projects\r
+#+BEGIN_SRC emacs-lisp\r
+(setq org-stuck-projects '("CATEGORY=\"undertakings\"+LEVEL=1/-DONE-GIVEN-BELAYED" ("TODO" "WAITING") nil ""))\r
+#+END_SRC\r
 **** Custom Agendas\r
 #+BEGIN_SRC emacs-lisp\r
   (defvar *re/org-agenda-inbox*\r
@@ -288,9 +292,7 @@ Sly really doesn't play well with elodc in the minibuffer, so here are some sett
     '(tags-todo "-recurring/TODO" ((org-agenda-overriding-header ""))))\r
 \r
   (defvar *re/org-agenda-undertakings*\r
-    '(tags "CATEGORY=\"undertakings\"" ((org-agenda-skip-function\r
-                              '(org-agenda-skip-entry-if 'notregexp "^\\* "))\r
-                             (org-agenda-overriding-header ""))))\r
+    '(tags "CATEGORY=\"undertakings\"+LEVEL=1" ((org-agenda-overriding-header ""))))\r
 \r
   (defvar *re/org-agenda-waiting*\r
     '(todo "WAITING" ((org-agenda-overriding-header ""))))\r