Disable org capture templates and custom agenda commands

This commit is contained in:
Mark van der Putten 2025-04-23 22:38:10 +02:00
parent 8ffee04342
commit 43cc8528f6

View File

@ -134,75 +134,75 @@
(apply orig-fun extension subtreep pub-dir nil))
(advice-add 'org-export-output-file-name :around #'org-export-output-file-name-modified)
(setq org-capture-templates
'(("t" "Personal todo" entry
(file+headline +org-capture-todo-file "Inbox")
"* TODO %? :@general:" :prepend t)
;; (setq org-capture-templates
;; '(("t" "Personal todo" entry
;; (file+headline +org-capture-todo-file "Inbox")
;; "* TODO %? :@general:" :prepend t)
("f" "Empty" entry
(file+headline +org-capture-todo-file "Inbox")
"* TODO %?" :prepend t)
;; ("f" "Empty" entry
;; (file+headline +org-capture-todo-file "Inbox")
;; "* TODO %?" :prepend t)
("w" "WATCH" entry
(file+headline +org-capture-todo-file "Inbox")
"* TODO %? :@watch:" :prepend t)
;; ("w" "WATCH" entry
;; (file+headline +org-capture-todo-file "Inbox")
;; "* TODO %? :@watch:" :prepend t)
("r" "READ" entry
(file+headline +org-capture-todo-file "Inbox")
"* TODO %? :@read:" :prepend t)
;; ("r" "READ" entry
;; (file+headline +org-capture-todo-file "Inbox")
;; "* TODO %? :@read:" :prepend t)
("c" "CHECK" entry
(file+headline +org-capture-todo-file "Inbox")
"* TODO %? :@check:" :prepend t)
;; ("c" "CHECK" entry
;; (file+headline +org-capture-todo-file "Inbox")
;; "* TODO %? :@check:" :prepend t)
("i" "Got a new idea?" entry
(file+headline +org-capture-todo-file "Inbox")
"* TODO %? :@idea:" :prepend t)
;; ("i" "Got a new idea?" entry
;; (file+headline +org-capture-todo-file "Inbox")
;; "* TODO %? :@idea:" :prepend t)
("j" "Journal" entry
(file+headline +org-capture-journal-file "Posts")
"*** %?\n:DATE:\n%<[%Y-%m-%d %a %H:%M]>\n:END:" :prepend t)))
;; ("j" "Journal" entry
;; (file+headline +org-capture-journal-file "Posts")
;; "*** %?\n:DATE:\n%<[%Y-%m-%d %a %H:%M]>\n:END:" :prepend t)))
(setq org-agenda-custom-commands
'(
("f" "Today Tasks"
(
(agenda "" ((org-agenda-span 4)))
(org-ql-block '(and
(todo "TODO")
(or (scheduled)
(deadline)))
((org-ql-block-header "Soon")))
))
;; (setq org-agenda-custom-commands
;; '(
;; ("f" "Today Tasks"
;; (
;; (agenda "" ((org-agenda-span 4)))
;; (org-ql-block '(and
;; (todo "TODO")
;; (or (scheduled)
;; (deadline)))
;; ((org-ql-block-header "Soon")))
;; ))
("v" "General Tasks"
(
(agenda "" ((org-agenda-span 4)))
(org-ql-block '(and
(priority "A")
(not (deadline))
(not (scheduled)))
((org-ql-block-header "High-priority tasks")))
;; ("v" "General Tasks"
;; (
;; (agenda "" ((org-agenda-span 4)))
;; (org-ql-block '(and
;; (priority "A")
;; (not (deadline))
;; (not (scheduled)))
;; ((org-ql-block-header "High-priority tasks")))
(org-ql-block '(and
(todo "TODO")
(tags "@idea")
(not (tags "@later"))
(not (deadline))
(not (scheduled)))
((org-ql-block-header "Looking for an idea?")))
;; (org-ql-block '(and
;; (todo "TODO")
;; (tags "@idea")
;; (not (tags "@later"))
;; (not (deadline))
;; (not (scheduled)))
;; ((org-ql-block-header "Looking for an idea?")))
(org-ql-block '(and
(todo "TODO")
(tags "@write")
(not (tags "@later"))
(not (tags "project"))
(not (deadline))
(not (scheduled)))
((org-ql-block-header "Write something:")))
;; (org-ql-block '(and
;; (todo "TODO")
;; (tags "@write")
;; (not (tags "@later"))
;; (not (tags "project"))
;; (not (deadline))
;; (not (scheduled)))
;; ((org-ql-block-header "Write something:")))
(org-roam-ql-agenda-block '(and (todo "TODO")))
))))
;; (org-roam-ql-agenda-block '(and (todo "TODO")))
;; ))))
)
;; -OrgPac