  kept-old-versions 2
  version-control t)
 
+;---------------auto-save----------------
+; close auto save
+(setq auto-save-mode nil)
+; don't generate #filename# temp file
+(setq auto-save-default nil)
+
 ;----------------------encoding---------------------
 (set-language-environment 'UTF-8)
 (set-buffer-file-coding-system 'utf-8)

;))
;(add-hook hook (lambda () (linum-mode 1))))



;;支持emacs和外部程序的粘贴
;(setq x-select-enable-clipboard t)

; close auto save
;(setq auto-save-mode nil)
; don't generate #filename# temp file
;(setq auto-save-default nil)

;;自动的在文件末增加一新行
;(setq require-final-newline t)
;;当光标在行尾上下移动的时候，始终保持在行尾。
;(setq track-eol t)

;
;(setq-default c-indent-tabs-mode t; Press TAB should cause indentation
;	      c-indent-level 4; A TAB is equivilent to four spaces
;	      c-argdecl-indent 0; Do not indent argument decl's extra
;	      c-tab-always-indent t
;	      c-basic-offset 4
;	      backward-delete-function nil); DO NOT expand tabs when deleting
;


;-----------------------key-sequences---------------------
; compile and debug{
;(global-set-key [f5] 'compile);compile
;(global-set-key [C-f7] 'gdb);debug

(set-keyboard-coding-system 'utf-8)
(setq file-name-coding-system 'utf-8)

;-----------------------------speed bar--------------------------------
;(when window-system	; start speedbar if we're using a window system
;  (speedbar t))

;--------------------frame-----------------------
;title{
;在标题栏显示buffer的名字(默认不显示)
(setq frame-title-format "[%b]")
;}

;---------------------tool-bar-mode---------------
