Re: slime

Gary Byers <[email protected]> Sat, 13 Aug 2005 15:51:01 -0600 (MDT)
Newsgroups gmane.lisp.openmcl.bugs
Message-ID <[email protected]>

On Sat, 13 Aug 2005, bryan o'connor wrote:

> the problems seem to arise from the call to
> swank-backend::maybe-method-location.  removing that
> from find-definitions seems to work.

SWANK::MAYBE-METHOD-LOCATION calls SWANK::FUNCTION-SOURCE-LOCATION
which calls CCL::EDIT-DEFINITION-P, which tries (in the DOCUMENTATION
case) to call CLASS-NAME on an EQL specializer, and that signals
an error.

When I set *inferior-lisp-program* to a copy of 0.14.3 and run it
under an unmodified SLIME, I get exactly the same behavior.

If I comment out the call to SWANK::MAYBE-METHOD-LOCATION, doing
M-. on DOCUMENTATION, I get a buffer full of method forms (the
CAR of each is the symbol CCL::STANDARD-KERNEL-METHOD).  If I
click on one of them, Emacs finds ... the wrong method in the
right source file.  (It seems to jump to the first (DEFMETHOD
DOCUMENTATION ...) form in the source file.)

I don't use SLIME, so I don't know if this ever worked.   It 
does appear that CCL::EDIT-DEFINITION-P has had a long-standing
bug that's worth fixing, though it's not clear to me that
CCL::EDIT-DEFINITION-P does anything particularly useful (that
can't be done in other ways.)

>
> maybe it was solving a problem that is no longer
> present?
>
>    ...bryan
>
>
> On Aug 13, 2005, at 1:00 PM, Gary Byers wrote:
>> 
>>> one more thing that we should ensure works properly with
>>> 0.14.4 is slime.
>>> 
>>> the only breakage that i've noticed is slime-edit-definition
>>> (M-.) with methods.
>>> 
>>> adding some missing types (funcallable-standard-class) to the
>>> etypecase in swank::specializer-name will fix it for some
>>> methods.  others, like documentation, still don't work.
>>> 
>>> i'm not sure if this is strictly a slime problem with 0.14.4
>>> or something with 0.14.4 itself.
>>> 
>>>    ...bryan
>>> 
>>> 
>> 
>> I'm not sure what would have changed in pre-0.14.4 that would have affected
>> this.
>> 
>> The quasi-standard (not really documented, but it's the basis of what
>> ILISP uses) interface is CCL::%SOURCE-FILES; calling
>> 
>> ? (CCL::%SOURCE-FILES 'DOCUMENTATION)
>> 
>> seems to return essentially the same information in 0.14.3 and in the
>> current bleeding-edge version.
>> 
>> A lot of DOCUMENTATION methods have EQL specializers.  Is that significant 
>> ?
>> 
>> I'll download SLIME, and see if I can remember how to invoke and use it ...
>> 
>> 
>
> _______________________________________________
> Bug-openmcl mailing list
> [email protected]
> http://clozure.com/mailman/listinfo/bug-openmcl
>
>