![[Dept of Engineering]](http://www.eng.cam.ac.uk/images/house_style/engban-s.gif)
If you have an .emacs file in your HOME directory, this will be read when emacs starts up. This file contains Lisp calls. Here are some examples of things you can do
(setq-default case-fold-search nil)
(setq text-mode-hook
'(lambda() (auto-fill-mode 1)))
or
(setq text-mode-hook 'turn-on-auto-fill)
(setq default-major-mode 'text-mode)
(setq inhibit-default-init 1)
(cond (window-system
(setq hilit-mode-enable-list '(not text-mode)
hilit-background-mode 'light
hilit-inhibit-hooks nil
hilit-inhibit-rebinding nil)
(require 'hilit19)
))(setq inhibit-default-init 1)
(setq ispell-highlight-face 'region)
(global-set-key [f1] 'goto-line) ;; goto line number
(global-set-key [select] 'set-mark-command) ;; set mark
(autoload 'matlab-mode "matlab" "Enter Matlab mode." t)
(setq auto-mode-alist (cons '("\\.m\\'" . matlab-mode) auto-mode-alist))
(autoload 'matlab-shell "matlab" "Interactive Matlab mode." t)
(setq auto-mode-alist
(append
'((".*\.p$" . fundamental-mode)
(".*\.f$" . fundamental-mode))
auto-mode-alist))
(cond (window-system
(global-font-lock-mode t)
)
)
(setq inhibit-default-init 1)
(enable-flow-control)
(setq inhibit-startup-message t)
~/.Xdefaults).
(set-border-color "lightblue") (set-border-color "blue") (set-cursor-color "red") (set-foreground-color "black") (set-mouse-color "red")
(load "time" t t) (display-time)
(load "/usr/src/editors/emacs/site-lisp/.long_menus.el") (setq inhibit-default-init 1)