Re: [cedet-semantic] Getting semantic to work properly
Brought to you by:
zappo
From: Bruce S. <bru...@ce...> - 2005-02-09 19:40:41
|
"Eric M. Ludlam" <er...@si...> writes: [...] > I've updated the patch (below) for storing the unknown dependency > file also. It would probably be important to time it. I suspect > that it is irrelevant for short include paths, and important for > long ones. Yeah, now I come to think of it an unfound file probably indicates a problem with the include path, so a better response might be to indicate an error somehow. (I've no reason to think that that happened in my configuration: I think all the files were found.) [...] > The analyzer (semantic-analyzer.el) will take its analysis result, and > cache it over the calculated region. See > `semantic-analyze-current-context' help, and > `semantic-cache-data-to-buffer' help for the mechanism. As these > results are large, they are discarded when the cursor moves out of the > specified symbol region. Since that is what you spend most of your > time doing while editing, I am not surprised it is not caching much. That all seems like the right thing to do. I was thinking of unselected buffers mostly (if they're being decorated or parsed or whatever), an idle service could (once it has finished) set a buffer-local variable containing the value of buffer-modified-tick and point. But maybe that's just not where significant work is being done. (Someone would need to profile and find out.) [...] |