Re: [cedet-semantic] why semantic cannot popup ia-completion menu in my emacs22?
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2007-12-14 21:16:58
|
Hi, One likely change is that the ia completion menu will try to use senator get completions if it can't find any the usual way. A way to debug is in a situation with no menu, use: M-x semantic-analyze-possible-completions RET if that list is empty, then something changed in the analyzer which has changed a lot. If it is full, then it is likely to be a menu display problem instead. Your setup below looks fine to me, though the "setq" for "turn-everything-on" is no longer needed since you now call the function `semaentic-load-enabel...' Eric >Hi, >I have installed cedet 1.0 pre 4 and emacs22. I want to popup a >ia-completion-symbol-menu for functions declared in /usr/inclde/*.h , >eg. printf. It works fine with cedet 1.0 pre3 and emacs21. But I >cannot >make it work with cedet1.0 pre4. >My .emacs is : >(setq semantic-load-turn-everything-on t) >(setq semanticdb-search-system-databases t) >(require 'cedet) >(semantic-load-enable-excessive-code-helpers) >(setq-mode-local c-mode >semanticdb-find-default-throttle >'(project unloaded system recursive)) >(semantic-add-system-include "/usr/include" 'c-mode) > >And I have run sematicdb-create-system-database in /usr/include. >Is there anything wrong in my .emacs? Any solution? >Thanks -- Eric Ludlam: za...@gn..., er...@si... Home: http://www.ludlam.net Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |