Slime and ASDF
Stas Boukarev
stassats at gmail.com
Thu Mar 1 12:33:39 UTC 2018
I won't be against swank loaded using asdf placing its fasls wherever asdf
places them.
On Thu, Mar 1, 2018 at 1:54 PM Attila Lendvai <attila at lendvai.name> wrote:
> [moving this to slime-devel]
>
>
> > I recently banged my head against something similar. Turns out, mcclim
> loads
> > swank, so be sure to delete .slime/fasl too.
>
>
> been there... that's why my slime locally uses
> asdf:apply-output-translations for a few years now.
>
> slime used to be proudly ASDF free, but maybe that's something to
> reconsider, at least with an optional support.
>
> this is what i'm running with (which i don't recommend for inclusion
> in this form):
>
> (defun binary-pathname (src-pathname binary-dir)
> "Return the pathname where SRC-PATHNAME's binary should be compiled."
> + (declare (ignore binary-dir))
> + #+asdf
> + (asdf:apply-output-translations src-pathname)
> + #-asdf
> (let ((cfp (compile-file-pathname src-pathname)))
> (merge-pathnames (make-pathname :name (pathname-name cfp)
> :type (pathname-type cfp)))))
>
> but if the maintainers are open for this direction, then i may look
> into packaging up and testing a PR for integrating ASDF properly, and
> optionally.
>
> and not forgetting this either: https://github.com/slime/slime/pull/282/
>
> currently swank can break in funny ways when used together with ASDF.
> e.g. :depends-on (:swank) can be a source of great bafflement when it
> reloads swank and undo's half of the contrib's, leaving some stuff
> crippled. and the .slime/fasl dir can also bite you when you thought
> you have deleted the fasl's, except one outlier.
>
> --
> • attila lendvai
> • PGP: 963F 5D5F 45C7 DFCD 0A39
> --
> “A teacher is never a giver of truth - he is a guide, a pointer to the
> truth that each student must find for himself. A good teacher is
> merely a catalyst.”
> — Bruce Lee (1940–1973)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20180301/ac030f0a/attachment.html>
More information about the slime-devel
mailing list