 (define-derived-mode ee-mode text-mode "ee"
   "Major Mode for Expression Evaluator files.
 
-Turning on ee-mode runs the usual hook: `ee-mode-hook'.
+Activating \"ee-mode\" runs the usual hook: `ee-mode-hook'.
 
 Key bindings:
 \\{ee-mode-map}

;; 



;;
;; Inlines
;;


;;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;; Some library functions that may be of use for indentation.

;;  Works, but is a tad top-heavy.
;;  (how-many regex start-pt end-pt)
;; thing-at-point
;; indent-to
;; current-indentation
;; back-to-indentation ;; intra-line
;; (backward-to-indentation arg) ;; find indentation ARG lines back
;; forward-to-indentation 
;; indent-relative ;; Good fallback fn.
;; Moving by balanced parens:
;; forward-sexp
;; backward-sexp
;; backward-list
;; forward-list
;; backward-up-list
;; down-list

;; Causes the sexp/list fns to skip comments.
;; (setq parse-sexp-ignore-comments t)

;;(defsubst 
;;  )

  (set-syntax-table ee-mode-syntax-table)

  ;; Define comment syntax.
  ;; All of these should be defined, or the built-in comment functions may not
  ;; work.
  (make-local-variable 'comment-end)
  (make-local-variable 'comment-end-skip)
  (make-local-variable 'comment-start)
  (make-local-variable 'comment-start-skip)
  (make-local-variable 'comment-use-syntax)
  (setq comment-start "! "
        comment-start-skip "!+ *"
        comment-end ""
        comment-end-skip "\n"
        comment-use-syntax nil)
  ;; `comment-indent-function' should be set to something that returns the
  ;; indentation of the previous line.  Well, probably...

  ;; Set up font-lock for ee-mode
  (make-local-variable 'font-lock-defaults)
