unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <heimdall@uni-koblenz.de>
Subject: Re: emacs from cvs eat my processor on linux
Date: Wed, 18 Oct 2006 15:48:07 +0200	[thread overview]
Message-ID: <87ods9g2g8.fsf@baldur.nicundtas.de> (raw)
In-Reply-To: 13ebd1d13e865f.13e865f13ebd1d@net.lu.se

LENNART BORGMAN <lennart.borgman.073@student.lu.se> 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 @@
 \f
 ;;; 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 -

  reply	other threads:[~2006-10-18 13:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18 10:48 emacs from cvs eat my processor on linux LENNART BORGMAN
2006-10-18 13:48 ` Tassilo Horn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-10-17 22:07 Lennart Borgman
2006-10-18  6:15 ` Tassilo Horn
2006-10-03 12:02 Alex Ott
2006-10-03 12:58 ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ods9g2g8.fsf@baldur.nicundtas.de \
    --to=heimdall@uni-koblenz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).