The Interactive Emacs-Lisp Mode
http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/ M-x ielm The Interactive Emacs-Lisp ModeThis is a fantastic, and hidden, gem in Emacs: a proper REPL. Type M-x ielm to run the elisp REPL. It comes with all the useful features you would expect from an interactive shell, like *, ** and *** to get the last three outputs from the shell. Multi-line commands are fully supporte..