Re: [cedet-semantic] Completion-UI support for Semantic
Brought to you by:
zappo
From: Toby C. <ts...@ca...> - 2008-10-14 06:51:05
|
Hi, There's little more I can add. "No tags table loaded" is not a completion-UI error message (grep the code if you don't believe me), so something else is responsible. And I can't reproduce this problem. I still suspect there's something not quite configured right in your buffer. If the code is throwing a lisp error (rather than just printing a message), you could `toggle-debug-on-error', repeat the steps that produce the error, and look at the backtrace to show you the function calls that caused the error. I still expect that it's one of the Semantic functions, but this would confirm it. Otherwise, you could edebug the completion-UI Semantic support code, and step through it to figure out where the problem occurs. If you still can't figure out what's going on, you could send me (off list) the contents of the backtrace, or details of the results of stepping through the code. > I'm sure semantic worked for me, as i can use company-mode properly and > semantic-ia-complete-symbol-menu to pop up a menu of completions. Company mode's Semantic support code is very, very similar to the completion-UI support code...except that it's surrounded by "(ignore-errors...)". So the fact that company-mode works doesn't tell me much :) The fact that `semantic-ia-complete-symbol-menu' works does seem to indicate that Semantic is correctly enabled, but I'm not familiar enough with Semantic to know what's going on without being able to reproduce the error myself... > what's more, i think allowing users to re-bind the function of M-TAB with > other keys will be more flexible since some users may use M-TAB to switch > between windows. Errmmmm...did you look at completion-UI? I know it's not documented very well, but it does most things in the conventional Emacs way...including binding keys in keymaps (imaginatively called `completion-map' etc.) which can be rebound to your heart's content. Moreover, M-/ is bound to the same command as M-TAB, for precisely the reason you cite. Toby >> Hi, >> >> bread wrote: >>> I tried M-TAB after M-x completion-setup-semantic , but i was told that >> "No >>> tags table loaded; Try M-x visit-tag-table"$B!#(B >> This is a CEDET error message, so has nothing to do with completion-UI. >> It sounds like you haven't enabled Semantic in the buffer. I'm not a >> Semantic expert, but you'll probably want to enable >> `semantic-idle-scheduler-mode' at least. >> >> If it still doesn't work, try getting Semantic to work in the buffer >> first, before trying to enable completion-UI. I recommend reading the >> INSTALL file that accompanies CEDET carefully... >> >> HTH, >> >> Toby >> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > cedet-semantic mailing list > ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic |