[cedet-semantic] completion with dropdown menu
Brought to you by:
zappo
From: Mandar M. <man...@gm...> - 2010-08-29 17:59:18
|
Hello, I'm using cedet-1.0. I've been trying to set up my .emacs to get the kind of completion shown in the images on the CEDET smart completion page (http://cedet.sourceforge.net/intellisense.shtml) and Alex Ott's Gentle Introduction page. As suggested, I have included the following lines: (local-set-key "." 'semantic-complete-self-insert) (local-set-key ">" 'semantic-complete-self-insert)) When I use semantic-displayor-traditional, things work fine and on typing . or >, I get a *Completions* buffer in which I can choose a completion. But if I do the following in custom-set-variables: '(semantic-complete-inline-analyzer-displayor-class (quote semantic-displayor-tooltip)) I get the following message: Bug Showing Completions: (wrong-type-argument consp nil) What I really want is semantic-ia-complete-symbol-menu, but without invoking it via an explicit keybinding. Digging around some more I found the following snippet '(semantic-self-insert-show-completion-function (lambda nil (semantic-ia-complete-symbol-menu (point)))) in http://github.com/alexott/emacs-configs/blob/master/rc/emacs-rc-cedet.el. But this variable doesn't seem to be defined anywhere in the cedet-1.0 sources. Is this a regression? I guess I could mess around with semantic-complete-self-insert, in semantic-complete.el but I'd rather not do something adhoc. I'd be grateful for any suggestions. Thanks, Mandar. |