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!
From: David PONCE [mailto:email@example.com]
Sent: Thursday, August 12, 2004 6:54 AM
Subject: Re: [CEDET-devel] Method Buffer Going Blank with ECB
> 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
> 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
> 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
> Fontifying siutimerCnst.h... (regexps.......................)
> The methods buffer goes blank directly following this message printing
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?