Emacs的init.el文件无法加载

21

打开Emacs后,以下信息会出现在*Messages*缓冲区中,我的init.el文件(位于~/.emacs.d/init.el)不会加载。

Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50cedet-common.el (source)...
Error while loading 50cedet-common: Cannot open load file: cedet-autogen
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...
Loading /usr/share/emacs/site-lisp/haskell-mode/haskell-site-file.el (source)...done
Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...done
Loading /etc/emacs/site-start.d/50php-elisp.el (source)...done
Loading /etc/emacs/site-start.d/51speedbar.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.   

我在谷歌和Emacs Wiki上都找不到关于cedet的有用信息。奇怪的是,当我使用M-x eval-bufferM-x load-file时,一切都正常工作。HOME也是应该的,并且我正在运行版本23.3.1

在此之前,我一直在尝试让jshint与emacs配合使用,尽管我不确定这是否相关 https://github.com/daleharvey/jshint-mode

1个回答

54

首先删除~/.emacs文件。详见Emacs Wiki了解更多详情。


2
谢谢,问题立刻得到了解决。 - Justin Blank

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接