Re: Fwd: I released the refactoring tool
Eric Ludlam <[email protected]> Tue, 17 Feb 2015 19:43:37 -0500
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
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." Eric ------------------------------------------------------------------------------ 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