 (require 'eagle-ul-mode)
 
 ;;;; Org Mode ;;;;
+
+;; turn on spell check by default
+(add-hook 'org-mode-hook 'flyspell-mode)
 
 ;; C-c . isn't working for org-time-stamp (shadowed by another mode, yet 
 ;; attempting to find which mode has been pretty fruitless), so I'm going to


;;;; C ;;;;

;;;; auto-indent on newline
;; (add-hook 'c-mode-common-hook '(lambda ()
;;     (local-set-key (kbd "RET") 'newline-and-indent)))

;;;; Allman-style indentation + indentation amount
(setq c-default-style "bsd"
    c-basic-offset 4)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Matlock's .emacs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;; TODOs ;;;;;;
;; [ ] make .emacs resilient to a missing package even in the event of being
;; unable to connect to the internet; see
;; http://camdez.com/blog/2015/04/03/switching-to-melpa-stable/ point #3
;; example:
;;     (when (require 'keyfreq nil 'no-error)
;;       (keyfreq-mode 1)           ; configuration of keyfreq
;;       (keyfreq-autosave-mode 1)) ; more configuration of keyfreq
;;
;; [ ] break .emacs into manageable chunks a la
;; http://ergoemacs.org/emacs/organize_your_dot_emacs.html (org-dotemacs.el
;; doesn't necessarily seem like a long-term stable way to store your
;; configuration, so avoid for now)
;;
;; [ ] move stuff out of ~/elisp; maybe keep ~/emacs for dotemacs stuff, but
;; otherwise reorganize it a bit
;;
;; [ ] switch to MELPA-stable releases
;;
;; [ ] figure out differences between shell and GUI Emacs
;; (For example, shell-mode in emacs -nw doesn't allow for 「C-<UP>」 to get
;; the last command, but it does work in GUI Emacs for some reason. I bet a lot
