win7 gnu-emacs 主题配置

1.首先去下载主题包:http://download.savannah.gnu.org/releases/color-theme/

注:下载.zip结尾的文件。

2.在C:\Users\用户名\AppData\Roaming\.emacs.d下创建文件夹plugins

(注:用户名对应你的计算机用户名)

3.将color-theme-6.6.0.zip解压得到的文件夹color-theme-6.6.0放到plugins下。

4.打开runemacs.exe ,按 c-x c-f ~/.emacs

5.打开.emacs之后,将如下复制进去:

(setq load-path (append load-path (list "~/.emacs.d/plugins")))
(setq load-path (append load-path (list "~/.emacs.d/plugins/color-theme-6.6.0")))
(require 'color-theme)
(eval-after-load "color-theme"
'(progn
(color-theme-initialize)
(color-theme-gnome2)))

注:gnome2 为推荐主题,安装完成后可自己修改

6.复制完成后,按 c-x c-s

7.重启runemacs.exe,在菜单栏Tools里会看到Color Themes,点击就会进入主题列表,可以选择自己喜欢的主题。

posted @ 2012-07-31 19:47  arthur_d  阅读(307)  评论(0编辑  收藏  举报