[emacs] Configure org-habit

This commit is contained in:
Correl Roush 2014-11-12 01:14:32 -05:00
parent ae8a21e850
commit f443f47a02

View file

@ -82,6 +82,32 @@
(cons '("\\.md" . markdown-mode) auto-mode-alist))
#+END_SRC
** Org
*** Modules
#+name: org-module-table
| org-habit |
#+name: packages
#+BEGIN_SRC emacs-lisp :noweb yes
(let ((modules (mapcar (lambda (m) (make-symbol (car m)))
'<<org-module-table()>>)))
(mapcar (lambda (m) (add-to-list 'org-modules m))
modules))
(org-load-modules-maybe t)
#+END_SRC
*** Tasks
**** Log completion
#+name: packages
#+BEGIN_SRC emacs-lisp
(setq org-log-done 'time)
#+END_SRC
**** Habits
Shift the consistency graph over a bit to make room for task
names.
#+name: packages
#+BEGIN_SRC emacs-lisp
(setq org-habit-graph-column 70)
(setq org-habit-show-habits-only-for-today nil)
#+END_SRC
*** Babel
**** Syntax highlighting
#+name: packages