Hi Shannon, The patch you posted fixes the 100% CPU usage issue when using jdee (which in turns uses semantic).
I think your patch should be included in the next release, otherwise jde is unusable with the latest emacs. Thanks! I posted a followup through the mail interface (mail to [EMAIL PROTECTED]) but it is not shown here in the web interface so I post it here again. From: Jhair Tocancipa Triana <[EMAIL PROTECTED]> Subject: Re: [Bug 66723] Re: semantic does not work with emacs-snapshot (was: ECB package does not install properly) To: Bug 66723 <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Date: Thu, 23 Nov 2006 11:14:40 +0100 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) Myster <[EMAIL PROTECTED]> writes: > It works but the process takes up to 100 % an idea ? > I notice it when I stop writing I reproduce the same behaviour but I am not sure if it is related to the patch. The behaviour is the following: you edit a java file and leave emacs alone (no editing). After some minutes the emacs process will take more than 90% the CPU time. Some times I leave emacs open when I leave my office and the next morning, there is emacs eating 90% of the CPU, always when using JDE (which uses semantic). It is a nasty bug, but as I said I am not sure if it is related to the patch, since I am almost sure the same behaviour happens with older semantic versions (without the patch). What I know, is that this bug happens only with recent CVS versions of emacs (such as emacs-snapshot). With stable releases of emacs (e.g. 21.4.1) emacs doesn't eat CPU when with semantic (jde). Maybe the CPU eating problem should be reported as a different bug. -- -- Jhair -- semantic does not work with emacs-snapshot (was: ECB package does not install properly) https://launchpad.net/bugs/66723 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs