dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 22cb56c34b9e6487245c2f89f250a08ec168a399
parent 2c2c716f8d15ac11922e259b53e42d3128810cdb
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Fri, 14 Jan 2022 17:28:34 +0100

emacs: set up todo keyword faces

Diffstat:
Memacs/config.org | 12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -810,12 +810,16 @@ Templates for quick capture: "* %i%? \n %U"))) #+end_src -*** Todo +*** Todo & agenda views Todo keywords based on the GTD system (pipe separates incomplete from complete): - #+begin_src emacs-lisp - (setq org-todo-keywords '("TODO(t)" "NEXT(n)" "WAITING(w)" "SOMEDAY(s)" "PROJECT(p)" - "|" "DONE(d)" "CANCELLED(c)")) + (setq org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "WAITING(w)" "SOMEDAY(s)" "|" "DONE(d)" "CANCELLED(c)")) + org-todo-keyword-faces '(("TODO" . org-todo) + ("NEXT" . org-todo) + ("WAITING" . org-todo) + ("SOMEDAY" . org-todo) + ("DONE" . org-done) + ("CANCELLED" . org-done))) #+end_src Define a function to skip tasks (trees) that are not habits (i.e. don't have the STYLE property ~habit~):