   (setq org-default-priority 67) ;C
   ;; highlight math
   (setf org-highlight-latex-and-related '(latex entities))
-  ;; code block
-  (org-babel-do-load-languages
-   'org-babel-load-languages
-   '((emacs-lisp . t)
-     (C          . t)
-     (R          . t)
-     (matlab     . t)
-     (sh         . t)
-     (ruby       . t)
-     (python     . t)
-     (haskell    . t)))
-  (add-to-list 'org-src-lang-modes '("c" . c))
-  (add-to-list 'org-src-lang-modes '("r" . ess-mode))
-  (add-to-list 'org-src-lang-modes '("h" . haskell))
-  (add-to-list 'org-src-lang-modes '("s" . sh))
-  (add-to-list 'org-src-lang-modes '("p" . python))
-  (add-to-list 'org-src-lang-modes '("ruby" . enh-ruby))
-  (setq org-src-fontify-natively t)
-  (setq org-confirm-babel-evaluate nil)
 
   (org-defkey org-mode-map (kbd "C-c C-t") (lambda () (interactive) (org-todo "TODO")))
   (org-defkey org-mode-map (kbd "C-c C-w") (lambda () (interactive) (org-todo "WAITING")))

  ;; shortcut for C-u C-c C-l
  (defun org-insert-file-link () (interactive) (org-insert-link '(4)))
  (org-defkey org-mode-map (kbd "C-c l") 'org-store-link)
  
  ;; some templates
  (setcdr (assoc "c" org-structure-template-alist)
          '("#+BEGIN_COMMENT\n?\n#+END_COMMENT"))

               '("b"
                 "#+BEGIN_SRC bib\n?\n#+END_SRC"
                 "<src lang=\"bib\">\n\n</src>"))

  ;; (use-package org-journal)
  ;; (setq org-journal-dir "~/Documents/spoiler/logs/")
  ;; (setq org-journal-file-format "%Y-%m-%d.org")
