簡體   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