>I have recently noticed that when one sets an option
>in jde-run it's almost impossible to get rid of it.
More on this.
I have to kill emacs to get the options to recompute.
Is anybody else having this problem? (see below)
The problem seems to me to be on line 610 in jde-run.el.
In the fn jde-run-internal the (let*) which assigns the list
prog-args seems to be using lazily evaluation or something because it
doesn't re-evaluate the option variables after they have been set.
Most peculiar.
How to identify if you have the problem:
eg:
1. set the minimum heap size (jde-run-options-heap-size) to 16Mb.
2. now run your app.
3. now change the min heap size back to 1Mb
4. write the project file
5. unload the java file you're working on
6. load another java file from the same project
7. type:
C-h v jde-run-options-heap-size
Emacs will tell you that it is ((1 . "megabytes") (16 .
"megabytes"))
8. run your app and check the invocation line
Does the invocation line include:
-xMs 16m
If so you have this problem.
Nic