legacy-dotfiles/emacs.d/20-org.el
Tom Willemsen 62f897fdf5 New .emacs style
* .emacs only loops through .emacs.d and runs the *.el files there.

 * files are automatically compiled before loading. But only if it
   hasn't already been compiled.

 * all emacs el files, save for the startup scripts, have been moved
   to .emacs.d/elisp
2011-02-21 00:27:43 +01:00

21 lines
764 B
EmacsLisp

(require 'org-crypt)
(setq org-todo-keywords '((sequence "TODO" "IN PROGRESS" "|" "DONE")))
(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
(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)))