2011-02-21 00:27:43 +01:00
|
|
|
(require 'org-crypt)
|
|
|
|
|
2011-03-07 09:04:49 +01:00
|
|
|
(setq org-todo-keywords '((sequence "TODO(t)"
|
|
|
|
"IN PROGRESS(p)"
|
|
|
|
"WAITING(w@/!)"
|
|
|
|
"|"
|
|
|
|
"DONE(d!/!)"
|
|
|
|
"CANCELLED(c@/!)")))
|
2011-02-21 00:27:43 +01:00
|
|
|
(setq org-ditaa-jar-path "/usr/share/java/ditaa/ditaa-0_9.jar")
|
|
|
|
(setq org-babel-load-languages '((ditaa . t)))
|
|
|
|
(setq org-confirm-babel-evaluate nil)
|
|
|
|
(setq org-tags-exclude-from-inheritance '("crypt"))
|
|
|
|
(setq org-crypt-key "33E8CC1CC4")
|
|
|
|
; GPG key used for encryption
|
2011-03-07 09:04:49 +01:00
|
|
|
(setq org-use-fast-todo-selection t)
|
|
|
|
|
|
|
|
(setq org-todo-keyword-faces
|
|
|
|
'(("TODO" :foreground "red" :weight bold)
|
|
|
|
("IN PROGRESS" :foreground "yellow" :weight bold)
|
|
|
|
("DONE" :foreground "forest green" :weight bold)
|
|
|
|
("WAITING" :foreground "orange" :weight bold)
|
|
|
|
("CANCELLED" :foreground "orangered" :weight bold)))
|
2011-02-21 00:27:43 +01:00
|
|
|
|
|
|
|
(global-set-key "\C-cl" 'org-store-link)
|
|
|
|
(global-set-key "\C-cc" 'org-capture)
|
|
|
|
(global-set-key "\C-ca" 'org-agenda)
|
|
|
|
|
|
|
|
;; Encrypt all entries before saving
|
|
|
|
(org-crypt-use-before-save-magic)
|
|
|
|
|
|
|
|
(add-hook 'org-mode-hook
|
|
|
|
(lambda ()
|
|
|
|
(flyspell-mode 1)
|
|
|
|
(auto-fill-mode 1)))
|