|
(c-set-style "bsd")
(line-number-mode 1)
(column-number-mode 1)
(setq scroll-step 1)
(menu-bar-mode nil)
(fset 'yes-or-no-p 'y-or-n-p)
(server-start)
(font-lock-mode 1)
(load "/home/mike/emacs/mutt")
(defvar running-xemacs
(string-match "XEmacs\\|Lucid" emacs-version))
(cond ((and (not running-xemacs)
(>= emacs-major-version 19))
(setq text-mode-hook (function (lambda () (turn-on-auto-fill)))
inhibit-startup-message t)
(setq auto-mode-alist (cons '("\\.text$" . text-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.txt$" . text-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.doc$" . text-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.awk$" . awk-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.perl$" . perl-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.plx$" . perl-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.pl$" . perl-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.C$" . c++-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.cc$" . c++-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.c$" . c++-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.h$" . c++-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.cpp$" . c++-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.cxx$" . c++-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.tcl$" . tcl-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.sh$" . shell-script-mode)
auto-mode-alist))
(setq auto-mode-alist (cons '("\\.zsh$" . shell-script-mode)
auto-mode-alist))
(setq completion-ignored-extensions (append completion-ignored-extensions
'(".CKP" ".u" ".press" ".imp" ".BAK")))
(put 'eval-expression 'disabled nil)
(global-unset-key "\M-n")
(global-set-key "\M-n" 'gnus)
(global-unset-key "\C-j")
(global-set-key "\C-j" 'goto-line)
(global-unset-key "\M-o")
(global-set-key "\M-o" 'other-window)
(global-unset-key "\M-m")
(global-set-key "\M-m" 'buffer-menu)
(global-unset-key "\M-p")
(global-set-key "\M-p" 'split-window)
(global-unset-key "\M-\C-?")
(global-set-key "\M-\C-?" 'kill-buffer)
(define-key ctl-x-map "t"
'(lambda () (interactive) (setq display-time-day-and-date
(not display-time-day-and-date))
(display-time-filter 1 display-time-string)))
(load "mh-e" nil t)
(load "gnus" nil t)
(load "time" nil t)
(display-time)
(setq default-frame-alist
(append default-frame-alist
'((foreground-color . "green")
(background-color . "black")
(cursor-color . "blue"))))
(set-face-foreground 'bold "yellow")
(set-face-background 'bold "grey40")
(set-face-foreground 'bold-italic "yellow green")
(set-face-foreground 'italic "yellow3")
(set-face-foreground 'region "white")
(set-face-background 'region "blue")
(setq
emacs-lisp-mode-hook '(lambda () (font-lock-mode 1))
lisp-mode-hook '(lambda () (font-lock-mode 1))
c-mode-hook '(lambda () (font-lock-mode 1))
c++-mode-hook '(lambda () (font-lock-mode 1))
html-mode-hook '(lambda () (font-lock-mode 1))
shell-script-mode-hook '(lambda () (font-lock-mode 1))
makefile-mode-hook '(lambda () (font-lock-mode 1))
mutt-mode-hook '(lambda () (font-lock-mode 1))
perl-mode-hook '(lambda () (font-lock-mode 1))
cperl-mode-hook '(lambda () (font-lock-mode 1))
c++-c-mode-hook '(lambda () (font-lock-mode 1))
tex-mode-hook '(lambda () (font-lock-mode 1))
shell-mode-hook '(lambda () (font-lock-mode 1))
dired-mode-hook '(lambda () (font-lock-mode 1))
rmail-mode-hook '(lambda () (font-lock-mode 1))
rmail-summary-mode-hook '(lambda () (font-lock-mode 1))
compilation-mode-hook '(lambda () (font-lock-mode 1)))
(make-face 'fl-comment-face)
(set-face-foreground 'fl-comment-face "white")
(setq font-lock-comment-face 'fl-comment-face)
(make-face 'fl-doc-string-face)
(set-face-foreground 'fl-doc-string-face "orange")
(setq font-lock-doc-string-face 'fl-doc-string-face)
(make-face 'fl-string-face)
(set-face-foreground 'fl-string-face "red")
(setq font-lock-string-face 'fl-string-face)
(make-face 'fl-function-name-face)
(set-face-foreground 'fl-function-name-face "DeepSkyBlue")
(setq font-lock-function-name-face 'fl-function-name-face)
(make-face 'fl-keyword-face)
(set-face-foreground 'fl-keyword-face "blue")
(setq font-lock-keyword-face 'fl-keyword-face)
(make-face 'fl-type-face)
(set-face-foreground 'fl-type-face "cyan")
(setq font-lock-type-face 'fl-type-face)
(set-face-foreground 'modeline "black")
(set-face-background 'modeline "white")
(set-face-foreground 'highlight "black")
(set-face-foreground 'secondary-selection "black")
(set-face-foreground 'highlight "black")
(desktop-load-default)
(desktop-read)
))
(cond
((and (string-match "XEmacs" emacs-version)
(boundp 'emacs-major-version)
(or (and
(= emacs-major-version 19)
(>= emacs-minor-version 14))
(= emacs-major-version 20))
(fboundp 'load-options-file))
(load-options-file "/home/mike/.xemacs-options")))
(custom-set-variables
'(user-mail-address "maw@nitro.fsck.org" t)
'(query-user-mail-address nil))
(custom-set-faces)
|
|
|
All content copyright by the contributors. |
Website maintained with
Emacs ,
wsmake and
html-helper-mode |
Emacs community logo by Daniel Lundin |
Last updated on Sat Jan 22 14:49:24 2005
by Ingo Koch |
|
|
|
|