From 906c4caf8d0f036f053e11c6a8310dc4f9ae3199 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sat, 1 Oct 2016 20:47:53 +0800 Subject: [PATCH] emacs - org-habit --- emacs.d/config.org | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/emacs.d/config.org b/emacs.d/config.org index 2a9eb56..2b31755 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -718,7 +718,10 @@ Always indents header, and hide header leading starts so that no need type =#+ST (setq org-startup-with-inline-images t) ;; latex preview (setq org-startup-with-latex-preview t) - (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.2))) + (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.2)) + (require 'org-habit) + (add-to-list 'org-modules 'org-habit) + (setq org-habit-graph-column 50)) (el-get-bundle hasu/emacs-ob-racket :features ob-racket) @@ -944,9 +947,9 @@ Setting agenda files and the agenda view "~/org/work.org"))) ;; only show today's tasks in agenda view - (setq org-agenda-span 'day) + ;; (setq org-agenda-span 'day) ;; Use current windows for agenda view - (setq org-agenda-window-setup 'current-window) + ;; (setq org-agenda-window-setup 'current-window) ;; show all feature entries for repeating tasks, ;; this is already setting by default -- 2.11.0