Re: [CEDET-devel] symbol's definition is void
Brought to you by:
zappo
From: Eric M. L. <eri...@gm...> - 2012-02-17 02:33:05
|
On 02/16/2012 03:16 PM, Jeff Kusi wrote: > HI I am new to cedet and , > > I have a fresh install of emacs23.4. When I start emacs, I am the error > "Symbol's function definition is void: > semantic-load-enable-excessive-code-helpers" > > here's how my .emacs looks > --------------------- .emacs --------------------------------------- > (require 'semantic-ia) > (semantic-ia-show-doc) > (semantic-load-enable-excessive-code-helpers) > > ;;automatic code completion on > (defun my-c-mode-cedet-hook () > (local-set-key "." 'semantic-complete-self-insert) > (local-set-key "->" 'semantic-complete-self-insert)) > (add-hook 'c-mode-common-hook 'my-c-mode-cedet-hook) > > ;; semantic command bindings for naviation and completions > (defun my-cedet-hook () > (local-set-key [(control return)] 'semantic-ia-complete-symbol) > (local-set-key "\C-c?" 'semantic-ia-complete-symbol-menu) > (local-set-key "\C-c>" 'semantic-complete-analyze-inline) > (local-set-key "\C-cp" 'semantic-analyze-proto-impl-toggle)) > (add-hook 'c-mode-common-hook 'my-cedet-hook) > ----------------------------------------------- > > Could anybody give me an idea of what's going on please? Hi, The configuration for CEDET from bzr/trunk is different than if you use the version of CEDET that comes with Emacs. To use the Emacs version, you need to enable the different tools by hand instead of using the handy "turn stuff on" functions like the enable-excessive-code-helpers you quote above. In core Emacs, things are different. I'm not actually that familiar with it. Basically, you need to enable semantic-mode, global-ede-mode, and other modes you are interested in one at a time. Eric |