Re: trouble with code completion and BeanShell

"Suraj Acharya" <[email protected]> Mon, 5 Mar 2007 23:49:46 -0800
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
If you use CVS Emacs you need to use the current CEDET from CVS too. There's
a problem with the way idle timers work in Emacs 22.
See http://article.gmane.org/gmane.emacs.code-browser/1800/

This may not solve your current problem but you'll run into the issue of
emacs taking up 100% cpu eventually with your current setup.

Suraj

PS: CEDET CVS is located here
http://cedet.cvs.sourceforge.net/cedet/cedet/semantic/


On 3/5/07, Paul Landes <[email protected]> wrote:
>
> To help diagnose, I suggest:
>
> 1. Start beanshell using in-line completion as mentioned.
>
> 2. After about 10 seconds, hit C-g, which should abort the blocking
>    call Emacs has on the (beanshell JVM) child process.
>
> 3. Switch to the *JDEE* buffer.  At the top of this buffer, there
>    should be a `cd' and the JVM invocation.  Copy this into a .sh or
>    .bat file and run that outside of Emacs (or in a inferior shell).
>
> The idea here is to isolate this problem.  To me, this sounds like
> beanshell isn't finishing its start up process and not giving a
> prompt.  That is, emacs is waiting for IPC with the string 'bsh % ',
> which mean beanshell is ready for the next command.
>
> You can also customize variable bsh-startup-timeout to give up on
> beanshell when it doesn't respond, although this only treats the
> symptom.
>
>
> Jason Coffin writes:
> > Greetings,
> >
> > I recently installed the JDEE and so far I'm very happy to be able to
> > do my java programing in Emacs. I'm having trouble with code
> > completion however. When I try and invoke the In-Line completion (C-c
> > C-v .) I get "Starting the BeanShell. Please wait..." and nothing
> > happens. I have waited for about 10 minutes with no change. I do
> > notice that emacs.exe is using about 50% of my processor and I notice
> > lots of hard drive activity when I first invoke the command but the
> > hard drive activity stops even though the processor activity stays at
> > 50% indefinitely.
> >
> > I'm using the latest EmacsW32
> > (http://ourcomments.org/Emacs/EmacsW32.html) version 22.0.94.1 to be
> > precise. I have installed the cedet-1.0pre3 tools if that is important
> > to know.
> >
> > Anyone have any suggestions? I'd really prefer not having to use Eclipse
> :(
> >
> > Thanks for any help you can give!
> >
> > --
> > Jason
>
>
> --
> Paul Landes
> [email protected]
>