Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emacs-cvs with jde using 100% processor [Solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
--D_S--
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu Jan 06, 2005 5:21 am
Location: Guatemala

emacs-cvs with jde using 100% processor [Solved]

  • Quote

Post by --D_S-- » Tue Sep 26, 2006 1:57 am

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.
Last edited by --D_S-- on Thu Oct 05, 2006 2:24 am, edited 1 time in total.

Athlon Xp 2400+
Top
jcornez
Apprentice
Apprentice
User avatar
Posts: 201
Joined: Thu Jan 12, 2006 8:51 pm
Location: Spain
Contact:
Contact jcornez
Website

  • Quote

Post by jcornez » Tue Sep 26, 2006 7:34 am

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.
Top
--D_S--
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu Jan 06, 2005 5:21 am
Location: Guatemala

  • Quote

Post by --D_S-- » Thu Sep 28, 2006 12:07 am

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+
Top
--D_S--
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu Jan 06, 2005 5:21 am
Location: Guatemala

  • Quote

Post by --D_S-- » Thu Sep 28, 2006 4:56 am

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+
Top
mkennedy
Retired Dev
Retired Dev
User avatar
Posts: 35
Joined: Thu May 30, 2002 1:46 am
Location: Texas
Contact:
Contact mkennedy
Website

  • Quote

Post by mkennedy » Fri Sep 29, 2006 5:16 am

There are problems with JDE on emacs from cvs, and that includes the unicode branch. Try emacs-21 with jde.
Bugs go in Bugzilla!
Top
--D_S--
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu Jan 06, 2005 5:21 am
Location: Guatemala

  • Quote

Post by --D_S-- » Wed Oct 04, 2006 4:22 am

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+
Top
jcornez
Apprentice
Apprentice
User avatar
Posts: 201
Joined: Thu Jan 12, 2006 8:51 pm
Location: Spain
Contact:
Contact jcornez
Website

  • Quote

Post by jcornez » Wed Oct 04, 2006 10:49 am

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
Top
jcornez
Apprentice
Apprentice
User avatar
Posts: 201
Joined: Thu Jan 12, 2006 8:51 pm
Location: Spain
Contact:
Contact jcornez
Website

  • Quote

Post by jcornez » Wed Oct 04, 2006 11:18 am

In particular, this change http://cedet.cvs.sourceforge.net/cedet/ ... 34&r2=1.35
Mentioned in this message http://lists.gnu.org/archive/html/emacs ... 00016.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: Select all

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.
Top
--D_S--
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu Jan 06, 2005 5:21 am
Location: Guatemala

  • Quote

Post by --D_S-- » Thu Oct 05, 2006 2:23 am

Thanks a lot now it works fine.

Athlon Xp 2400+
Top
ilm
Guru
Guru
User avatar
Posts: 310
Joined: Thu Jun 29, 2006 2:54 am
Location: Brisbane, Australia

  • Quote

Post by ilm » Sat Jan 20, 2007 12:44 pm

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?
Top
--D_S--
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu Jan 06, 2005 5:21 am
Location: Guatemala

  • Quote

Post by --D_S-- » Sun Jan 21, 2007 1:20 am

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+
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy