SV: Jde-import.el

2004-07-08 Thread Petter Måhlén
be better. Does that make sense? / Petter -Ursprungligt meddelande- Från: Paul Kinnucan [mailto:[EMAIL PROTECTED] Skickat: den 8 juli 2004 07:00 Till: Petter Måhlén Kopia: [EMAIL PROTECTED] Ämne: Jde-import.el Petter Måhlén writes: Hi Paul, The patched jde-import.el

SV: SV: Jde-electric-return sometimes off

2004-07-01 Thread Petter Måhlén
You may have something there, Suraj, because I am setting it in .emacs, since I want it to be on for all Java files I work with. / Petter -Ursprungligt meddelande- Från: Suraj Acharya [mailto:[EMAIL PROTECTED] Skickat: den 1 juli 2004 00:15 Till: Paul Kinnucan Kopia: Petter Måhlén

Jde-electric-return sometimes off

2004-06-30 Thread Petter Måhlén
Hi, I like the jde-gen-embrace functionality that Suraj provided and that is included in the last few betas. However, that feature is often turned off when I open up a new buffer, even though jde-electric-return-p is true. I can turn the feature on by doing two jde-toggle-electric-return (not

SV: Jde-electric-return sometimes off

2004-06-30 Thread Petter Måhlén
-Ursprungligt meddelande- Från: Petter Måhlén [mailto:[EMAIL PROTECTED] Skickat: den 30 juni 2004 10:16 Till: '[EMAIL PROTECTED]' Ämne: Jde-electric-return sometimes off Hi, I like the jde-gen-embrace functionality that Suraj provided and that is included in the last few betas. However

RE: jde-import-all

2004-06-01 Thread Petter Måhlén
Hi, I'm aware of the first problem. I'll take a look at your solution. Meanwhile a workaround (which I use) is to set jde-import-exclude-imports to filter out the undersirable apache classes. Yes, but that's a little bit cumbersome. I am presently using the modified code I posted and it

JDE 2.3.4beta3: strange overlining

2004-05-11 Thread Petter Måhlén
Hi, I'm getting the weird effect shown in the attached GIF using JDE 2.3.4beta3 and cedet1.0beta2 on Emacs 21.3. All non-public methods are 'overlined', which is really not pleasant. I guess it's some kind of highlighting of non-public methods that has gone wrong - does anybody know of a

RE: jde-import-all

2004-03-12 Thread Petter Måhlén
I've tested this a bit now, and I really like it. I have found one slight problem, and I have one request for a possible improvement: 1. It doesn't detect the need to import List with the following class: public class Hej { public Hej() { } public List hejsan() { } } I guess

RE: jde-import-all

2004-03-12 Thread Petter Måhlén
Petter == Petter Måhlén [EMAIL PROTECTED] writes: Petter I've tested this a bit now, and I really like it. I have Petter found one slight problem, and I have one request for a Petter possible improvement: Petter 1. It doesn't detect the need to import List with the Petter

RE: jde-import-all

2004-03-12 Thread Petter Måhlén
Petter == Petter Måhlén [EMAIL PROTECTED] writes: Petter Found another little nit to pick. I have a class named Petter Task, and when I run jde-import-all for that class, I am Petter prompted to import some class named sun.something.Task. I am Petter not enough of an elisp person

RE: auto newline, indent and close brace on open brace, return

2004-03-03 Thread Petter Måhlén
Hi, This seems like a good idea to me, but I had two problems when trying it out. First, I got an error message saying something like if: wrong number of arguments. I then tried the following update which I think is correct (added parentheses around the else clause): (define-key jde-mode-map

RE: complete

2004-02-19 Thread Petter Måhlén
The buffer to look in is the one called *Messages* (I think it might have a different name on XEmacs). But as Paul says, the best thing to do when asking for help is using the JDE/Help/Submit Problem Report function in the menu. That is, provoke the error, then do a Submit Problem Report. That

RE: gen get/set methods leaves trailing space on gets

2004-02-19 Thread Petter Måhlén
I think I have found your problem, Jeff. The highlighted line below includes a space after the () of the method signature. I have jde-gen-kr set to true, but I am getting the following type of signature: public Date getWorkDate() { return this.m_workDate; } Note the double spaces

RE: request help on functionality

2004-02-10 Thread Petter Måhlén
Hi, Take a look at the JDE-Find-Expression menu alternative. It's also described in the user's guide (under Searching Source Code), and is nearly what you are looking for, I think. / Petter -Original Message- From: Torsten Geise [mailto:[EMAIL PROTECTED] Sent: den 10 februari 2004

RE: request help on functionality

2004-02-10 Thread Petter Måhlén
happened then. Be that as it may, I think the pattern searching will get you a long way, even though it is not 100%. / Petter -Original Message- From: Torsten Geise [mailto:[EMAIL PROTECTED] Sent: den 10 februari 2004 10:18 To: Petter Måhlén Cc: JDEE-Mailinglist Subject: RE: request

RE: jde-2.3.3 error by jde-bug-evaluate-expression

2004-01-26 Thread Petter Måhlén
The exception is throw by the Java side of JDEbug. It keeps a map of object id (269 in this case) and object reference in the process being debugged. The exception indicates that it cannot find the object with reference 269. I haven't looked at the 2.3.3 code, but if I remember right, in previous

RE: Problem with implement-interface wizard

2003-09-15 Thread Petter Måhlén
Hi, The error you're getting is from the Java side of the JDE, whereas it is the elisp side of the JDE that figured out the full class name. It could be that the Java code can't find it because at the time the beanshell process was started, the interface was not on the classpath. In that case,

RE: [work] How can JDEbug evaluate expression be extended?

2003-09-04 Thread Petter Måhlén
Hi, I think this is not particularly easy to do. The steps that are needed on the Java side are: 1. Create a new command object (jde.debugger.command.X) - piece of cake 2. Add it to the DebugCommandFactory list of prototypes - piece of cake 3. The hard part: make it do what you want. It's easy

RE: Source not found while debugging

2003-03-16 Thread Petter Måhlén
Hi, You could try setting jde-sourcepath, that should improve the chances of finding the correct source file. But as you say, the class name is weird. Are you hitting a breakpoint, or stepping, or what are you doing when this happens? / Petter -Original Message- From: Rodrigo de Salvo

RE: Bug Report

2003-03-03 Thread Petter Måhlén
I'm not an elisp expert, but that looks pretty weird to me. First of all, where does c:/ant/bin/ant.bat come from? It's not in your environment anywhere according to the error report, and it's not anywhere in the JDE 2.3.2 code as far as I can tell. Also, I don't see why the actual error (not

RE: Two useful key bindings for jde mode

2003-03-01 Thread Petter Måhlén
Have you taken a look at camelCase? That resolves the same problem, but in a more generic way. It means that M-f, M-b, M-d, M-c, etc., treat current, Buffer and Position in your example as separate words. Really nice! / Petter http://www.hotdispatch.com/view-ip-requester?ID=14317280

RE: BeanShell can't find my class (jde-import-find-and-import)

2003-03-01 Thread Petter Måhlén
Hm, it seems that your definition of jde-global-classpath is a bit weird: '(jde-global-classpath (quote ($CLASSPATH ~/wgen/eclipse-workspace/mclass/ampNG/build/classes ~/wgen/eclipse-workspace/mclass/javaserver/build/classes))) The quotes are in the wrong places, it should probably be

RE: JDEE plugins (was JUCI)

2003-02-19 Thread Petter Måhlén
I second those sentiments and that motion. / Petter -Original Message- From: Mark Pollack [mailto:[EMAIL PROTECTED]] Sent: den 19 februari 2003 02:01 To: Paul Kinnucan; Nascif Abousalh-Neto Cc: [EMAIL PROTECTED] Subject: RE: JDEE plugins (was JUCI) Hi, Just my two cents,

RE: copile errors (emacs 21.2, linux, jde)

2003-01-30 Thread Petter Måhlén
Hm, my guess is that the problem is that JDE doesn't find the correct JDK directory: # ERRORS # cd /home/rktmb/programation/java/ /:/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=,server=y,suspend=n Banque Can't exec

RE: Fail to generate javadoc

2003-01-29 Thread Petter Måhlén
Hi, I think that the missing file or directory is not the executable, but the place where JDEE tries to create the documentation. It normally defaults to some path/JavaDoc. So it seems to be unable to find or create that directory. If you are using Cygwin, it could be due to some path conversion

RE: Windows 2000 service pack 3 problem with Compiling run Java program

2003-01-26 Thread Petter Måhlén
Title: Message Hi, What you should do is type "M-x describe-function [RET] jde-get-jdk-dir" in Emacs. That will show you documentation that describes exactly how to solve your problem. Best of luck, Petter -Original Message-From: Takeshi Go [mailto:[EMAIL PROTECTED]]

RE: jde-global-classpath error

2003-01-14 Thread Petter Måhlén
I think if anybody is going to be able to help you, you need to provide a lot more information. Use the JDE/Help/Submit Problem Report menu function. / Petter -Original Message- From: Jeba Bhaskaran [mailto:[EMAIL PROTECTED]] Sent: den 14 januari 2003 18:20 To: [EMAIL PROTECTED]

Importing in JDE - minor bug

2003-01-09 Thread Petter Måhlén
Hi, I have a file with (at least) the following import statement: import java.util.*; If I then ask JDE to import java.util.List, a new statement will be added: import java.util.*; import java.util.List; The second statement is of course redundant. I think I have traced the problem to:

Interface implementation wizard - minor bug

2003-01-09 Thread Petter Måhlén
Hi, I am using an empty interface to indicate that a certain operation (filtering) is possible on objects implementing it (much like the way Cloneable works). The jde-wiz-implement-interface wizard doesn't support this perfectly, since it adds 'implements Filterable' but doesn't generate an

Completion problem

2002-12-10 Thread Petter Måhlén
Hi, I have just switched to a new computer, in the process upgrading my installation of JDE and the rest. I copied the old .emacs file, and have already had to make some fixes to that to get things to work properly with the JDEE, so maybe it's some kind of upgrade issue. Anyway, the problem I am

RE: jde-wiz-implement-interface

2002-11-29 Thread Petter Måhlén
Hmm. This seems to be a bug in jde.util.ClassPathZip.load(): void load() throws IOException { ZipFile zipFile = new ZipFile(zipOrJar); Enumeration enum = zipFile.entries(); while (enum.hasMoreElements()) { ZipEntry zipEntry = (ZipEntry)enum.nextElement();

RE: Repost: where is 'semantic-load' to be found?

2002-03-16 Thread Petter Måhlén
It looks like you're trying to use an invalid semantic version. From the release notes for 2.2.8: JDE 2.2.8 *** * PLEASE READ *

RE: navigation question

2002-03-14 Thread Petter Måhlén
, but I also think it would be really nice. / Petter -Original Message- From: Laurent Mirguet [mailto:[EMAIL PROTECTED]] Sent: den 14 mars 2002 10:48 To: Petter Måhlén Cc: cb Turner; [EMAIL PROTECTED] Subject: Re: navigation question Petter Måhlén wrote: C-cC-vC-y does just

RE: problem with jdebug

2002-03-06 Thread Petter Måhlén
Hm, well, that doesn't give me any good clues, I'm afraid. What is going wrong is that the Emacs side of JDEbug doesn't connect to the Java side, so the Java side times out. For your further troubleshooting, the steps are: 1. Emacs launches the Java part of the debugger 2. The Java part tells

RE: How to Customize Indentation?

2002-02-28 Thread Petter Måhlén
It sounds as if you're trying to change the way that Emacs presents the code without actually changing it. If so, you could try customising tab-width. Otherwise, I like to do 'untabify' to only use spaces throughout the code, that saves a lot of problems I think. / Petter -Original

RE: jde2.2.9beta.. error on .emacs loading..

2002-02-17 Thread Petter Måhlén
Hi, I'm not an elisp expert, but based on the many mails on this list about the subject, this looks like a byte-compilation problem. So I would try this: 1. remove all .elc files for JDE and related packages (eieio, etc) 2. try again 3. if it works but feels too slow, byte-compile with

RE: Needs help to get JDEE working...

2002-02-01 Thread Petter Måhlén
Hi, Do you want to use JDK 1.1 when compiling? The error message says that you can't use the 'selected' debug info option. JDE has determined that you are using JDK 1.1, so if that's unintentional, you should check the $JAVA_VERSION environment variable and the jde-jdk customization variable.

RE: Auto import-collapse

2002-01-27 Thread Petter Måhlén
Yes, the JDE needs reflection to determine the fully qualified name of the class to be imported. Reflection is possible only with compiled classes. Actually, as far as I can tell, the fully qualified name returned by jde.util.JdeUtilities.getQualifiedName appears to only be determined by the

RE: Auto import-collapse

2002-01-25 Thread Petter Måhlén
Hi, As far as I can tell, jde-import-find-and-import also only works with already compiled classes. Unless I misunderstand you, when you say that class - I mean the class to be imported has to be compiled already. I actually got a bit confused by this today, when the system was unable to find a

RE: JDE-2.2.9beta8 available at

2002-01-21 Thread Petter Måhlén
Message- From: Berndl, Klaus [mailto:[EMAIL PROTECTED]] Sent: den 21 januari 2002 15:06 To: 'Paul Kinnucan'; Petter Måhlén; 'ECB-Mailing List' Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: JDE-2.2.9beta8 available at I didn't realize that this release requires semantic-1.4beta12

RE: JDE-2.2.9beta8 available at

2002-01-21 Thread Petter Måhlén
Hi again, It turned out that it works if I set the jde-db-source-directories variable to: (c:/My Documents/Java Code) So I guess that the problem is in fact that several path names can map to one file, especially for Windows. / Petter -Original Message- From: Petter Måhlén [mailto

RE: Missing jdebug key bindings

2002-01-15 Thread Petter Måhlén
It could be that the key bindings only work in a window with jde-mode. Are you sure that the input focus is in the window with the Java file? / Petter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Crossley Sent: den 15 januari 2002 14:47 To:

RE: jde-complete methods / variable ...

2001-12-12 Thread Petter Måhlén
I was involved ever so slightly in correcting a bug in that code, and at that time, it was recursive to check also inherited methods and variables. And as far as I can tell in Completion.java for 2.2.9beta6, it is still the case (recursiveListMethods, recursiveListFields, etc.). Are you sure it

RE: Renaming Proposal

2001-07-18 Thread Petter Måhlén
Is jmode short for Jmode is MOre than a Development Environment? Jmode Makes Other De:s Extinct? Jmode Means Ok Development Environment? -Original Message- From: Latchezar M. Dimitrov [mailto:[EMAIL PROTECTED]] Sent: den 18 juli 2001 23:29 To: Paul Kinnucan Cc: [EMAIL PROTECTED]

RE: jde-gen-get-package-statement

2001-05-21 Thread Petter Måhlén
Another option could be to use the jde-package-search-classpath-variables customisation variable, where you specify variables that contain paths to search for source files. I am not sure, but I think that the first variable specified there should really be jde-db-source-directories. That should