;; George Tzanetakis .emacs file for CSC330 

(global-font-lock-mode t)
(setq-default transient-mark-mode t)

(set-background-color "darkslategrey")
(set-foreground-color "navajowhite")
(set-cursor-color "red")

(setq line-number-mode t)
(require 'paren)

;;; SML stuff
(setq load-path (cons "/home/gtzan/sml-mode-3.9.5" load-path))
(autoload 'sml-mode "sml-mode" "Major mode for editing ML programs." t)

(setq auto-mode-alist
      (append '(("\\.sml$" . sml-mode)
		("\\.sig$" . sml-mode)
		("\\.ML$"  . sml-mode)) auto-mode-alist))


(setq sml-mode-info "/home/gtzan/sml-mode-3.9.5/sml-mode.info")


(add-hook 'font-lock-mode-hook
	  '(lambda ()
	     (set-face-foreground font-lock-comment-face "aquamarine")
	     (set-face-foreground font-lock-string-face "DarkSalmon")
	     (set-face-background font-lock-function-name-face "blue")
	     (set-face-foreground font-lock-function-name-face "white")))

(display-time)
(setq-default display-time-day-and-date t)
 



