Thursday, March 4, 2010

use .emacs to configure emacs

My .emacs file

(setq frame-title-format
(concat "%b - emacs@" (system-name)))

;; default to unified diffs
(setq diff-switches "-u")

;; always end a file with a newline
(setq require-final-newline nil)

;;(put 'set-goal-column 'disabled nil)
;; ====================
(setq inhibit-default-init t)
(setq inhibit-startup-message t)

(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(auto-compression-mode t nil (jka-compr))
'(case-fold-search t)
'(current-language-environment "UTF-8")
'(default-input-method "rfc1345")
'(global-font-lock-mode t nil (font-lock)))

(when window-system
;; enable wheelmouse support by default
(mwheel-install)
;; make switching frames works properly under the default click-to-focus
(setq focus-follows-mouse nil))

0 comments:

Post a Comment