; add colors (setq global-font-lock-mode 't) (setq font-lock-maximum-decoration 't) ; automatically get the correct mode (setq auto-mode-alist (append (list '("\\.c$" . c-mode) '("\\.tex$" . latex-mode) '("\\.S$" . S-mode) '("\\.s$" . S-mode) '("\\.R$" . R-mode) '("\\.r$" . R-mode) '("\\.html$" . html-mode) '("\\.emacs" . emacs-lisp-mode) ) auto-mode-alist)) ; comment out the following if you are using S-Plus in ISDS ; (add a ";" in front of each line (load "/usr/pkg/ess/lisp/ess-site") (setq-default inferior-S+6-program-name "Splus") (setq-default inferior-R-program-name "R")