Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><em>Emacs Lisp</em> and <em>Common Lisp</em> (SBCL is an implementation of it) are two <strong>different</strong> languages; it is as if you were asking how to call Java's <code>System.out.println</code> from your Emacs Lisp.</p> <p>Emacs Lisp is used to extend and customize the behavior or Emacs.</p> <p>Common Lisp is a general purpose programming language, of which there are several implementations, SBCL being one of them. It is not related to Emacs or Emacs Lisp (except, perhaps historically and culturally).</p> <p>SLIME is a tool to talk to a running <em>Common Lisp</em> image from inside Emacs, you must first start it with <code>M-x slime</code>; after you have started SLIME, you can send forms to your running Common Lisp image (SBCL in your case) within the <code>*slime-repl sbcl*</code> buffer.</p> <p>You will find another buffer named <code>*scratch*</code> where you can type and evaluate <em>Emacs Lisp</em> forms. Just remember that this has nothing to do with Common Lisp.</p> <p>But, you need to be aware that there is an Emacs Lisp extension that adds many Common Lisp constructs to Emacs Lisp, but it is still Emacs Lisp, don't get confused if you read something about that.</p> <p>Yeah it may be confusing at first, but don't worry, it's only temporal.</p> <p><strong>Edit:</strong> I would like to add that if you are interested in Common Lisp, you should read one or all of the following books:</p> <ul> <li><a href="http://www.cs.cmu.edu/~dst/LispBook/" rel="nofollow">Common Lisp: A Gentle Introduction to Symbolic Computation</a></li> <li><a href="http://landoflisp.com/" rel="nofollow">Land of Lisp</a></li> <li><a href="http://gigamonkeys.com/book/" rel="nofollow">Practical Common Lisp</a></li> </ul> <p>On the other hand, if you are interested in extending and customizing Emacs itself, you should read the following book:</p> <ul> <li><a href="http://www.gnu.org/software/emacs/emacs-lisp-intro/emacs-lisp-intro.pdf" rel="nofollow">http://www.gnu.org/software/emacs/emacs-lisp-intro/emacs-lisp-intro.pdf</a></li> </ul> <p>Good luck.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload