[slime-devel] Daily ChangeLog diff

Tobias C. Rittweiler tcr at freebits.de
Fri Dec 11 21:02:55 UTC 2009


Matthias Koeppe <mkoeppe+slime at mail.math.uni-magdeburg.de> writes:

> > Can you think of a way to make it work for either case? Evaluating
> > lists-as-presentations is annoying.
>
> Unfortunately not, though I have been thinking about this since 2006
> (well, OK, not every day!), when we discussed this issue first on this
> list.

I think we found a case for *EVALHOOK*.

The Slime repl evaluator would have to be advised about which objects
came from presentations; in the evalhook, it'd test if the arg is same
to such an object -- if it is, it'd not evaluate that object.

The advising part would probably be a bit involving because we'd have to
guarantee EQness.

I'm almost tempted to hack in *EVALHOOK* into SBCL's interpreter... ;-)

  -T.





More information about the slime-devel mailing list