<div dir="ltr">I wonder if anyone else is seeing the same error in the latest slime.<div><br></div><div>Press RET any non-interactive part of the *slime-inspector* buffer and get a "wrong number of arguments" error instead of the intended "no object at point". </div>
<div><br></div><div>Here's a possible patch:</div><div><br></div><div><div>diff --git a/slime.el b/slime.el</div><div>index 106b0fa..38df505 100644</div><div>--- a/slime.el</div><div>+++ b/slime.el</div><div>@@ -6645,16 +6645,16 @@ that value.</div>
<div> 2. If point is on an action then call that action.</div><div> 3. If point is on a range-button fetch and insert the range."</div><div> (interactive)</div><div>- (let ((opener (lexical-let ((point (slime-inspector-position)))</div>
<div>+ (let* ((opener (lexical-let ((point (slime-inspector-position)))</div><div> (lambda (parts)</div><div> (when parts</div><div> (slime-open-inspector parts point)))))</div>
<div> (new-opener (lambda (parts)</div><div> (when parts</div><div>- (slime-open-inspector parts)))))</div><div>- (destructuring-bind (property value)</div><div>- (slime-inspector-property-at-point)</div>
<div>- (case property</div><div>+ (slime-open-inspector parts))))</div><div>+ (property-at-point (slime-inspector-property-at-point))</div><div>+ (value (second property-at-point)))</div>
<div>+ (case (first property-at-point)</div><div> (slime-part-number</div><div> (slime-eval-async `(swank:inspect-nth-part ,value)</div><div> new-opener)</div><div>@@ -6664,7 +6664,7 @@ that value.</div>
<div> (slime-action-number </div><div> (slime-eval-async `(swank::inspector-call-nth-action ,value)</div><div> opener))</div><div>- (t (error "No object at point"))))))</div>
<div>+ (t (error "No object at point")))))</div><div> </div><div> (defun slime-inspector-operate-on-click (event)</div><div> "Move to events' position and operate the part."</div><div><br></div>
<div><div><br></div>-- <br>João Távora
</div></div></div>