[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs from cvs eat my processor on linux
From: |
Tassilo Horn |
Subject: |
Re: emacs from cvs eat my processor on linux |
Date: |
Wed, 18 Oct 2006 15:48:07 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
LENNART BORGMAN <address@hidden> writes:
Hi Lennart,
> Thanks Tassilo, I have tested with the version of semantic-idle.el
> that you sent me, but I still get 100% CPU in Emacs.
Sorry, I cannot reproduce it. Did you say that not loading cedet fixes
the bug? If yes, then it may have something to do with two patches my
distribution applies to cedet-1.0_pre3.
--8<---------------cut here---------------start------------->8---
diff -ur cedet-1.0pre3.orig/eieio/eieio-tests.el
cedet-1.0pre3/eieio/eieio-tests.el
--- cedet-1.0pre3.orig/eieio/eieio-tests.el 2005-06-29 22:08:02.000000000
-0500
+++ cedet-1.0pre3/eieio/eieio-tests.el 2006-05-15 11:28:22.000000000 -0500
@@ -469,8 +469,9 @@
;;; Test function type in a class
;;
-(defvar class-typep-var 0
- "A variable used in an initform.")
+(eval-when-compile
+ (defvar class-typep-var 0
+ "A variable used in an initform."))
(setq class-typep-var 1)
--8<---------------cut here---------------end--------------->8---
and
--8<---------------cut here---------------start------------->8---
--- cedet-1.0pre3/speedbar/sb-info.el 2005-06-30 05:08:02.000000000 +0200
+++ cedet-1.0pre3/speedbar/sb-infonew.el 2006-06-27 14:43:32.000000000
+0200
@@ -249,7 +249,7 @@
;;; Overriding preinstalled code.
;;;###autoload
-(eval-after-load "info" '(require 'sb-info))
-
(provide 'sb-info)
+
+(eval-after-load "info" '(require 'sb-info))
;;; sb-info.el ends here
--8<---------------cut here---------------end--------------->8---
These two patches applied to cedet-1.0_pre3 + the semantic-idle.el I've
sent you should give the exact version I'm working with here without
problems.
If the bug occurs without loading cedet at all, it is caused by another
package...
Bye,
Tassilo
--
"Emacs is not a development tool but a way of life."
- David Kastrup in alt.religion.emacs -