What are the magic performed by (cl-user::run)?



XeCycle <XeCycle at Gmail.com> writes:
> ... Seems the (run)
> did some magic?  Starting maxima and return to lisp is not
> acceptable for my task, can I do what it did to setup my
> environment correctly?

RUN does indeed do some setting-up tasks. You'll find its code in
src/init-cl.lisp (at line 550 or so). I'd try calling some of the
functions inside the CATCH form and see which one makes things work.

To the rest of the list: Should there be an
init-maxima-and-make-it-work-please function that RUN calls? Then people
that want to embed maxima into another CL image wouldn't have to guess
about what's needed. Yes, I know you can load your code into a maxima
image, but if you don't want a maxima REPL, that doesn't really help
(since RUN brings one up).


Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20120427/6a10b663/attachment.pgp>;