X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=blobdiff_plain;f=.emacs;h=56b0244f9992e548fd75b83de5bdb102f0997180;hp=636088c75f089d85ac9480a27f15fa54df64ff63;hb=0778e647d173c9653ed443d5df189e7da06d1772;hpb=c9712b0ae9357fb7dd3f861dda404dcf57fd8b27 diff --git a/.emacs b/.emacs index 636088c..56b0244 100644 --- a/.emacs +++ b/.emacs @@ -16,7 +16,9 @@ '(display-time-mode t) '(global-auto-revert-mode t) '(global-font-lock-mode t nil (font-lock)) + '(global-set-key "\M-g" 'goto-line) '(iswitchb-prompt-newbuffer nil) + '(iswitchb-mode t) '(mail-user-agent (quote sendmail-user-agent)) '(mutt-alias-file-list (quote ("~/.mutt/aliases" "~/.mail_aliases"))) '(post-email-address "don@donarmstrong.com") @@ -48,7 +50,7 @@ ;;(require 'emacs-wiki) (require 'bibtex) (require 'post) - +;;(require 'fixme) (global-set-key "\C-xp" 'gnuserv-edit) @@ -66,7 +68,8 @@ (add-to-list 'auto-mode-alist '("muttng-[a-z0-9]+-[0-9]+-" . post-mode)) (add-to-list 'auto-mode-alist '("muttngrc" . muttrc-mode)) - +(global-unset-key "\M-g") +(global-set-key "\M-g" 'goto-line) ;;(autoload 'perl-mode "cperl-mode" ;; "alternate mode for editing Perl programs" t) @@ -92,7 +95,7 @@ -(load-library "php-mode") +;(load-library "php-mode") (setq c-indent-level 8) (setq c-brace-imaginary-offset 0) @@ -121,6 +124,17 @@ (add-hook 'LaTeX-mode-hook 'outline-minor-mode) ; with AUCTeX LaTeX mode (add-hook 'latex-mode-hook 'outline-minor-mode) ; with Emacs latex mode +(TeX-add-style-hook + "latex" + (lambda () + (TeX-add-symbols + '("DLA" 1)))) +(custom-set-variables + '(font-latex-user-keyword-classes + '(("fixme" + ("DLA" "RZ") + font-lock-function-name-face 2 (command 1 t)))) +) @@ -172,3 +186,5 @@ (desktop-load-default) (desktop-read) +; start up the iswitchb mode +(iswitchb-mode) \ No newline at end of file