Slime-connect does not work

I start with Emacs and Common Lisp. I have successfully installed SLIME in my Emacs, but I cannot run it. Alt+ x slime-connectprovides the following accept parameters, which gives an error inserted below the parameters.

Host: 127.0.0.1
Port: 4005

Connecting to Swank on port 4005...
make client process failed: connection refused, :name, SLIME Lisp, :buffer, nil,
                                                :host, 127.0.0.1, :service 4005,
                                                :nowait, nil

How do I make this work?

+3
source share
1 answer
  • To correct a space, escape it with a double backslash.

  • When you execute slime-connect, it is expected that the Lisp image (Lisp runtime) will be raised and listened on the server and port to which you are connecting. Perhaps you didn’t mean it.

  • slimewill start first inferior-lisp-program, and then connect to it. This is what you want to do, really.

https://github.com/quicklisp/quicklisp-slime-helper , , , ( ). , . - , quicklisp - -, , , , Lisp SLIME, Emacs. , ,

  • Lisp, .

  • quicklisp. ( : http://www.quicklisp.org/beta/, , Windows Cygwin , " " ":). SBCL, lisp -load. - : Lisp, REPL: (load "quicklisp.lisp"), , quicklisp.lisp. , : (directory ".").

  • README quicklisp-slime . , , quicklisp, :

    ( "c:/full-path-to/quicklisp/slime-helper.el" )

.emacs.

* nix-, , aka $HOME, , , Emacs. , quicklisp-slime-helper slime ( , -), , - :

(add-to-list 'load-path "/path/to/slime")
(require 'slime)

, quicklisp-slime-helper, .

PS. Re '

(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))

, / ? inferior-slime-mode? , . , () C-h f?

+6

All Articles