<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: General Semantic question(s)...</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Klaus,</FONT>
<BR><FONT SIZE=3D2>That did not affect my problem. With both values set =
to nil, it 9 seconds for a buffer to open and become active. That is =
quite annoying as you can well imagine. :-)</FONT></P>
<P><FONT SIZE=3D2>help...</FONT>
</P>
<P><FONT SIZE=3D2> -------------</FONT>
<BR><FONT SIZE=3D2> Javier</FONT>
<BR><FONT SIZE=3D2> </FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Berndl, Klaus [<A =
HREF=3D"mailto:klaus.berndl@...>] =
</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, June 18, 2004 9:55 AM</FONT>
<BR><FONT SIZE=3D2>To: 'Oviedo, Javier '</FONT>
<BR><FONT SIZE=3D2>Cc: 'cedet-devel@...>
<BR><FONT SIZE=3D2>Subject: RE: General Semantic question(s)...</FONT>
</P>
<BR>
<P><FONT SIZE=3D2> Do you have checke dalrteady the options</FONT>
</P>
<P><FONT SIZE=3D2>- semantic-imenu-index-directory and</FONT>
<BR><FONT SIZE=3D2>- =
semantic-imenu-auto-rebuild-directory-indexes</FONT>
</P>
<P><FONT SIZE=3D2>I have set both to nil!</FONT>
</P>
<P><FONT SIZE=3D2>But for the fact if ECB is related into this =
problem:</FONT>
<BR><FONT SIZE=3D2>Please chekc if opening such a file without ECB does =
also last so long - if semantic is the only reason for this problem - =
it should last also 5-10 sec... at least when you call =
imenu....</FONT></P>
<BR>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Oviedo, Javier</FONT>
<BR><FONT SIZE=3D2>To: Berndl, Klaus</FONT>
<BR><FONT SIZE=3D2>Sent: 18.06.2004 15:33</FONT>
<BR><FONT SIZE=3D2>Subject: FW: General Semantic question(s)...</FONT>
</P>
<P><FONT SIZE=3D2>This mail... No one responded. </FONT>
</P>
<P><FONT SIZE=3D2> ------------- </FONT>
<BR><FONT SIZE=3D2> Javier </FONT>
<BR><FONT SIZE=3D2> </FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2>-----Original Message----- </FONT>
<BR><FONT SIZE=3D2>From: Oviedo, Javier </FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, June 17, 2004 9:24 AM </FONT>
<BR><FONT SIZE=3D2>To: cedet-devel@... </FONT>
<BR><FONT SIZE=3D2>Subject: General Semantic question(s)... </FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hello all. I am still noticing some serious delay, =
from time to time, when I open a buffer with ECB enabled. I am using =
ecb 2.25 and cedet-1.0beta2b. My feeling is that this is semantic =
related, but if I'm wrong please tell me and I'll post to the ECB =
list.</FONT></P>
<P><FONT SIZE=3D2>Let me describe the serious delay issue a little =
further: </FONT>
<BR><FONT SIZE=3D2>When I open certain files in ECB mode, emacs will =
hang for 5-10 seconds. It just sits there doing something. My =
assumption is that semantic is doing some parsing, working it's =
magic....or something of the sort. This does not happen for all files =
that I open, only certain ones. When I examine the the *Message* buffer =
I see:</FONT></P>
<P><FONT SIZE=3D2>Fontifying siucsu.c... =
(regexps.......................) </FONT>
<BR><FONT SIZE=3D2>Note: file is write protected </FONT>
<BR><FONT SIZE=3D2>Loading semantic-c...done </FONT>
<BR><FONT SIZE=3D2>Mark set </FONT>
<BR><FONT SIZE=3D2>Loading semantic-tag-ls...done </FONT>
<BR><FONT SIZE=3D2>Loading semantic-decorate...done [2 times] </FONT>
<BR><FONT SIZE=3D2>Note: file is write protected [3 times] </FONT>
</P>
<P><FONT SIZE=3D2>I load siucsu.c and several semantic files get =
loaded...I guess to do the appropriate parsing and what not. Then I sit =
for 5-10 seconds before I'm able to move the cursor, click on the menu =
bar, or doing anything for that matter.</FONT></P>
<P><FONT SIZE=3D2>Every once in a while I see other messages in =
*Message* buffer other than what I have shown above (but after loading =
the C file). The messages say that emacs is Fontifying a bunch of =
header files. These header files are all #includes in the C file I just =
loaded.</FONT></P>
<P><FONT SIZE=3D2>Now some questions: </FONT>
</P>
<P><FONT SIZE=3D2>1. Should this processing be taking this long? 5-10 =
seconds? BTW, this C file I loaded is not very big at all, but the =
header files it includes are quite large! Might this be the =
culprit?</FONT></P>
<P><FONT SIZE=3D2>2. In order for these fontification messages to =
appear semantic must be loading them somehow, correct? Perhaps using =
find-file-noselect or something similar?</FONT></P>
<P><FONT SIZE=3D2>3. Am I the only person who sees this? </FONT>
</P>
<P><FONT SIZE=3D2>I would appreciate and welcome any thoughts/comments =
people have. Thanks a lot for your time. </FONT>
</P>
<P><FONT SIZE=3D2> ------------- </FONT>
<BR><FONT SIZE=3D2> Javier </FONT>
<BR><FONT SIZE=3D2> </FONT>
</P>
</BODY>
</HTML>
|