Re: [cedet-semantic] Cursor automatically jumps when switching between buffers
Brought to you by:
zappo
From: Liu B. <liu...@gm...> - 2011-07-13 13:21:17
|
I tried to set pulse-flag to nil and 'never but it doesn't solve the problem. Sometimes even only editing the buffer for a while will produce it. But I didn't find some specific action like jumping that absolutely makes it happen. In such situation, no highlight happens, so maybe it's not caused by the pulse library. On Tue, Jul 12, 2011 at 10:44:47PM -0400, Eric M. Ludlam wrote: > Wow, I can reproduce this easily enough. I used two buffers in > different modes to make sure it wasn't something in the completion > engine. Very subtle. > > Via commenting things out, it appears that the function > semantic-momentary-highlight-tag, and possibly the pulse library is > causing this. > > Maybe disabling pulse-flag will help? > > Eric > > > On 07/05/2011 12:19 AM, Liu Binsheng wrote: > > Hi, > > > > When I use semantic-complete-jump-local to jump in a buffer, and then > > switch to another buffer, the cursor in the new buffer automatically > > locate in some tag I previously jumped to. > > > > For example, I use semantic-complete-jump-local to jump to function a > > in file a.el, and move the cursor to another line in the same file. > > > > Then I switch to file b.el and use semantic-complete-jump-local to > > jump to function b in file b.el. > > > > Now if I switch back to file a.el, the cursor automatically locate in > > function a instead of the correct line. > > > > This behavior makes me sometimes confused because I have to relocate > > the cursor. Is it intended or configurable? > > > > I'm using the latest bzr cedet in emacs 23.3.1. > > > > I run emacs with > > > > emacs -q -l ~/.emacs.d/lisp/config/51cedet.el > > > > File ~/.emacs.d/lisp/config/51cedet.el: > > > > (add-to-list 'load-path "~/.emacs.d/lisp/cedet") > > (setq semantic-load-turn-everything-on t) > > (load-file "/home/chris/.emacs.d/lisp/cedet/common/cedet.el") > > > > I also tested with (global-semantic-mru-bookmark-mode -1). It makes no > > difference. > > > > Thanks for any help. > > > > CEDET Version: 1.1beta > > Requested File Loaded > > Package Version Version Version > > ---------------------------------------------------------- > > cedet: 1.1beta ok ok > > eieio: 1.4beta ok ok > > semantic: 2.1beta ok ok > > srecode: 1.1beta ok ok > > ede: 1.1beta ok ok > > speedbar: 1.0.4 ok ok > > cogre: 1.1beta ok Not Loaded > > cedet-contrib: 1.1beta ok Not Loaded > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > cedet-semantic mailing list > ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic -- Liu Binsheng <liu...@gm...> |