Hi Kai, Great job!
Take a look at flymake.el and jde-flymake.el. Together they provide on-the-fly compilation to JDEE. This makes for a nice complement to your module; you wouldn't have to do a full compile to get the compilation buffer in order to call qfix. As soon as flymake kicks in and detects the error, you would have enough information to decide which quick fixes to offer. You might have to make changes on how you detect errors since I believe jikes error messages might be slightly different then the ones from javac. I think this combination would get the whole environment even closer to what you found in Eclipse. Regards, Nascif > -----Original Message----- > From: Kai Grossjohann [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 28, 2004 7:03 AM > To: [EMAIL PROTECTED] > Subject: Investigating quickfix functionality > > I had been using Eclipse for some time a year ago. One thing > I really liked about it was the quickfix functionality. When > the compiler found an error in your source code, you could > hit Ctrl+1 to pop up a little menu which suggested some remedies. > > Because I missed it so much, I investigate whether it would > be possible to get this in Emacs, as well. It seems it would > be possible in principle. > > This version only knows two kinds of errors: unreported > exception, and cannot resolve symbol class Foo. > > I'd appreciate any comments or help or patches. > > What do people think? > > Kai > >
