Emacs的init.el文件未加载 [英] Emacs init.el file doesn't load

查看:200
本文介绍了Emacs的init.el文件未加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开emacs时,以下消息出现在 * Messages * 缓冲区和我的init.el文件(位于〜/中)中。 emacs.d / init.el )不会加载。

When I open emacs, the following messages appear in the *Messages* buffer, and my init.el file (located at ~/.emacs.d/init.el) doesn't load.

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.   

当我在cedet上搜索或查看emacs Wiki时,找不到有关cedet的任何有用信息。奇怪的是,当我使用 M-x评估缓冲区 M-x加载文件时,一切正常。 HOME 应该是,我正在运行版本 23.3.1

I can't find any helpful information about cedet when I google it or look on the emacs wiki. Oddly, when I use M-x eval-buffer or M-x load-file, everything works fine. HOME is what it should be, and I'm running version 23.3.1.

在这种情况发生之前,我一直试图让jshint与emacs一起工作,尽管我不确定这是否与所有相关 https://github.com/daleharvey/jshint-mode

I had been trying to get jshint working with emacs before this happened, though I'm not sure if that's at all relevant https://github.com/daleharvey/jshint-mode.

推荐答案

先删除〜/ .emacs 文件。有关更多详细信息,请参见 Emacs Wiki

Remove the ~/.emacs file first. See Emacs Wiki for more detail.

这篇关于Emacs的init.el文件未加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆