aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-org.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-13 11:45:11 +0800
committerGuangxiong Lin <[email protected]>2022-03-13 11:45:11 +0800
commit74e491ad860d28512686efd8e631e49f33c0c321 (patch)
tree2f571be15325423f5e080ee9b62045a824469eb2 /.emacs.d/lisp/init-org.el
parentf23be18fff009ff614152fe3bd83222359b3d7ab (diff)
downloaddotfiles-74e491ad860d28512686efd8e631e49f33c0c321.tar.gz
dotfiles-74e491ad860d28512686efd8e631e49f33c0c321.tar.bz2
dotfiles-74e491ad860d28512686efd8e631e49f33c0c321.zip
Update my definition of stuck projects (emacs)
Diffstat (limited to '.emacs.d/lisp/init-org.el')
-rw-r--r--.emacs.d/lisp/init-org.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el
index 2e27d34..3efe427 100644
--- a/.emacs.d/lisp/init-org.el
+++ b/.emacs.d/lisp/init-org.el
@@ -11,8 +11,11 @@
"A block showing weekly schedule.")
(defvar gx/org-agenda-block--stuck-projects
- '(org-ql-block '(and (tags "PROJECT")
- (not (or (done) (todo "SOMEDAY")))
+ '(org-ql-block '(and (or (tags "PROJECT")
+ (not (ancestors (todo))))
+ (todo)
+ (not (or (done) (todo "SOMEDAY")
+ (todo "NEXT") (scheduled)))
(not (descendants (todo "NEXT")))
(not (descendants (scheduled))))
((org-ql-block-header "Stuck Projects")))