文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Emacs using 100% CUP BUG

Emacs using 100% CUP BUG

时间:2007-05-17  来源:sleep_meng

emacs using 100% cpu bug fix for cedet.

--- semantic-idle.el 2005/09/30 20:20:43 1.34
+++ semantic-idle.el 2006/09/12 01:16:12 1.35
@@ -1,10 +1,10 @@
;;; semantic-idle.el --- Schedule parsing tasks in idle time

-;;; Copyright (C) 2003, 2004, 2005 Eric M. Ludlam
+;;; Copyright (C) 2003, 2004, 2005, 2006 Eric M. Ludlam

;; Author: Eric M. Ludlam <[email protected]>
;; Keywords: syntax
-;; X-RCS: $Id: semantic-idle.el,v 1.34 2005/09/30 20:20:43 zappo Exp $
+;; X-RCS: $Id: semantic-idle.el,v 1.35 2006/09/12 01:16:12 zappo Exp $

;; This file is not part of GNU Emacs.

@@ -286,12 +286,9 @@
(when (zerop (recursion-depth))
(unwind-protect
(semantic-safe "idle error: %S"
- ;; Disable the auto parse timer while re-parsing
- (semantic-idle-scheduler-kill-timer)
;; Handle re-parsing and other scheduled services
(save-match-data (semantic-idle-core-handler)))
- ;; Enable again the auto parse timer
- (semantic-idle-scheduler-setup-timer))))
+ )))

;;; REPARSING
;;

Next, start up, as root, a new emacs and byte compile the package:

$ sudo emacs -nw -q
M-x byte-compile-file <ret>
/usr/share/emacs/site-lisp/semantic/semantic-idle.el
C-x C-c
相关阅读 更多 +
排行榜 更多 +
寂静岭4游戏手机版下载

寂静岭4游戏手机版下载

冒险解谜 下载
eden手机汉化版下载

eden手机汉化版下载

角色扮演 下载
伊甸园galgame游戏下载

伊甸园galgame游戏下载

角色扮演 下载