- 论坛徽章:
- 0
|
各位前辈们:
最近一直在跟着网上教程鼓捣EMACS,在装完CEDET之后继续ECB,CEDET能正常启动,能够打开speedbar,但是一启动ECB(M-x:ecb-activate)就出错。请教以下达人,帮忙解决。谢谢!
提示错误信息如下:
Loading ecb (source)...
ECB 2.40 uses CEDET 1.0pre6 (contains semantic 2.0pre6, eieio 1.2, speedbar 1.0.2).
Loading ecb (source)...done
All requirements for ECB 2.40 fulfilled - Enjoy it!
Loading cl-extra...done
The ECB is now deactivated.
let: ECB 2.40: Errors during the layout setup of ECB. (error-type: error, error-data: ("ad-set-argument: No argument at position 1 of `(&optional frame)'"))
我的.emacs文件配置如下:
;;---------------------------------------cedet-----------------------------------------------
(load-file "/user/setup/cedet/common/cedet.el");;加载cedet
(global-set-key [(f4)] 'speedbar-get-focus);;设置speedBar快捷键
;;配置semantic检索范围
(setq semanticdb-project-roots
(list
(expand-file-name "/")))
;;---------------------------------------/cedet------------------------------------------------
;;---------------------------------------ecb--------------------------------------------------
(add-to-list 'load-path "/user/setup/ecb-2.40")
;;(require 'ecb)
(require 'ecb-autoloads)
;;---------------------------------------/ecb--------------------------------------------------
我的emacs版本是22.0.50 ,cedet是1.0pre6,ecb-2.40。 |
|