Hi,<div><br></div><div>I posted this question on c.l.l and they suggested I re-post it here.</div><div><br></div><div>I run into a problem when running SLIME with Clozure Common Lisp (a.k.a. openmcl).</div><div><br></div><div>
When I call a function with the wrong number of args, the error message is unhelpful. When I do the same running openmcl directly (not via SLIME) it works correctly. Here's a transcript:</div><div><br></div><div><div>
; SLIME 2008-02-25</div><div>CL-USER> (defun foo (a b) (+ a b))</div><div>FOO</div><div>CL-USER> (foo 4 5)</div><div>9</div><div>CL-USER> (foo 3)</div><div>> Error: value -2 is not of the expected type UNSIGNED-BYTE.</div>
<div>> While executing: NBUTLAST, in process repl-thread(5).</div><div>> Type :POP to abort, :R for a list of available restarts.</div><div>> Type :? for other options.</div><div>1> :pop</div><div>; Evaluation aborted.</div>
<div>CL-USER> (foo 3 4 5)</div><div><br></div><div>> Error: value -2 is not of the expected type UNSIGNED-BYTE.</div><div>> While executing: NBUTLAST, in process repl-thread(5).</div><div>> Type :POP to abort, :R for a list of available restarts.</div>
<div>> Type :? for other options.</div><div>1> :pop</div><div>; Evaluation aborted.</div><div>CL-USER> </div><div><br></div><div>This is running under Aquamacs 1.3, but it did the same under 1.2. I refreshed the SLIME inside Aquamacs from cvs about 30 minutes before I tried this example.</div>
<div><br></div><div>Is there something I need to configure to make this work? Or is this a known problem?</div><div><br></div><div>Thanks,</div><div><br></div><div>Neil Baylis</div><div><br></div></div>