(setq current-language-environment "UTF-8")
(setq default-input-method "chinese-py")
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
(set-clipboard-coding-system 'utf-8)
(set-buffer-file-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(modify-coding-system-alist 'process "*" 'utf-8)
(setq default-process-coding-system '(utf-8 . utf-8))
(setq-default pathname-coding-system 'utf-8)
(set-file-name-coding-system 'utf-8)
(setq ansi-color-for-comint-mode t)
(global-set-key "\C-cm" 'set-mark-command)
(global-set-key [(meta left)] 'backward-sexp)
(global-set-key [(meta right)] 'forward-sexp)
(global-set-key [(meta g)] 'goto-line)
(transient-mark-mode t)
(global-font-lock-mode t)
(setq column-number-mode t)
(tool-bar-mode)
(mouse-wheel-mode)
(put 'upcase-region 'disabled nil)
(custom-set-variables
'(column-number-mode t)
'(current-language-environment "Chinese-GB")
'(ecb-options-version "2.32")
'(show-paren-mode t)
'(tab-width 4)
'(transient-mark-mode t))
(custom-set-faces
)
(setq default-major-mode 'text-mode)(fset 'yes-or-no-p 'y-or-n-p)(scroll-bar-mode nil)(mouse-avoidance-mode 'animate)(setq x-select-enable-clipboard t)(setq make-backup-files nil)(load-file "/home/lizhi/myEmacs/color-theme.el")
(color-theme-pok-wob)
(setq inhibit-splash-screen t)(setq default-process-coding-system '(utf-8-unix . utf-8-unix))
(add-to-list 'load-path "~/myEmacs/cedet-1.0pre3/speedbar/")
(define-key-after (lookup-key global-map [menu-bar tools])
[speedbar] '("Speedbar" . speedbar-frame-mode) [calendar])
(global-set-key [(f4)] 'speedbar-get-focus)
(add-to-list 'load-path "~/myEmacs/cedet-1.0pre3/eieio/")
(add-to-list 'load-path "~/myEmacs/cedet-1.0pre3/ede/")
(add-to-list 'load-path "~/myEmacs/cedet-1.0pre3/cogre/")
(add-to-list 'load-path "~/myEmacs/cedet-1.0pre3/semantic/")
(setq semantic-load-turn-everything-on t)
(setq semantic-idle-scheduler-idle-time 432000)
(load-file "~/myEmacs/cedet-1.0pre3/common/cedet.el")
(setq semanticdb-project-roots
(list "~/Desktop/compiler/"))
(load-file "~/myEmacs/cedet-1.0pre3/common/cedet.el")
(add-to-list 'load-path "~/myEmacs/ecb-2.32/")
(require 'ecb)
(server-start)
(require 'thumbs)
(auto-image-file-mode t)
(show-paren-mode t)
(global-set-key [f5] 'gnus) (global-set-key [f6] 'eshell) (global-set-key [f11] 'compile) (global-set-key [f12] 'gdb)
(global-set-key "\C-xk" 'kill-this-buffer)
(global-set-key "\M-/" 'hippie-expand)
(setq rezize-mini-windows nil)
(add-hook 'c-mode-hook
'(lambda()
(c-set-style "linux")
(c-toggle-auto-state)))
(setq comment-multi-line t)
(require 'w3m-load)
(setq dired-recursive-copies t)
(setq dired-recursive-deletes t)
(setq display-time-24hr-format t)
(setq display-time-day-and-date t)
(setq dispaly-time-use-mail-icon t)
(setq display-time-interval 10)
(display-time-mode 1)
(setq calendar-latitude +45.75)
(setq calendar-longitude +126.63)
(setq calendar-location-name "Harbin")
(setq hippie-expand-try-functions-list
'(try-expand-line
try-expand-line-all-buffers
try-expand-list
try-expand-list-all-buffers
try-expand-dabbrev
try-expand-dabbrev-visible
try-expand-dabbrev-all-buffers
try-expand-dabbrev-from-kill
try-complete-file-name
try-complete-file-name-partially
try-complete-lisp-symbol
try-complete-lisp-symbol-partially
try-expand-whole-kill))
(require 'flyspell)
(add-to-list 'load-path "/home/lizhi/myEmacs/lisp/")
(load-file "/home/lizhi/myEmacs/boxquote.elc")
(require 'psvn)
没有评论:
发表评论