summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-01-31 13:34:05 -0800
committerFranck Cuny <franck@fcuny.net>2022-01-31 13:34:05 -0800
commitacbe3b62ed0fd158f2b5d198c12063e93286f285 (patch)
tree12a82a93172d9c15e192e8e327a8ef0f432164b6 /emacs/custom
parentemacs: capitalize headlines (diff)
downloademacs.d-acbe3b62ed0fd158f2b5d198c12063e93286f285.tar.gz
org: clean up config
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/fcuny-org.el20
1 files changed, 5 insertions, 15 deletions
diff --git a/emacs/custom/fcuny-org.el b/emacs/custom/fcuny-org.el
index bc6355e..d911104 100644
--- a/emacs/custom/fcuny-org.el
+++ b/emacs/custom/fcuny-org.el
@@ -54,10 +54,6 @@
   (org-cycle-separator-lines 0)
   (org-startup-folded 'content)
   (org-todo-keywords '((sequence "TODO" "STARTED" "WAITING" "|" "DONE" "CANCELED")))
-  (org-todo-keyword-faces
-   '(("TODO" . (:foreground "red" :weight bold))
-     ("STARTED" . (:foreground "red" :weight bold))
-     ("WAITING" . (:foreground "blue" :weight bold))))
 
   ;; priorities
   (org-priority-start-cycle-with-default nil) ;; Start one over/under default value.
@@ -69,7 +65,7 @@
   (org-refile-use-cache nil)
   (org-refile-targets `((,(expand-file-name "tasks.org" org-directory) :maxlevel . 1)
                         (,(expand-file-name "notes.org" org-directory) :maxlevel . 1)
-                        (,(expand-file-name "projects.org" org-directory) :maxlevel . 1)))
+                        (,(expand-file-name "projects.org" org-directory) :tag . "project")))
   (org-refile-use-outline-path 'file)
   (org-outline-path-complete-in-steps nil)
   (org-refile-allow-creating-parent-nodes 'confirm)
@@ -128,17 +124,11 @@
                         ((org-agenda-overriding-header "To Refile")
                          (org-agenda-files `(,(expand-file-name "inbox.org" org-directory)))))
                   (todo "STARTED"
-                        ((org-agenda-overriding-header "In Progress")
-                         (org-agenda-files `(,(expand-file-name "projects.org" org-directory)))))
+                        ((org-agenda-overriding-header "In Progress")))
                   (todo "WAITING"
-                        ((org-agenda-overriding-header "Blocked")
-                         (org-agenda-files `(,(expand-file-name "projects.org" org-directory)))))
+                        ((org-agenda-overriding-header "Blocked")))
                   (todo "TODO"
-                        ((org-agenda-overriding-header "Projects")
-                         (org-agenda-files `(,(expand-file-name "projects.org" org-directory)))))
-                  (todo "TODO"
-                        ((org-agenda-overriding-header "One-off Tasks")
-                         (org-agenda-files `(,(expand-file-name "tasks.org" org-directory)))
+                        ((org-agenda-overriding-header "Not yet started")
                          (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline 'scheduled))))))))
 
 (use-package org-capture
@@ -149,7 +139,7 @@
    `(("t" "Todo" entry (file "inbox.org")
       "* TODO [#D] %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n")
 
-     ("n" "Note" entry (file "inbox.org")
+     ("n" "Note" entry (file "notes.org")
       "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n")
 
      ("j" "Journal" entry