emacs23启动后,狂占cpu!!
发表于 : 2006-09-13 9:13
大家有没有这个现象??
发现是ecb这个插件的问题, 启动load ecb后,打开一个文件,cpu占用90%以上,而且频率也达到最高。
而不装载ecb就没有这个问题。
发现是ecb这个插件的问题, 启动load ecb后,打开一个文件,cpu占用90%以上,而且频率也达到最高。
而不装载ecb就没有这个问题。
代码: 全选
(setq semantic-idle-scheduler-idle-time 1000000)
Re[1]: Update Tag Table messages
From: Eric M. Ludlam <eric <at> siege-engine.com>
Subject: Re[1]: Update Tag Table messages
Newsgroups: gmane.emacs.jdee
Date: 2005-03-02 20:03:39 GMT
>>> Joseph Shraibman <jks <at> selectacast.net> seems to think that:
>I am being driven mad by these "Update Tag Table" messages that semantic
>is giving me. Whenever this happens emacs freezes on me for a few
>seconds. How can I turn this off?
>
You can either increase the idle time via
semantic-idle-scheduler-idle-time or you can disable
global-semantic-idle-scheduler-mode.
The advantage of the idle scheduler is that it provides tag summaries
and some completion features. The disadvantage is the amount of time
it may take to parse a file. If you don't use those, you can postpone
tag updates till you request some action from semantic via some other
mechanism.
It is supposed to be possible to interrupt the incremental parsing
mechanism by just pressing a key. It is unclear to me why this would
not work for you. There are atomic operations that it doesn't work
in, but I thought those were all pretty short.
Eric