LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1114|回复: 6

emacs的问题,请各位指教

[复制链接]
发表于 2004-8-15 19:33:43 | 显示全部楼层 |阅读模式
想让emacs实现语法自动加亮
可是找不到.emacs这个文件
谁能帮我
----------------
系统:hiweed linux
          emacs21
发表于 2004-8-15 19:41:53 | 显示全部楼层
新建一个 ~/.emacs 文件,然后把

  1. (global-font-lock-mode t)
复制代码

加入它
发表于 2004-8-15 19:44:39 | 显示全部楼层
Select the sytax highlight in the menu of emacs and save it.
 楼主| 发表于 2004-8-15 20:00:02 | 显示全部楼层
谢谢两位的指点
发表于 2004-9-14 13:24:02 | 显示全部楼层
大家的.emacs文件都是自己建的吗?
发表于 2004-9-14 13:54:05 | 显示全部楼层
you can create it by yourself or use the menu to configure your emacs and save it.
发表于 2004-9-14 17:41:03 | 显示全部楼层
自己写一个丰富的适合自己的.emacs是个不小的挑战,需要懂一些elisp(lisp variant)
所以我就在网上down一个,自己做一些适合自己的小的改动,
你知道这个文件可以写到很长,甚至写作n个文件.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表