slime swank-abcl.lisp

2 messages Options
Embed this post
Permalink
Alan Ruttenberg-2

slime swank-abcl.lisp

Reply Threaded More More options
Print post
Permalink
Here's a patch against the current swank-abcl.lisp to make a couple of
things work for the trunk abcl.

I don't want to check it in, as I don't know whether there are issues
with it working for older versions of abcl.

The fixes make edit definition work, and arglists for generic functions.

Is there anyone out there who is currently active on slime development
that is comfortable checking these in?

Best,
Alan

Index: swank-abcl.lisp
===================================================================
RCS file: /project/slime/cvsroot/slime/swank-abcl.lisp,v
retrieving revision 1.68
diff -r1.68 swank-abcl.lisp
216c216,221
<          (multiple-value-bind (arglist present) (sys::arglist fun)
---
>          (multiple-value-bind (arglist present)
>              (or (sys::arglist fun)
>                  (and (fboundp fun)
>                       (typep (symbol-function fun) 'standard-generic-function)
>                       (let ((it (mop::generic-function-lambda-list (symbol-function fun))))
>                         (values it it))))
433,438c438,445
<     `(((,symbol)
<        (:location
<         (:file ,(namestring (ext:source-pathname symbol)))
<         (:position ,(or (ext:source-file-position symbol) 1))
<         (:align t))))))
<
---
>     (let ((pos (ext:source-file-position symbol)))
>       `(((,symbol)
>          (:location
>           (:file ,(namestring (ext:source-pathname symbol)))
>           ,(if (and pos (plusp pos))
>                (list :position pos t)
>                (list :function-name (string symbol)))
>           (:align t)))))))

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
armedbear-j-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel
Mark Evenson

Re: slime swank-abcl.lisp

Reply Threaded More More options
Print post
Permalink
On 9/12/09 7:45 AM, Alan Ruttenberg wrote:

> Here's a patch against the current swank-abcl.lisp to make a couple of
> things work for the trunk abcl.
>
> I don't want to check it in, as I don't know whether there are issues
> with it working for older versions of abcl.
>
> The fixes make edit definition work, and arglists for generic functions.
>
> Is there anyone out there who is currently active on slime development
> that is comfortable checking these in?

Applied to SLIME CVS HEAD.  Thanks for the patch!

I tested with abcl-0.{15,16} and HEAD with the patch working as I
expected.  Keeping compatibility with more ancient versions of ABCL
takes a too much of my scant resources, but if someone is stuck with a
previous version of ABCL they wish to maintain compatibility with SLIME
CVS HEAD, drop me an email to work something out.

For those following the "old" [hidden email]
list, and perhaps wondering why things have been so quiet lately, note
that we moved [ABCL specific traffic to common-lisp.net][1] some months ago.

[1]: http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel


--
"A screaming comes across the sky.  It has happened before, but there
is nothing to compare to it now."

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
armedbear-j-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel