简洁版,自己简的

(global-font-lock-mode t))

;; enable visual feedback on selections
;(setq transient-mark-mode t)

;; default to better frame titles
(setq frame-title-format "emacs@%b")

;;myself
;;
;;(imenu-add-menubar-index)

;;(which-function-mode)

(setq inhibit-startup-message t)

(setq column-number-mode t)

(setq default-major-mode 'text-mode)

(show-paren-mode t)
(setq show-paren-style 'parentheses)

;;(setq-default indent-tabs-mode nil)
(setq default-tab-width 4)
(setq tab-stop-list())

(setq c-basic-offset 4)

(setq auto-save-default nil)

(fset 'yes-or-no-p 'y-or-n-p)

(setq mouse-avoidance-mode 'animate)

(setq-default make-backup-files nil)

(global-set-key [f10] 'undo)

(global-set-key [f4] 'other-window)