Difference between revisions of "IELM"
(rm spam. aargh...)
(The simplified code (albeit working) does not represent a proper Emacs hook, so I've restored the original version)
|(One intermediate revision by one user not shown)|
Latest revision as of 05:20, 23 July 2012
|Description||Emacs Lisp REPL|
|Part of Emacs||yes|
IELM (Interactive Emacs Lisp Mode) is a nice mode that gives you an interactive Emacs Lisp shell (or a if you prefer) that you can use for exploratory programming. You can start it by pressing M-x ielm. You'll be taken to a buffer named "*ielm*", where Emacs Lisp expressions you've entered will be evaluated on pressing the Return key. IELM offers some nice features like tab autocompletion of symbol names and the ability to span an expression over several lines.
IELM is bundled with Emacs by default. No additional setup is required.
(defun my-ielm-mode-defaults () (turn-on-eldoc-mode)) (setq my-ielm-mode-hook 'my-ielm-mode-defaults) (add-hook 'ielm-mode-hook (lambda () (run-hooks 'my-ielm-mode-hook)))