Okay, I got it. Below is what I have in my stripped down .emacs file. There is literally nothing else but what you see below.
 
With (setq semantic-load-turn-useful-things-on t) commented out, I do not see the methods buffer clear. However, when I uncomment this, the problem happens!! I believe that there was some one on an earlier thread (either in the ecb mailing list or the cedet mailing list) that mentioned that turning this on caused this sort of behavior.
Thoughts?
 
 
 
;;; BEGIN .EMACS FILE
 
(defconst joviedo-emacs-version "21_3-cvs-12_28_2003")
(defconst joviedo-dot-emacs (concat "_emacs" joviedo-emacs-version))
(defconst joviedo-site-lisp (concat "C:/data/joviedo/Emacs/site-lisp_"
                                    joviedo-emacs-version))
;;; ECB Related paths and versions.
(defconst joviedo-ecb-version "ecb-snap-08-13-2004/")
;; (defconst joviedo-ecb-version "ecb-2.26")
(defconst joviedo-ecb-dir (concat joviedo-site-lisp "/ECB/"))
(defconst joviedo-ecb-path (concat joviedo-ecb-dir joviedo-ecb-version))
 
(defconst joviedo-cedet-version "cedet-1.0beta3b")
(defconst joviedo-cedet-dir (concat joviedo-site-lisp "/CEDET/"))
(defconst joviedo-cedet-path (concat joviedo-cedet-dir joviedo-cedet-version))
;;; ECB load path
(setq load-path (cons joviedo-ecb-path load-path))
(setq load-path (cons joviedo-cedet-path load-path))
 
;; (setq semantic-load-turn-useful-things-on t)
(load-file (expand-file-name "common/cedet.el" joviedo-cedet-path))
 
(require 'ecb-autoloads)
(ecb-activate)
;;; END .EMACS FILE
 
 

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

-----Original Message-----
From: Berndl, Klaus [mailto:klaus.berndl@sdm.de]
Sent: Friday, August 13, 2004 8:38 AM
To: 'Oviedo, Javier'; 'david.ponce@wanadoo.fr'
Cc: cedet-devel@lists.sourceforge.net
Subject: RE: [CEDET-devel] Method Buffer Going Blank with ECB

Hi,
 
could you please send us also the setup you start Emacs - or more precisely: Could you please reduce your Emacs-setup (.emacs etc.) to a minimum setup (which loads only cedet and ecb) which lets you reproduce you the problem and then send us your Emacs-setup so we can reproduce it too?
 
With my setup i can not reproduce it!
 
Ciao,
Klaus
 
-----Original Message-----
From: cedet-devel-admin@lists.sourceforge.net [mailto:cedet-devel-admin@lists.sourceforge.net] On Behalf Of Oviedo, Javier
Sent: Thursday, August 12, 2004 3:30 PM
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