>>> =?ISO-8859-15?Q?Nathan_H=FCsken?= <cedet@...> seems to think that:
>In some recent mail, Eric mentioned the function
>"semantic-complete-self-insert". I tried this function, but if I run it
>the only thing happening is that some strange character (emacs displays
>it as ^M) gets inserted at the current point.
>I am not using "semantic-complete-self-insert", I just thought I mention it.
[ ... ]
My apologies for being vague. The self-insert command only really
works if you do this:
(define-key c-mode-map "." 'semantic-complete-self-insert)
or whichever major-mode you are using. It works when you then press
".", and also goes into completion mode. This can be pretty neat, or
very annoying. Visual Studio has a similar behavior.
If you just do:
M-x semantic-complete-self-insert RET
then it inserts RET (or ^M) and tries to complete whatever is after
the ^M, which would be nothing.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org