 	(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

; 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")

;(setq hs-minor-mode t)
;(setq abbrev-mode t)
;------------------indent------------------
(setq-default indent-tabs-mode nil)
(set-default 'indent-empty-lines t)
(set-default 'imenu-auto-rescan t)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
;(setq tab-width 4 c-basic-offset 4)
;;-----------------------cc mode---------------------
;(setq-default c-basic-offset 4
;			  tab-width 4
