Config: change some org-ql config.

This commit is contained in:
User
2026-04-20 06:28:49 +08:00
parent 8576ac275a
commit bc6eca261a
5 changed files with 20 additions and 23 deletions

View File

@@ -181,11 +181,6 @@
:query (and (tags "emacs") (category "note"))
:sort date)
("tags: org"
:buffers-files org-agenda-files
:query (tags "org")
:super-groups ((:auto-property "CATEGORY")))
("group by time"
:buffers-files org-agenda-files
:query (and (ts :to "today") (tags "root"))
@@ -195,16 +190,7 @@
("group by category"
:buffers-files org-agenda-files
:query (tags "root")
:super-groups ((:auto-property "CATEGORY")))
("all important todos"
:buffers-files org-agenda-files
:query (and (not (done)) (todo))
:super-groups
((:name "started" :todo "STARTED")
(:name "priority = A" :priority "A")
(:name "priority = B" :priority "B")
(:name "someday" :todo "SOMEDAY"))))))
:super-groups ((:auto-property "CATEGORY"))))))
;; org-super-agenda 配置
(use-package org-super-agenda
@@ -242,7 +228,18 @@
((org-ql-block-header "TODOs")
(org-ql-sort '(start-time))
(org-super-agenda-groups
'((:auto-ts t)))))))))
'((:auto-ts t)))))))
("qa" "all TODO entries"
((org-ql-block '(and (not (done)) (todo))
((org-ql-block-header "all TODOs")
(org-super-agenda-groups
'((:name "started" :todo "STARTED")
(:name "priority = A" :priority "A")
(:name "priority = B" :priority "B")
(:name "other priority" :priority< "B")
(:name "someday" :todo "SOMEDAY")
))))))))
(setq org-tag-alist '(
("scheme" . ?s)