On Tue, Mar 10, 2009 at 07:16:05AM +0100, Vincent Belaïche wrote: > I am happy to see that there are some people on this forum. It sounded so silent. I am also a newcomer to JDEE, I have tried your code and I get exactly the same thing as you.
Oh. Are you using the same emacs version? Cygwin? > PS: Myself, I met several problems. Have you yet tried to compile a file yet with C-c C-v C-c ? I couldn't get that to work in my normal emacs either, Looking at the *Messages* buffer I see Starting the BeanShell. Please wait... [3 times] bsh: Process bsh not running and although I found http://osdir.com/ml/emacs.jdee/2003-06/msg00026.html I would be quite surprised if that problem was the cause, especially as I also found reports of it on other systems (e.g. RedHat Linux). I might try jikes later on, which looks like it is a Java compiler supported by Cygwin. But I also have EmacsW32 installed and tried it on there, and it worked fine, in that I got a .class file out of the end which I could run. At the compile stage, though, I got: Compilation finished error in process filter: bsh-compilation-buffer: Wrong type argument: number-or-marker-p, "0" error in process filter: Wrong type argument: number-or-marker-p, "0" in the *Messages* buffer so everything isn't completely rosy, I think. I also tried my own code completion problem in EmacsW32 and it worked fine, but of course it is a completely different version (23.0.60.0) as well as being non-cygwin. Same jdee/cedet/... versions in both cases though. > > Date: Mon, 9 Mar 2009 22:46:56 +0100 > > From: [email protected] > > To: [email protected] > > Subject: [jdee-users] Learning jdee and stumbling > > > > Hi, > > > > I am trying to learn how to use jde before really using it in earnest, > > so as a first step I have created a class "One" and am now trying to get > > code completion (i.e. jde-complete-in-line) working. Let's say my code > > looks like: > > > > 01 public final class One { > > 02 > > 03 private One() { > > 04 } > > 05 > > 06 private void go() { > > 07 System.out.println("I went"); > > 08 } > > 09 > > 10 public static void main(final String[] args) { > > 11 One foo = new One(); > > 12 > > 13 foo.g > > 14 } > > 15 } > > > > with the insertion point after the "g" in line 13. I then press > > C-c C-v . and as expected something happens, but I'm not convinced it is > > happening correctly. What I then see is a message saying > > "Could not find type of foo Attempt to import One? (y or n)" > > If I asnwer "n" then... it asks me the same thing again (grr!) and if I > > answer "y" then, it does something (nothing apparent, but something) and > > then... asks me yet again! Something's not right here... > > > > Any ideas? > > > > (emacs 21.2 (cygwin), jde 2.3.5.1) ------------------------------------------------------------------------------ _______________________________________________ jdee-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jdee-users
