Emacs using 100% CUP BUG
时间:2007-05-17 来源:sleep_meng
emacs using 100% cpu bug fix for cedet.
Next, start up, as root, a new emacs and byte compile the package:
--- 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 |
相关阅读 更多 +
排行榜 更多 +