diff --git a/conf.el b/conf.el index 6a79645..13efc93 100644 --- a/conf.el +++ b/conf.el @@ -262,15 +262,6 @@ ("HOLD" :foreground "violet" :weight bold) ("CANCELLED" :foreground "deep sky blue" :weight bold)))) -(setq org-todo-state-tags-triggers - (quote (("CANCELLED" ("CANCELLED" . t)) - ("WAITING" ("WAITING" . t)) - ("HOLD" ("WAITING") ("HOLD" . t)) - (done ("WAITING") ("HOLD")) - ("TODO" ("WAITING") ("CANCELLED") ("HOLD")) - ("NEXT" ("WAITING") ("CANCELLED") ("HOLD")) - ("DONE" ("WAITING") ("CANCELLED") ("HOLD"))))) - (setq org-tag-alist (quote ((:startgroup) ("@errand" . ?e) ("@work" . ?o) diff --git a/conf.org b/conf.org index a9aeafe..5f2e4e7 100644 --- a/conf.org +++ b/conf.org @@ -405,26 +405,6 @@ vim is all about escape, not...ctrl+g??? ("HOLD" :foreground "violet" :weight bold) ("CANCELLED" :foreground "deep sky blue" :weight bold)))) #+END_SRC -*** triggers -#+BEGIN_SRC emacs-lisp -(setq org-todo-state-tags-triggers - (quote (("CANCELLED" ("CANCELLED" . t)) - ("WAITING" ("WAITING" . t)) - ("HOLD" ("WAITING") ("HOLD" . t)) - (done ("WAITING") ("HOLD")) - ("TODO" ("WAITING") ("CANCELLED") ("HOLD")) - ("NEXT" ("WAITING") ("CANCELLED") ("HOLD")) - ("DONE" ("WAITING") ("CANCELLED") ("HOLD"))))) -#+END_SRC -*** subtask autocomplete -+BEGIN_SRC emacs-lisp - (defun org-summary-todo (n-done n-not-done) - "Switch entry to DONE when all subentries are done, to TODO otherwise." - (let (org-log-done org-log-states) ; turn off logging - (org-todo (if (= n-not-done 0) "DONE" "TODO")))) - - (add-hook 'org-after-todo-statistics-hook 'org-summary-todo) -#+END_SRC ** tag selection keys #+BEGIN_SRC emacs-lisp (setq org-tag-alist (quote ((:startgroup)