Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 149842

Summary: emacs-cvs + cedet = 100% cpu usage
Product: Gentoo Linux Reporter: Evgeniy Dushistov <dushistov>
Component: New packagesAssignee: Emacs project <emacs>
Status: RESOLVED FIXED    
Severity: normal CC: abenea, paulo, yuan.mei
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emacs-cvs-idle-timer.patch

Description Evgeniy Dushistov 2006-10-02 05:20:24 UTC
After last update of emacs-cvs package using emacs-cvs ebuild,
app-editors/emacs-cvs 22.0.50-r3,
I got problem described here:
http://sourceforge.net/mailarchive/forum.php?thread_id=30585663&forum_id=4869

I grabed patch from cedet cvs, see attachments.
Comment 1 Evgeniy Dushistov 2006-10-02 05:22:25 UTC
Created attachment 98602 [details, diff]
emacs-cvs-idle-timer.patch
Comment 2 Evgeniy Dushistov 2006-10-02 05:24:35 UTC
patch for ebuild:

--- /usr/portage/app-emacs/cedet/cedet-1.0_pre3-r1.ebuild       2006-08-09 09:35:24.000000000 +0400
+++ cedet-1.0_pre3-r2.ebuild    2006-10-02 15:08:43.055470926 +0400
@@ -26,6 +26,7 @@
        unpack ${A}
        epatch ${FILESDIR}/1.0_pre3-eieio-tests-gentoo.patch # Bug #124598
        epatch ${FILESDIR}/1.0_pre3-sb-info-circular-dep-gentoo.patch # Bug #138190
+       epatch ${FILESDIR}/emacs-cvs-idle-timer.patch
 }
 
 src_compile() {
Comment 3 Yuan MEI 2006-11-04 20:33:38 UTC
I am using app-editors/emacs-cvs-23.0.0-r1,
this patch does not work for emacs-23,
is there any solutions for 23?

(In reply to comment #1)
> Created an attachment (id=98602) [edit]
> emacs-cvs-idle-timer.patch
Comment 4 Yuan MEI 2006-11-04 20:38:31 UTC
I am sorry, it actually works for emacs-23

(In reply to comment #3)
> I am using app-editors/emacs-cvs-23.0.0-r1,
> this patch does not work for emacs-23,
> is there any solutions for 23?
> 
> (In reply to comment #1)
> > Created an attachment (id=98602) [edit]
> > emacs-cvs-idle-timer.patch
> 

Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-05 16:10:10 UTC
As emacs-cvs is not building on my system I call Matthew to test and apply that patch.
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2006-11-19 09:16:12 UTC
Added patch to -r2
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-26 08:13:33 UTC
*** Bug 168410 has been marked as a duplicate of this bug. ***
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-16 16:19:30 UTC
*** Bug 171168 has been marked as a duplicate of this bug. ***