summaryrefslogtreecommitdiff
path: root/lisp/init-org.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-03 02:30:44 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-03 02:30:44 -0500
commit3e57a654519e5e7af1e84504edb2ea37aba3b052 (patch)
treecd8d8f559e4a3e4dc1e07500db7b992bc7c794a9 /lisp/init-org.el
parentc8c4f3b7cabf2db5963eae5a64a4191010e86238 (diff)
downloademacs.d-3e57a654519e5e7af1e84504edb2ea37aba3b052.tar.gz
Merge babel and contacts settings to main Org file
Diffstat (limited to 'lisp/init-org.el')
-rw-r--r--lisp/init-org.el25
1 files changed, 25 insertions, 0 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 2debdcc..29a3757 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -465,6 +465,31 @@ global value. A numeric prefix sets MAXLEVEL (defaults to 2)."
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
+;;; Org Babel
+
+(setq org-confirm-babel-evaluate nil
+ org-src-fontify-natively t)
+
+(org-babel-do-load-languages
+ 'org-babel-load-languages
+ '((sh . t)
+ (python . t)
+ (R . t)
+ (emacs-lisp . t)
+ (latex . t)))
+
+
+;;; Org Contacts
+
+(require 'org-contacts)
+
+(setq org-contacts-files '("~/notes/contacts.org"))
+
+(add-to-list 'org-capture-templates
+ '("a" "email address" entry (file+headline "~/notes/contacts.org" "Inbox")
+ "** %(org-contacts-template-name)\n :PROPERTIES:\n :EMAIL: %(org-contacts-template-email)\n :END:"))
+
+
;;; Org in other modes
(after 'git-commit