When I first installed Slime, I used to install things via the classic M-x and package-install. Then, I inserted the following configuration:

(slime-setup '(slime-fancy slime-asdf slime-indentation slime-sbcl-exts slime-scratch))

(setq slime-lisp-implementations
      '((sbcl ("/home/pedro/projects/nyxt.sh" ""))))

This used to work out. Now, I have moved to a new machine and I have not used classic installation yet (M-x and package-install).

I want to do everything via use-package.

I am especially unsure about how to handle the expressions creating the slime-setup.

This is my first attempt:

(use-package slime
  :ensure t
    (setq slime-lisp-implementations
          '((sbcl ("/home/pedro/projects/nyxt.sh" ""))))
    (slime-setup '(slime-fancy slime-asdf slime-indentation slime-sbcl-exts slime-scratch)))

After re-starting Emacs, things seem to work fine. However, when I try to start Slime with M-x slime, the following error message is retrieved:

apply: Doing vfork: No such file or directory [2 times]


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.