swank-asdf error (was [slime-devel] Re: M-. errs on SBCL functions)

Cyrus Harmon ch-slime at bobobeach.com
Tue Sep 11 00:39:14 UTC 2007


On a similar note, the following patch fixes an undefined function  
error in swank-asdf.lisp:


cvs diff: Diffing .
cvs diff: Diffing contrib
Index: contrib/swank-asdf.lisp
===================================================================
RCS file: /project/slime/cvsroot/slime/contrib/swank-asdf.lisp,v
retrieving revision 1.1
diff -u -r1.1 swank-asdf.lisp
--- contrib/swank-asdf.lisp     4 Sep 2007 10:32:07 -0000       1.1
+++ contrib/swank-asdf.lisp     11 Sep 2007 00:37:44 -0000
@@ -9,13 +9,6 @@

  (in-package :swank)

-(defslimefun operate-on-system-for-emacs (system-name operation  
&rest keywords)
-  "Compile and load SYSTEM using ASDF.
-Record compiler notes signalled as `compiler-condition's."
-  (swank-compiler
-   (lambda ()
-     (apply #'operate-on-system system-name operation keywords))))
-
  (defun operate-on-system (system-name operation-name &rest keyword- 
args)
    "Perform OPERATION-NAME on SYSTEM-NAME using ASDF.
  The KEYWORD-ARGS are passed on to the operation.
@@ -27,6 +20,13 @@
          (error "Couldn't find ASDF operation ~S" operation-name))
        (apply #'asdf:operate operation system-name keyword-args))))

+(defslimefun operate-on-system-for-emacs (system-name operation  
&rest keywords)
+  "Compile and load SYSTEM using ASDF.
+Record compiler notes signalled as `compiler-condition's."
+  (swank-compiler
+   (lambda ()
+     (apply #'operate-on-system system-name operation keywords))))
+
  (defun asdf-central-registry ()
    asdf:*central-registry*)

cvs diff: Diffing doc



On Sep 9, 2007, at 2:35 AM, Tobias C. Rittweiler wrote:

> Stelian Ionescu <sionescu at common-lisp.net> writes:
>
>> I've attached a patch that moves `save-restriction-if-possible' right
>> before `slime-goto-location-position'
>
> Basically applied, except that I moved it up further. Thanks!
>
>   -T.
>
> _______________________________________________
> slime-devel site list
> slime-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/slime-devel




More information about the slime-devel mailing list