(global-set-key "\C-c\C-f" 'fundamental-mode)
(global-set-key "\C-xc" 'compile)
  
(line-number-mode 1)

;; emacs coloring stuff
(cond (window-system
       (setq hilit-mode-enable-list  '(not text-mode)
             hilit-background-mode   'dark
             hilit-inhibit-hooks     nil
             hilit-inhibit-rebinding nil)
       (require 'hilit19)
	(set-default-font "-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1")
;;       (hilit-translate type     'RoyalBlue   ; enable highlighting in C/C++
;;			string   nil)         ; disable string highlighting
       ))


(setq text-mode-hook 
      '(lambda ()
         (auto-fill-mode 1)) )
(setq LaTex-mode-hook 
      '(lambda ()
         (auto-fill-mode 1)))
(define-key global-map "\M-p" 'fill-paragraph)
