我试图在emacs上安装cedet1.1,但是当我开始使用这个错误时,就会发生这个错误。如何卸载CEDET2.0版本并加载CEDET1.1?我使用了Ubuntu12.04或Fedora 19。
Warning (initialization): An error occurred while loading `/home/robin/.emacs':
error: CEDET Version 2.0 already loaded.
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.这是我在.emacs中的初始化
(add-to-list 'load-path "~/.emacs.d/cedet-1.1/")
(load-file "~/.emacs.d/cedet-1.1/common/cedet.el")
(setq semantic-load-turn-useful-things-on t)
(global-ede-mode 1)
(global-srecode-minor-mode 1)
(semantic-mode 1)
(require 'semantic/ia)发布于 2014-07-21 06:34:13
您只需在加载任何包之前,将CEDET1.1作为Emacs初始化文件中的第一个包加载。请考虑到,在某些Linuxes上,有些系统范围的包是加载的&它们可以在加载初始化文件之前加载CEDET2.0。
发布于 2014-07-22 11:37:11
与其使用旧版本的CEDET,不如尝试为CEDET2.0找到相应的功能。
我认为在这种情况下,这是一个改变的问题。
(require 'semantic-make)
至
(require 'semantic/bovine/make)
https://stackoverflow.com/questions/24851778
复制相似问题