Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emacs-cvs with jde using 100% processor [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
--D_S--
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 90
Location: Guatemala

PostPosted: Tue Sep 26, 2006 1:57 am    Post subject: emacs-cvs with jde using 100% processor [Solved] Reply with quote

Hi

This is somewat urgent. Since an update on saturday emacs is using all my processor when loading a java soucecode file, and still uses it after closing the java file. The strage part is it starts with jde but I was using it before.

On saturday I needed some space on my root so I emerge -uDN world, depcleaned and revdeprebuilded my system. I have reemerged everything I could think of but still.

Thanks.
_________________

Athlon Xp 2400+


Last edited by --D_S-- on Thu Oct 05, 2006 2:24 am; edited 1 time in total
Back to top
View user's profile Send private message
jcornez
Apprentice
Apprentice


Joined: 12 Jan 2006
Posts: 201
Location: Spain

PostPosted: Tue Sep 26, 2006 7:34 am    Post subject: Reply with quote

I've also noticed that emacs-cvs-23 is a CPU resource hog. I'm not doing anything with JDE, so that probably isn't part of the problem. For now, I'm just running emacs with nice - so it still chews up huge chunks of cpu time, but not in a way that bothers much else. The stable (non cvs) emacs 21.4 seems to work fine and not be a cpu hog.
Back to top
View user's profile Send private message
--D_S--
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 90
Location: Guatemala

PostPosted: Thu Sep 28, 2006 12:07 am    Post subject: Reply with quote

Hi

I'm using emacs-cvs-22.0.50-r3 and jde-2.3.5.1.

Emacs itself is now causing trouble the trouble is when I start jde by loading a java file emacs starts tu use all the processing power and slows down the system the worst is that the cpu heats to 55+ C degrees.

The trouble started after the update on saturday since then I have been working in the university.

I will report anything I find but for now I'll be working in the project if my cpu douesn't burn.

Thanks.
_________________

Athlon Xp 2400+
Back to top
View user's profile Send private message
--D_S--
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 90
Location: Guatemala

PostPosted: Thu Sep 28, 2006 4:56 am    Post subject: Reply with quote

If beeing used emacs reduces the processor consumption but when idle it uses 100%.

already tried in text mode with X with other and new java files recompiling every jde version.

processor at 58C.
_________________

Athlon Xp 2400+
Back to top
View user's profile Send private message
mkennedy
Retired Dev
Retired Dev


Joined: 30 May 2002
Posts: 35
Location: Texas

PostPosted: Fri Sep 29, 2006 5:16 am    Post subject: Reply with quote

There are problems with JDE on emacs from cvs, and that includes the unicode branch. Try emacs-21 with jde.
_________________
Bugs go in Bugzilla!
Back to top
View user's profile Send private message
--D_S--
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 90
Location: Guatemala

PostPosted: Wed Oct 04, 2006 4:22 am    Post subject: Reply with quote

Hi

I found out that jde was not the problem it's emacs when loading a java sourcecode file.

I unmerged jde to work with emacs' defaults and to my surprise it started the problem so it is a emacs problem.

Which is the best place to report this?

I can use emacs with auctex without problems also plain text files and c++ sourcecode.
_________________

Athlon Xp 2400+
Back to top
View user's profile Send private message
jcornez
Apprentice
Apprentice


Joined: 12 Jan 2006
Posts: 201
Location: Spain

PostPosted: Wed Oct 04, 2006 10:49 am    Post subject: Reply with quote

The problem is mentioned here http://emacswiki.org/cgi-bin/wiki/XftGnuEmacs
The place for bugs is probably here http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Back to top
View user's profile Send private message
jcornez
Apprentice
Apprentice


Joined: 12 Jan 2006
Posts: 201
Location: Spain

PostPosted: Wed Oct 04, 2006 11:18 am    Post subject: Reply with quote

In particular, this change http://cedet.cvs.sourceforge.net/cedet/cedet/semantic/semantic-idle.el?r1=1.34&r2=1.35
Mentioned in this message http://lists.gnu.org/archive/html/emacs-pretest-bug/2006-10/msg00016.html
seems to fix the problem.

Simply edit the file /usr/share/emacs/site-lisp/cedet/semantic/semantic-idle.el according the the diff above, then...
Code:
sudo emacs -nw -q
M-x byte-compile-file <ret> /usr/share/emacs/site-lisp/cedet/semantic/semantic-idle.el
C-x C-c


Then restart emacs as your normal user and it should be fine.
Back to top
View user's profile Send private message
--D_S--
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 90
Location: Guatemala

PostPosted: Thu Oct 05, 2006 2:23 am    Post subject: Reply with quote

Thanks a lot now it works fine.
_________________

Athlon Xp 2400+
Back to top
View user's profile Send private message
ilm
Guru
Guru


Joined: 29 Jun 2006
Posts: 310
Location: Brisbane, Australia

PostPosted: Sat Jan 20, 2007 12:44 pm    Post subject: Reply with quote

Is this still a problem with emacs-cvs (i.e. does semantic-idle.el still need to be patched manually)?

I've been thinking of going from emacs to emacs-cvs, but I still need to use JDE, and don't particularly want to keep two versions of emacs on my system.

Also, apart from gtk support, are there any other major advantages of emacs-cvs to normal emacs?
Back to top
View user's profile Send private message
--D_S--
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 90
Location: Guatemala

PostPosted: Sun Jan 21, 2007 1:20 am    Post subject: Reply with quote

This was for emacs 22.0.50 but could be fixed with the above suggestions.

Emacs 22.0.92 is working fine and you can keep previous versions of emacs and use them by appending the version.
_________________

Athlon Xp 2400+
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum