转自:http://blog.csdn.net/schumyxp/article/details/2278268 emacs的配置文件,叫作.emacs,是个隐藏文件,存在于当前用户的根目录下面,也就是~/.emacs emacs的配置文件采用了elisp作为配置文件的语言,来源于强大的lisp语言.下面我简单说一点emacs配置文件怎么写.虽然内容不多,也很肤浅,但是知道了这些,至少在编写自己的配置文件的时候,不会那么无序了. 在配置文件里面,引号(;)开头表示注释,比如下面这行; this
windows ~/.emacs (when (>= emacs-major-version 24) (require 'package) (add-to-list 'package-archives ;; '("melpa" . "http://stable.melpa.org/packages/") ; many packages won't show if using stable '("melpa" . "http://m
;;tab and space;;when true,emacs use mixture of tab and space to archieve(setq-default indent-tabs-mode nil);;control length used to offset.(setq-default c-basic-offset 4);;control how emacs explain TAB(setq-default tab-width 4) ;;setup line number(g
(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(tool-ba