                                 'mode-line-modified
                                 'mode-line-frame-identification
                                 "%b--"
-; Note that this is evaluated while making the list.
-; It makes a mode line construct which is just a string.
+                                        ; Note that this is evaluated while
+                                        ; making the list. It makes a mode line
+                                        ; construct which is just a string.
                                 (system-name)
                                 ":"
                                 'default-directory

(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(ac-config-default)

;(require 'auto-complete)
;(global-auto-complete-mode t)
;;auto-complete
;(add-to-list 'load-path "~/.emacs.d/plugins/auto-complete")
;(require 'auto-complete-config)
;(add-to-list 'ac-dictionary-directories "~/.emacs.d/plugins/auto-complete/ac-dict")
;(ac-config-default)


;---------------------------action--------------------------
; auto-indent yanked (pasted) code

;当光标在行尾上下移动的时候，始终保持在行尾。
(setq track-eol t)
;show matching brackets{
(setq show-paren-delay 0)
(setq show-paren-style 'parentheses)
(show-paren-mode t)
;}
;highlight current line{
;(global-hl-line-mode t)
;}
;;把这些缺省禁用的功能打开
(put 'set-goal-column 'disabled nil)
(put 'narrow-to-region 'disabled nil)
