Re: How to stop the cursor from entering the Methods window?

"Jai Dayal" <[email protected]> Mon, 18 Jul 2011 11:01:06 -0600
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
Perhaps thoise 4 "Cannot open load file:"  errors are the root of the 
problem?

How to fix those errors?

On 07/18/2011 10:41 AM, Jai Dayal wrote:
> It happens with small header files with 1 or 2 structs.  It also happens
> with larger ones.
>
> It doesn't happen to .c files.
>
> Emacs version: 23.3.1 on this machine (I'll check my mac when I'm home
> from work)
>
> Here's the output:
>
> ("emacs" "tx_client.cpp")
> Loading /ascldap/users/jdayal/cedet-1.0/common/cedet.el (source)...
> Setting up CEDET packages...
> Cannot open load file: srecode-loaddefs
> Cannot open load file: ede-loaddefs
> Cannot open load file: cogre-loaddefs
> Cannot open load file: contrib-loaddefs
> Setting up CEDET packages...done
> Loading /ascldap/users/jdayal/cedet-1.0/common/cedet.el (source)...done
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Loading semanticdb-file...done
> Loading vc-git...done [3 times]
> ECB 2.40 uses CEDET 1.0 (contains semantic 2.0, eieio 1.3, speedbar 1.0.3).
> All requirements for ECB 2.40 fulfilled - Enjoy it!
> The ECB is now activated.
> There are no NEWS to display.
> Loading /ascldap/users/jdayal/.ecb-tip-of-day.el (source)...done
> ECB - Tip of the day Customize with
> `ecb-compile-window-temporally-enlarge' the situations the
> compile-window is allowed to enlarge. [4 times]
> Quit [2 times]
> Mark set
> Making completion list...
> Debug on Error enabled globally
> Making completion list... [2 times]
> The ECB is now deactivated.
>
>
> On 07/18/2011 03:03 AM, Dmitry Gutov wrote:
>> Do you see anything new in *Messages* when that happens?
>> If something throws, do 'M-x toggle-debug-on-error' and repeat the
>> action to see the stack trace.
>>
>> Does that happen with all header files? Does that also happen with .c
>> files that have struct declarations?
>>
>> Have you tried creating a small .h file outside of your project tree
>> with one or two declaration, does it have that problem?
>>
>> What version of Emacs are you using?
>>
>> On 18.07.2011 10:05, Dayal, Jai wrote:
>>> I tried that with everything except CEDET and ECB disabled.  I'm at a
>>> loss.
>>>
>>> I have tried this on 2 machines now.  I have cedet 1.0 and ECB 2.40.
>>>
>>> It makes editing structs quite difficult.
>>> ________________________________________
>>> From: Dmitry Gutov [[email protected]]
>>> Sent: Saturday, July 16, 2011 2:56 PM
>>> To: [email protected]
>>> Subject: Re: [ECB-list] How to stop the cursor from entering the
>>> Methods window?
>>>
>>> Hi!
>>>
>>> On 16.07.2011 0:27, Jai Dayal wrote:
>>>>   Hi,
>>>>       When I have a header file open, and I scroll through it, when the
>>>>   cursor enters a struct, the cursor automatically jumps to the methods
>>>>   window.  This makes it very hard, almost impossible, to edit the
>>> struct
>>>>   with ECB activated.  How do I stop this from happening?  If it
>>> can't be
>>>>   stopped, how do I edit structs?
>>> That doesn't happen on my machine. I don't know too much about ECB's
>>> internals, but it sounds like something blows up when it moves the
>>> "current method" indicator in the methods window, and so ECB forgets to
>>> return the focus to the proper window.
>>>
>>> Does anything appear in *Messages* buffer when that happens?
>>> Did you try disabling everything in you init.el, except ECB?
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> 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
>>> _______________________________________________
>>> Ecb-list mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/ecb-list
>>>
>>>
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> 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
> _______________________________________________
> Ecb-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ecb-list
>



------------------------------------------------------------------------------
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