trouble with code completion and BeanShell
Paul Landes <[email protected]> Tue, 6 Mar 2007 00:15:35 -0600
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
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]