5

Can someone explain all the differences in the various lisp modes (inferior, superior, slime, cider)? Which came first? Which are extra packages? What should one use?

  • Please clarify which lisp you'd like to use. If it's common lisp, you're probably going to use slime; if it's clojure, then cider. You're unlikely to want to interact directly with inferior-lisp-mode, as it's going to be much more bare-bones by comparison (that is, of course, unless you want bare-bones). – Dan Aug 4 '15 at 17:05
  • I'm looking for which lisp applies to which mode. – Justin Thomas Aug 4 '15 at 17:13
8

When you run a process inside Emacs, that process is "inferior" (i.e. a subprocess).

IELM M-x ielm is the builtin Inferior Emacs Lisp Mode. It's relatively featureless, but can definitely come in handy. (Esp. for learning Elisp)

SLIME, the Superior Lisp Interaction Mode for Emacs, is mostly a joke on the whole "inferior" process name. SLIME is used primarily for Common Lisp (although it can be used with other lisps to varying degrees via extensions). It boasts a large variety of "superior" functions, including debugging, interactive REPLs, and various IDE like functions.

CIDER, the Clojure Interactive Development Environment that Rocks for Emacs, is something like SLIME but for Clojure. (Clojure itself being a rather curious lisp that needs some extra work to interface with)

  • Does using C-x C-e send to the proper mode depending on file type? – Justin Thomas Aug 4 '15 at 17:13
  • 1
    @JustinThomas that may belong in a new question. – PythonNut Aug 4 '15 at 17:20
  • 2
    You probably want to add Emacs Lisp interpreter (IELM) as another bullet point. C-x C-e in programming modes, is typically bound to sending the preceding expression to the interpreter for that language, and, in particular, this is true for Emacs Lisp, where Emacs itself acts as an interpreter. – wvxvw Aug 4 '15 at 19:42
  • 1
    @24HrRevengeTherapist I have not, but that looks ridiculously awesome. – PythonNut Oct 20 '15 at 18:20
  • 1
    Note that the Scheme equivalent of these tools is Geiser. – Wilfred Hughes Feb 19 '17 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.