我刚刚安装了 Ubuntu 10.10.2010 的新发行版,然后安装了 emacs23,我还安装了用于颜色主题的 emacs 好东西。
我使用以下代码在我的主目录中创建了 .emacs 文件:
(require 'color-theme)
(setq color-theme-is-global t)
(color-theme-euphoria)
但它不起作用,即使(setq inhibit-startup-message t)
我创建了一个名为 .emacs.el 的新文件,也没有任何代码。安装时会生成一个名为“.emacs.d”的文件夹。我什至尝试将emacs文件放入其中,仍然没有。
现在我认为任何启动脚本都行不通。那么我应该怎么做才能知道为什么 Emacs 不读取该文件?
更新:我删除了所有的混乱文件并留下了 ~/.emacs.el 文件,现在代码是:
(setq inhibit-startup-message t)
(require 'color-theme)
(setq color-theme-is-global t)
(color-theme-euphoria)
但给出错误:警告(初始化):加载`/home/marmoush/.emacs.el'时出错:符号的函数定义无效:color-theme-euphoria