新手求助--关于emacs背景

Vim、Emacs配置和使用
回复
w_crow
帖子: 4
注册时间: 2007-07-13 10:10

新手求助--关于emacs背景

#1

帖子 w_crow » 2007-07-17 19:27

在ubuntu下面装了emacs21,初来乍到,问题不少,先问两个简单的。问题可能十分白吃,请勿见笑: :D

1。emacs默认背景是白色,怎么改成黑色?

2。上面的问题如果和.emacs文件有关的话,请问那个文件在哪儿?如果自己创建应该放在那个目录下?
头像
boydd
帖子: 255
注册时间: 2007-05-10 19:42
来自: 南京, Deutschland, Karlsruhe
联系:

#2

帖子 boydd » 2007-07-19 6:21

.emacs在你的home目录下就是~/下
设置颜色添加以下这段到你的.emacs里去

;;Set the color of screen
(set-background-color "black")
(set-foreground-color "wheat")
(set-cursor-color "gold1")
(set-mouse-color "gold1")
回复