How I can use the Emacs Code Browser v2.40 with my fresh installed Emacs 23.2 (Debian distro)
In my init.el I have:
(semantic-mode)
(add-to-list 'load-path
"~/.emacs.d/plugins/ecb-2.40")
(require 'ecb)
When I run Emacs, I get an Error message on statrup:
File error: Cannot open load file, semantic-ctxt
I have read CEDET suite is build in from Emacs 23, so I don't have install开发者_运维知识库ed it.
This did the trick for me with 2.40:
(require 'semantic/analyze)
(provide 'semantic-analyze)
(provide 'semantic-ctxt)
(provide 'semanticdb)
(provide 'semanticdb-find)
(provide 'semanticdb-mode)
(provide 'semantic-load)
(add-to-list 'load-path "~/ecb-2.40")
(require 'ecb)
I haven't been using it for long, but the obvious features seem to work.
UPDATE: or you can just use the latest CVS snapshot, it's updated for integrated CEDET.
Many people have complained about problems with the CEDET shipped with Emacs 23.2, so I recommend you to try using the standalone CEDET distribution and see if you have the problem with it as well.
精彩评论