RE: [CEDET-devel] ECB/CEDET question
Brought to you by:
zappo
From: Oviedo, J. <j-o...@ti...> - 2004-10-25 14:29:05
|
Okay. I will look into this. Thanks!=20 ------------- Javier =20 -----Original Message----- From: er...@si... [mailto:er...@si...]=20 Sent: Friday, October 22, 2004 2:50 PM To: Oviedo, Javier Cc: kla...@sd...; ecb...@li...; ced...@li... Subject: Re: [CEDET-devel] ECB/CEDET question On Fri, 22 Oct 2004 10:28:06 -0500, "Oviedo, Javier" wrote: > Hello all. I'm not sure exactly which group to post this to, so I=20 > thought I'd let you all decide. >=20 > I'm using the latest ECB/CEDET with emacs 21.3. >=20 > I have this INCREDIBLY, RIDICULOUSLY HUGE header file that I must=20 > often open in emacs. It is the main API for our entire software architecture. > This thing is so BIG that it makes it impossible to use EBC/CEDET=20 > because emacs gets really, REALLY slow. Presumably, semantic is=20 > parsing and/or doing some processing when I move the cursor around. >=20 > The way I see it, there are two options in getting around this problem: >=20 > 1. deactivate ecb, which in turn turns off semantic. > 2. leave ecb activated, but somehow tell semantic not to parse (or do=20 > whatever it does) this file when it is opened and visited in emacs. >=20 > Out of these two choices, I would prefer number two because I find it=20 > very annoying to deactivate then reactivate ecb every time I visit and > leave the file. >=20 > How can I accomplish the second choice? Hopefully I did not missing=20 > anything to terribly obvious in the documentation. >=20 > Is there another solution to my problem? Please feel free to chime in. >=20 > Thanks a lot guys! Check out the help for semantic--before-fetch-tags-hook. It should be possible to write a hook that detects your mondo-header and returns nil. It should also be possible to allow this header to be parsed once, saved, then used via the semanticdb calls for all future use, and disabled for small updates. Eric |