On Wed, 5 May 2004 at 10:15:19 -0700, Kevin Ellwood wrote:
> Hi,
>
> Thanks for getting back to me. Below is a section of
> code that I copied and pasted. It is obviously not
> the whole program, so it won't compile -- it is from
> working code. I used "j" to indent that whole thing,
> ie. Edit->Indent. The code after the "#else" loses
> track of where the indentation was.
>
> Thanks
> Kevin
This is fixed in 0.20.2.12:
http://armedbear.org/j.zip (source)
http://armedbear.org/j-jar.zip (just j.jar)
Thanks for reporting this bug!
-Peter

A new development snapshot (j 0.20.2.12, ABCL 0.0.3.10) is available:
http://armedbear.org/j.zip (source)
http://armedbear.org/j-jar.zip (just j.jar)
This snapshot fixes the C mode indentation bug reported by Kevin
Ellwood on the j-users list.
In addition, there are a few ABCL-related changes.
On Linux, you can now feed --enable-libabcl to ./configure along with
your other favorite options, and (on a good day) the native library
libabcl.so will then be built and installed. The script formerly known
as abl is now known as abcl, and if you do --enable-libabcl, the abcl
script will automatically contain the needed options to set
LD_LIBRARY_PATH appropriately at runtime.
The point of libabcl.so is to install a native SIGINT handler so that
in the abcl interpreter, Ctrl C (or Ctrl Alt C in a j Lisp shell) can
be used to interrupt the Lisp process if it appears to be hung. In
previous versions, Ctrl C (or Ctrl Alt C in a Lisp shell) simply
terminated the Lisp process.
This functionality doesn't work 100% correctly yet (the TOP-LEVEL
restart is, despite its name, functionally equivalent to the CONTINUE
restart, for one thing), but if the alternative is terminating the Lisp
process, even a somewhat broken SIGINT handler is probably better than
nothing. Work continues.
You can tell if the SIGINT handler has been built and installed
correctly by looking for the line
Control-C handler installed.
in abcl's startup text.
File compilation via COMPILE-FILE now works (modulo bugs), and you can
(and quite likely should) do
(compile-system)
in abcl before you do anything else, which compiles all of the known-
to-be-file-compilable .lisp files in the org/armedbear/lisp directory.
After compiling the system, abcl startup should be roughly twice as
fast as before (which will speed up j's startup too if you have an
init.lisp file), and most abcl code will run quite a bit faster too.
Finally, the preferred name for abcl's init file has been changed from
~/.ablrc to ~/.abclrc, in keeping with the new naming approach.
Thanks for your support.
-Peter