[slime-devel] Re: Debian unstable version broken

Luca Capello luca at pca.it
Thu Feb 28 17:52:21 UTC 2008


forwarded 468087 http://common-lisp.net/pipermail/slime-devel/2008-February/007120.html
tags 468087 + patch
thanks

Hello!

On Thu, 28 Feb 2008 15:47:33 +0100, Helmut Eller wrote:
> * Liam Healy [2008-02-27 23:26+0100] writes:
>
>> Before I file a bug report with Debian I thought I'd ask here to see
>> if anybody knew about this, if there is a workaround etc.

Liam: please, either directly report it to Debian first [1] or, better,
check if it hasn't been reported yet: it's bug #468087 [2] (cc:ing the
submitter and the bug report as well).

> This seems to be Debian specific.  The missing function
> UNIQUE-DIRECTORY-NAME is now called UNIQUE-DIR-NAME.

Indeed, thank you for having checked that.  However, it seems that
nothing about this change is in the ChangeLog nor in the CVS commit for
slime/swank-loader.lisp [3]:

=====
revision 1.78
date: 2008-02-16 20:26:22 +0100;  author: heller;  state: Exp;  lines: +54 -60
Split loading and initialization (again).

* swank-loader.lisp (init): New.  Delete old packages only if
explicitly requested.  Also, if the swank package already exists
don't load swank again.
(setup): New function.

* swank.lisp (setup): New function.  Moved over here from
swank-loader.lisp.

* slime.el (slime-init-command): Call swank-loader:init.


In the REPL, mark the trailing newline also as input.

* slime.el (slime-repl-send-input): Mark the newline with
the 'slime-repl-old-input property.
(slime-repl-grab-old-input): Strip the newline.
=====

> Peter Van Eynde should probably set *FASL-DIRECTORY* instead of
> hard-coding the paths.

Thank you for the advice, I'll check later about that (FWIW, SLIME is
now in team maintenance [4]).  For the moment, the fix is easy and,
obviously, Debian specific:

--8<---------------cut here---------------start------------->8---
--- swank-loader.lisp.ORG	2008-02-28 18:28:21.000000000 +0100
+++ swank-loader.lisp	2008-02-28 18:30:21.000000000 +0100
@@ -123,7 +123,7 @@
   (let ((cfp (compile-file-pathname src-pathname)))
     (merge-pathnames (make-pathname 
                       :directory
-                      `(:relative "swank" "fasl" ,(unique-directory-name))
+                      `(:relative "swank" "fasl" ,(unique-dir-name))
                       :name (pathname-name cfp)
                       :type (pathname-type cfp))
                      (clc:calculate-fasl-root))))
--8<---------------cut here---------------end--------------->8---

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://bugs.debian.org
[2] http://bugs.debian.org/468087
[3] http://common-lisp.net/cgi-bin/viewcvs.cgi/slime/swank-loader.lisp?root=slime&r1=1.77&r2=1.78
[4] http://pkg-common-lisp.alioth.debian.org



More information about the slime-devel mailing list