[slime-devel] Re: [slime-cvs] CVS update: slime/ChangeLog slime/slime.el slime/swank-openmcl.lisp

Marco Baringer mb at bese.it
Fri May 7 07:13:52 UTC 2004


Luke Gorrie <lgorrie at common-lisp.net> writes:

> Marco Baringer <mbaringer at common-lisp.net> writes:
>
>> +	* swank-openmcl.lisp (*buffer-offset*, *buffer-name*): Supply
>> +	default values. This avoids unbound value errors when compiling an
>> +	asdf system signals errors.
>
> Do you know why the errors come about?

because swank:operate-on-system-for-emacs calls asdf:operate-on-system
directly without going through a backend function (unlike compile-file
and compile-string) and therefore the openmcl backend doesn't have the
opportunity to bind *buffer-name* and *buffer-offset*, which are
specific to the openmcl backend.

we could either make operate-on-system-for-emacs go through a backend
function, or make swank-compiler (which all three functions use) a
backend function/macro which implementations could use to bind
whatever state variables they need.

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
     -Leonard Cohen




More information about the slime-devel mailing list