quicklisp-slime-helper icon indicating copy to clipboard operation
quicklisp-slime-helper copied to clipboard

Prefer loading SLIME from the local-projects directory.

Open gonzojive opened this issue 7 years ago • 3 comments

Modifiy the .el template to look in the local-projects directory before the dist/ directory of quicklisp.

gonzojive avatar Apr 25 '18 00:04 gonzojive

@quicklisp would you please reconsider this? Slime has a bug with emacs 28 that's fixed in their github master since jan 2021, but the latest release was in dec 2020. It's effectively broken atm, and this is the one package we can't override in quicklisp.

hraban avatar Nov 02 '21 04:11 hraban

I just dug a little deeper and apparently there's a(nother) layer of indirection built into slime loading. Through a file called swank.txt. You can load local slime like this:

cd ~/quicklisp
mv dists/quicklisp/installed/systems/swank.txt{,.orig}
echo local-projects/slime/swank.asd > dists/quicklisp/installed/systems/swank.txt

So if you're struggling with this error ( https://github.com/slime/slime/issues/594 ): "error '(wrong-number-of-arguments (3 . 4) 2)'" in function "define-obsolete-variable-alias", you can fix it by running the above snippet, and:

mkdir -p ~/quicklisp/local-projects
cd ~/quicklisp/local-projects
git clone https://github.com/slime/slime

and you should be good to go with Emacs 28, Slime, Quicklisp, and the quicklisp slime helper

hraban avatar Nov 02 '21 04:11 hraban

In the interim, if quicklisp-slime-helper does not work for you, don't use it - use the install instructions from slime instead.

On Tue, Nov 2, 2021 at 12:46 AM Hraban Luyat @.***> wrote:

I just dug a little deeper and apparently there's a(nother) layer of indirection built into slime loading. Through a file called swank.txt. You can load local slime like this:

cd ~/quicklisp mv dists/quicklisp/installed/systems/swank.txt{,.orig}echo local-projects/slime/swank.asd > dists/quicklisp/installed/systems/swank.txt

So if you're struggling with this error ( slime/slime#594 https://github.com/slime/slime/issues/594 ): "error '(wrong-number-of-arguments (3 . 4) 2)'" in function "define-obsolete-variable-alias", you can fix it by running the above snippet, and:

mkdir -p ~/quicklisp/local-projects cd ~/quicklisp/local-projects git clone https://github.com/slime/slime

and you should be good to go with Emacs 28, Slime, Quicklisp, and the quicklisp slime helper

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/quicklisp/quicklisp-slime-helper/pull/22#issuecomment-957098573, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPNLOFXHOHU76ZVYZCXADUJ5UJFANCNFSM4E4KMRUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

quicklisp avatar Nov 02 '21 11:11 quicklisp