"incremental spell checking"
+ (add-hook 'prog-mode-hook 'flyspell-prog-mode) ;; won't work until we upgrade emacs
+ (add-hook 'tuareg-mode-hook 'flyspell-prog-mode) ;; for now we'll just have it working in tuareg-mode
+(defun Jane.omake-old ()
+ (custom-set-variables '(compile-command "VERSION_UTIL_SUPPORT=false LINK_EXECUTABLES=false X_LIBRARY_INLINING=false jomake -j 7 -P -w"))
+ (global-set-key [(control return)] 'compile)
+ ;; When I run compile, if there's already a compilation in this
+ ;; omake location then it asks if I'd like to kill it and start this
+ ;; new one. Otherwise, it just starts the new one, allowing
+ ;; multiple compilations at the same time on different trees. Their
+ ;; buffers will be named sensibly.
+ (defun my-compilation-buffer-name (mode-name)
+ (concat "*" (downcase mode-name) ":" (get-omake-root-or-current-dir) "*"))
+ '(compilation-buffer-name-function 'my-compilation-buffer-name)
+ '(compilation-read-command t)
+ '(compilation-ask-about-save nil)
+ '(compilation-scroll-output t)
+ '(next-error-highlight t)
+ ;; recenter buffer with error
+ '(next-error-recenter (quote (4)))
+ ;; ocamlc numbers columns from 0, not from 1 (like, e.g., gcc)
+ '(compilation-first-column 0)
;; Display page delimiter as a horizontal line instead of "^L"
;; Insert page delimiters with C-qC-l
;; Page delimiters are a good replacement for "(**********)" comments
-;; XCR cfalls for sweeks: I thought this is what jane-deprecated.el is
-;; for. Why do we have two ways of doing this?
-;; sweeks: moved to jane-deprecated.el.