 ;(set-keyboard-coding-system 'utf-8)
 ;(setq file-name-coding-system 'utf-8)
 
+(setq echo-keystrokes 0.1
+      font-lock-maximum-decoration t
+      inhibit-startup-message t
+      transient-mark-mode t
+      color-theme-is-global t
+      delete-by-moving-to-trash t
+      shift-select-mode nil
+      truncate-partial-width-windows nil
+      uniquify-buffer-name-style 'forward
+      whitespace-style '(trailing lines space-before-tab
+                                  indentation space-after-tab)
+      whitespace-line-column 100
+      )
 ;---------------------component toggle----------------
 ;disable tool-bar-mode
 ;disable scroll bar
 ;start speedbar if we're using a window system
 (if window-system (progn
+                    (set-frame-title-format '(buffer-file-name "%f" ("%b")))
+                    (tooltip-mode -1)
+                    (blink-cursor-mode -1)
 	(tool-bar-mode -1)
 	(scroll-bar-mode -1)
 ;	(speedbar t)

; Author:	0xnz <yunxinyi AT gmail DOT com>
; Last-update:  2013-10-06 23:37
;
; Description:  0xnz's dot emacs file
; Howto:	copy this file to ~/.emacs or ~/.emacs.d/init.el
;______________________________________________________________________________

;-------------save personal info------------
(setq user-full-name "oxnz")
(setq user-mail-address "yunxinyi@gmail.com")
;-----------------path config---------------
;Load_path{
(add-to-list 'load-path' "~/.emacs.d")
;}
;todo path{
(setq todo-file-do "~/.emacs.d/todo/do")

	(menu-bar-mode -1)
)
;------------------mode-line------------------
(setq-default mode-line-format
              (quote
               (#("-" 0 1
                  (help-echo
                   "mouse-1: select window, mouse-2: delete others ..."))
                mode-line-mute-info
                mode-line-frame-identification
                "    "
                mode-line-buffer-identification
                "    "
                (:eval (substring
                        (system-name) 0 (string-match "\\..+" (system-name))))
                ":"
                default-directory
                #(" " 0 1
                  (help-echo
                   "mouse-1: select window, mouse-2: delete others ..."))
                (line-number- " Line %1 ")
                global-mode-string
                #("     %[(" 0 6
                  (help-echo
                   "mouse-1: selection window, mouse-2: delete others ..."))
                (:eval (mode-line-mode-name))
                mode-line-process
                minor-mode-alist
                #("%n" 0 2 (help-echo "mouse-2: widen" local-map (keymap ...)))
                ")%] "
                (-3 . "%P")
                                        ; "-%-"
                )))
; show time{
;(display-time-mode t)
; 24-hour
