Search code examples
common-lispslime

Inferior-lisp not responding on sldb-quit


I just started learning common lisp, so excuse me if lisp terminology is a bit off. I installed slime and am using Clozure CL. ccl is working just fine. When I enter a wrong expression, the debugger opens (slbc ccl/1 buffer). When I enter q, the debugger buffer closes, and then the inferior-lisp buffer does not respond. Why is that? and if I want to continue work, I seem to have to restart inferior-lisp, what is it I am doing wring?


Solution

  • I just wanted to say put out the solution I found.

    I had followed the instructions in the slime's user manual (from here), I used MALPA repository to install slime.

    As PuercoPop's says in the comments, i should land in a slime-repl buffer, which I didn't have by default. I did some further digging and learnt that i have to add a few more line to my .emacs file for the slime-repl buffer to load. The line needed was

    (slime-setup '(slime-fancy))
    

    My final .emacs file looks like this:

    (require 'package)
    (add-to-list 'package-archives
                 '("melpa" . "https://melpa.org/packages/"))
    (when (< emacs-major-version 24)
      (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
    (package-initialize)
    (setq package-enable-at-startup nil)
    (setq inferior-lisp-program "F:/Binaries/ccl/wx86cl64.exe")
    (setq slime-auto-connect 'ask)
    (setq slime-net-coding-system 'utf-8-unix)
    (require  'slime)
    (slime-setup
     '(slime-fancy slime-asdf slime-references slime-indentation slime-xref-browser)
    )