[slime-devel] Emacs command for loading Slime and application

Helmut Eller e9626484 at stud3.tuwien.ac.at
Thu Sep 23 22:37:34 UTC 2004


Nicolas Neuss <Nicolas.Neuss at iwr.uni-heidelberg.de> writes:

> 1. If Slime is not already running, the load command is not executed.
>
> 2. If Slime is already running, Femlisp is loaded, but the package is not
> set.
>
> Can someone tell me how I can achieve my goal?

Yes, this is bit more difficult because most of the commands work
asynchronously.  I changed slime-start-and-load a bit so that it
should be usable for your needs.  

In general If you need commands of this sort, it's usually the easiest
to write a small CL function for the job, so that Emacs can make a
single RPC and doesn't need so much synchronization.

> PS: Another problem is that executing (slime) apparently sets back some
> variables, e.g. *READ-DEFAULT-FLOAT-FORMAT* which I have set to
> DOUBLE-FLOAT when loading Femlisp.  Why is that?

Can't help you here without more details.  Which Lisp are you using?
Which communication style?  Are threads involved?  We don't set
*READ-DEFAULT-FLOAT-FORMAT* explicit, but there's always the
possibility for bug and that we used WITH-STANDARD-IO-SYNTAX in a wrong
place.

Helmut.




More information about the slime-devel mailing list