From 088681cfcdc2b6a7b845873f6a0881510b4508f4 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 25 Apr 2012 00:13:53 +0200 Subject: emacs: added org-mode configuration --- emacs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/emacs b/emacs index 408ea6d..a653a60 100644 --- a/emacs +++ b/emacs @@ -345,6 +345,19 @@ If this is set during find-file, flyspell mode gets enabled automaticaly.") (add-hook 'js-mode-hook (lambda () (flymake-mode t)))) +;; org-mode +(when (require 'org nil 'noerror) + (progn + (setq org-todo-keywords + '((sequence "TODO(t)" "PROGRESS(p!)" "WAIT(w@/!)" "|" + "CANCELED(c@/!)" "DONE(d!)"))) + + (setq org-todo-keyword-faces + '(("TODO" . org-warning) ("PROGRESS" . "yellow") + ("CANCELED" . (:foreground "blue" :weight bold)))) + (setq org-startup-folded 'content) + (setq org-startup-indented t))) + ;; promela-mode (when (require 'promela-mode nil 'noerror) (setq auto-mode-alist @@ -381,4 +394,4 @@ If this is set during find-file, flyspell mode gets enabled automaticaly.") (setq deft-extension "org" deft-directory "~/.org/deft/" deft-text-mode 'org-mode) - (global-set-key (kbd "") 'deft)) \ No newline at end of file + (global-set-key (kbd "") 'deft)) -- cgit v1.2.3