免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1209 | 回复: 0
打印 上一主题 下一主题

Emacs using 100% CUP BUG [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-05-17 13:44 |只看该作者 |倒序浏览

                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
;; 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  
  /usr/share/emacs/site-lisp/semantic/semantic-idle.el
  C-x C-c
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3272/showart_303196.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP