Hi,
I was unable to reproduce, but I investigated and found that there are
non-local exits on keypress enabled in semantic-complete-self-insert,
and that might be related. As such, I wrapped all that up with
save-excursion, and checked that into CVS. Hopefully that will solve
your problem.
Eric
On 03/23/2010 06:11 AM, Nathan Hüsken wrote:
> Hi,
>
> The bug I am posting I can unfortantly not directly reproduce. It
> happens very irregulary!
> When I type ">" or "."
> (for Example in template<class a>)
> The cursors sometimes jumps to some other location in the source,
> confusing me a lot.
> This happens not always, only sometimes ...
>
> I have enabled:
> -viper mode (maybe it has to with this, anyome using cedet with viper mode?)
> -flyspell
>
> and I load cedet like this:
> ;;cedet
> (load-file "~/emacs/cedet/common/cedet.el")
> (global-ede-mode t)
>
> (semantic-load-enable-excessive-code-helpers)
> (require 'semantic-ia)
>
> (require 'semantic-gcc)
>
> (defun my-cedet-hook ()
> (local-set-key [(control return)] 'semantic-ia-complete-symbol)
> (local-set-key "\C-c?" 'semantic-ia-complete-symbol-menu)
> (local-set-key "\C-c>" 'semantic-complete-analyze-inline)
> (local-set-key "." 'semantic-complete-self-insert)
> (local-set-key ">" 'semantic-complete-self-insert)
> (local-set-key "\C-cp" 'semantic-analyze-proto-impl-toggle))
> (add-hook 'c-mode-common-hook 'my-cedet-hook)
>
> ;;cedet projects
> (ede-cpp-root-project "laSvm"
> :name "laSvm Online SVM"
> :file "~/lasvm-neu/CMakeLists.txt"
> :include-path '("/"
> )
> :spp-table '(("isUnix" . "")
> ("BOOST_TEST_DYN_LINK" . "")))
>
> Anyone any Idea?
>
> Thanks!
> Nathan
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> cedet-semantic mailing list
> cedet-semantic@...
> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>
|