繁体   English   中英

在emacs 24.3上避免CEDET 2.0 for CEDET 1.1

[英]Avoid CEDET 2.0 for CEDET 1.1 on emacs 24.3

我试图在emacs上安装cedet 1.1,但是当我初始化ceet时会发生此错误。 如何卸载CEDET版本2.0和CEDET 1.1? 我使用Ubuntu 12.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)

您只需要在Emacs初始化文件中将CEDET 1.1作为第一个软件包加载-在加载任何软件包之前。 请注意,在某些Linux上,已加载了一些系统范围的软件包,并且可以在加载初始化文件之前加载CEDET 2.0。

您可以尝试查找CEDET 2.0的等效功能,而不是使用旧版本的CEDET。

我认为在这种情况下,这是一个变化的问题

(require 'semantic-make)

(require 'semantic/bovine/make)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM