On Fri, Apr 9, 2010 at 3:17 AM, Eric M. Ludlam <email@example.com>
You certainly have the right idea, but are running into some other kind of problem. What version of CEDET are you using?
On 04/08/2010 06:26 PM, Wei Li wrote:
I am trying to setup CEDET's smart completion. However, when I try to
bind the semantic-ia-complete-symbol-menu and use it, it shows "Wrong
type argument: syntax-table-p, nil". How is this function working? I
thought it means that if I type partial name of e.g. a function and
trigger this binding it will show the matching items in a menu (and I
remember I saw such functionality on somebody's machine). I tried search
the web but got no luck. Is there anything else I need to set? Here is
(define-key c-mode-base-map [(meta ?/)] 'semantic-ia-complete-symbol-menu)
And of course, the above command is within my hook definition added to
c-mode-common-hook. Any help will be appreciated.
If you enable:
M-x toggle-debug-on-error RET
it will produce a stack trace which will help reveal what is going on.