Re: Fwd: I released the refactoring tool
Lluís <[email protected]> Thu, 19 Feb 2015 16:45:26 +0100
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
Eric Ludlam writes: > On 02/17/2015 09:23 AM, Lluís wrote: >> I have not investigated the root, but while developing code for the Linux kernel >> or QEMU, I often have to disable many of semantic's features (all those >> appearing on the Development menu) or otherwise emacs eats up all my cpu. Also, >> sometimes I want to kill some large buffer to keep the semantic memory footprint >> low (it generated lots of tags, either directly or through includes), but I just >> cannot (I think semantic takes a lot of time to serialize its information to the >> disk). > Hi Lluis, > When working on large code bases where you want some of the features, but are ok > not using the features that require all the headers parsed, you can do this: > ;; Don't load or save files to disk during this session. > (setq-default semanticdb-new-database-class 'semanticdb-project-database) > ;; Force DB searches to do without system headers, or loading files > ;; not currently in memory. > (setq-default semanticdb-find-default-throttle '(local project)) > This should get you going without disabling semantic completely. > Perhaps these concepts should be canned so someone can just say "I want this > project to only have lite weight support for Semantic." Hmmm, interesting. I don't have time this week, but I'll try these eventually. Could they be moved into generic project properties? This way every project can tune these to their needs. I could then change the linux project to set them "properly" by default. Even more, if we ever have a way to store a per-project properties file (like: edit project, change settings, save to project's root), having these as project properties would be a win. Thanks, Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Cedet-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cedet-devel