Oh yes... I'm using:
 
GNU Emacs 21.3.50.8 (i386-mingw-nt5.1.2600) of 2003-12-28 on SERVER
 
cedet beta3b
 
ecb 2.25
 
Thanks.
 
 

 -------------
 Javier
 

-----Original Message-----
From: Oviedo, Javier [mailto:joviedo@telogy.com]
Sent: Thursday, August 12, 2004 9:30 AM
To: 'david.ponce@wanadoo.fr'
Cc: cedet-devel@lists.sourceforge.net
Subject: RE: [CEDET-devel] Method Buffer Going Blank with ECB

Good morning, David.

This problem still happens with global-font-lock disabled. Also, setting the debug on error to true did not produce anything. I'm not certain if this is an "error", but more of an unintended side effect.

I have narrowed down the issue to the (set-buffer (find-file-noselect file)) line in semanticdb-file-table-object but can't figure out why doing a find-file-noselect (of the #include files) would cause the ECB methods buffer to blank out. When I comment out this find-file-no-select, the problem goes away. It obviously has something to do with loading the #include files and then parsing them. In the same function if I leave in the find-file-noselect but instead comment out the kill-buffer, then the problem happens only once. After that, I see the header file as a buffer in the buffer list(since it was never killed) and I am able to move around the file freely without the methods buffer from going blank. It seems that the initial tags parsing of the include file, by semantic, is doing something.

I know you guys are very busy and I appreciate your time and efforts. Thanks!


 -------------
 Javier
 



-----Original Message-----
From: David PONCE [mailto:david.ponce@wanadoo.fr]
Sent: Thursday, August 12, 2004 6:54 AM
To: joviedo@telogy.com
Cc: cedet-devel@lists.sourceforge.net
Subject: Re: [CEDET-devel] Method Buffer Going Blank with ECB


Hi,

> There weren't any responses to the mail below so I'm probing again to
> see if anyone has any thoughts.
[...]

Sorry for this late reply.  As Klaus, I lack free time for now :-(

> I have narrowed down the issue to the (set-buffer (find-file-noselect
> file)) line in semanticdb-file-table-object but can't figure out why
> doing a find-file-noselect (of the #include files) would cause the ECB
> methods buffer to blank out.
[...]

> I can cause the methods buffer to go blank by putting the cursor on
> any non-whitespace character/word in javier.c, other than "int". When
> I move the cursor off "int" and onto "tulong", "isrTimerLastTime",
> "siuMIPSTotalCycles", or "siuMIPSIsrCycles" the cursor will sit there
> for about .5 to 1 second and then the methods buffer goes blank. Even
> if I put it on the #include it happens. If I have the *Message* buffer
> open in another window as I put the cursor in a "non-safe" place, I
> see the
> following:
>
> Fontifying siutimerCnst.h... (regexps.......................)
>
> The methods buffer goes blank directly following this message printing
> out!!

To be sure it is not a problem with font-lock, could you globally disable font-lock, and try again your test case? It could be useful too to turn on debug mode (setq debug-on-error t).

Also could you tell us what version of [X]Emacs you are using?

Thanks!
David

------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Cedet-devel mailing list Cedet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cedet-devel