Difference between revisions of "IELM"
Jump to navigation
Jump to search
(rm spam. aargh...) |
(→Show {{ModeLink|eldoc}} in IELM: Why complicate matters?) |
||
Line 28: | Line 28: | ||
== Show {{ModeLink|eldoc}} in IELM == | == Show {{ModeLink|eldoc}} in IELM == | ||
<source lang="lisp"> | <source lang="lisp"> | ||
− | ( | + | (add-hook 'ielm-mode-hook #'(lambda () (turn-on-eldoc-mode))) |
− | |||
− | |||
− | |||
− | |||
− | |||
</source> | </source> | ||
Revision as of 21:24, 22 July 2012
Description | Emacs Lisp REPL |
---|---|
Author | David Smith |
Part of Emacs | yes |
IELM (Interactive Emacs Lisp Mode) is a nice mode that gives you an interactive Emacs Lisp shell (or a REPL 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.
Basic setup
IELM is bundled with Emacs by default. No additional setup is required.
Common Customization
Show eldoc in IELM
(add-hook 'ielm-mode-hook #'(lambda () (turn-on-eldoc-mode)))
Recommended Reading