From 43cc8528f696e887e63d0472cfedabc1a0547ccc Mon Sep 17 00:00:00 2001 From: Mark van der Putten Date: Wed, 23 Apr 2025 22:38:10 +0200 Subject: [PATCH] Disable org capture templates and custom agenda commands --- elisp/init-org.el | 116 +++++++++++++++++++++++----------------------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/elisp/init-org.el b/elisp/init-org.el index 6855512..d66a51b 100644 --- a/elisp/init-org.el +++ b/elisp/init-org.el @@ -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