 (add-hook 'haskell-mode-hook 'paredit-mode)
 (add-hook 'haskell-mode-hook 'interactive-haskell-mode)
 
-;; interactive stuff (from
-;; https://github.com/haskell/haskell-mode/wiki/Haskell-Interactive-Mode-Setup)
-;; apparently the latest update of haskell mode made this happen:
-;;
-;; Symbol's value as variable is void: haskell-mode-map
-;;
-;; so I'll comment out the following:
-;; (define-key haskell-mode-map (kbd "C-c C-l") 'haskell-process-load-or-reload)
-;; (define-key haskell-mode-map (kbd "C-`") 'haskell-interactive-bring)
-;; (define-key haskell-mode-map (kbd "C-c C-t") 'haskell-process-do-type)
-;; (define-key haskell-mode-map (kbd "C-c C-i") 'haskell-process-do-info)
-;; (define-key haskell-mode-map (kbd "C-c C-c") 'haskell-process-cabal-build)
-;; (define-key haskell-mode-map (kbd "C-c C-k") 'haskell-interactive-mode-clear)
-;; (define-key haskell-mode-map (kbd "C-c c") 'haskell-process-cabal)
-;; (define-key haskell-mode-map (kbd "SPC") 'haskell-mode-contextual-space)
-
-;; handy commands that for some reason don't seem to be set up yet
-;; http://www.cis.syr.edu/courses/cis252/emacs.html
-;; actually, it turns out some of these key combos don't work, so I'm just
-;; going to remove the second C- part and go ahead with that
 (defun my-key:haskell-indent-insert-equal ()
   (local-set-key (kbd "C-c =") 'haskell-indent-insert-equal))
 (add-hook 'haskell-mode-hook 'my-key:haskell-indent-insert-equal)


;; subscript and superscript behavior -- turn it off without curly braces
;; source: http://orgmode.org/manual/Subscripts-and-superscripts.html
;; (setq 'org-use-sub-superscripts '{})
;; I'm not really sure what I'm supposed to set that to, but I guess on a
;; per-file basis I can add
;; #+OPTIONS: ^:{}
;; source: 
;; http://stackoverflow.com/questions/698562/disabling-underscore-to-subscript-in-emacs-org-mode-export
;; not ideal, but better than nothing
;; now that I'm using a newer Org (8.2.10 instead of 7.9.x), let's try this
;; again
;; (setq org-use-sub-superscripts "{}")
;; hmm, maybe the export is different, so let's try that
;; see http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00624.html
;; (setq org-export-with-sub-superscripts "{}")
;; (setq org-use-sub-superscripts "{}")
;; answer from stackoverflow:
;; You must write instead:
;;     (setq org-use-sub-superscripts '{})
(setq org-use-sub-superscripts '{})
;; you actually need the following for the HTML (and LaTeX?) exporting to work
;; as you'd like, too

  (setenv "PATH" (concat my-cabal-path path-separator (getenv "PATH")))
  (add-to-list 'exec-path my-cabal-path))

;;;; Flyspell
;; path to ispell
;; source: http://unix.stackexchange.com/questions/38916/how-do-i-configure-emacs-to-use-ispell-on-mac-os-x
