;; .emacs (setq tex-dvi-view-command "xdvi") ;; Personal configuration for emacs. ;; ;; Goto a specific line # (global-set-key "\M-g" 'goto-line) ;; MAIL ;; Overmaps mail to mh (mail handler) ;(global-set-key "\C-xm" 'mh-rmail) ;(global-set-key "^H" 'backward-delete-char-untabify) (setq mh-recursive-folders t) ; ; C customizations ; (setq c-indent-level 4) ; K & R style. (setq c-continued-statement-offset 4) (setq c-argdecl-indent 0) (setq c-brace-offset -4) (setq label-offset -4) ;;; Colorized TeX ;;; Use colors and highlighting for different entries in a file (load-library "hilit19") (setq-default hilit-auto-highlight t) (setq-default hilit-auto-rehighlight t) (hilit-translate grey40 'maroon) ;; HTML helper mode ;To use html helper mode, put these lines into your .emacs file: (autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t) (setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist)) ;; Autoload these to display the European Latin-1 character set correctly (autoload 'mime-to-iso "mime-to-iso" "converts mime to iso" t) (autoload 'latin1-mode "latin1-mode" "enables foreign characters" t) ;; displaying special characters correctly. (if (or window-system (equal (getenv "TERM") "xterm")) (standard-display-european 1) (require 'iso-ascii)) (put 'narrow-to-region 'disabled nil) ;; setup for various modes. (setq latin1-language-selection '(latin1-Icelandic))