IELM

From WikEmacs
Revision as of 14:08, 20 July 2012 by Maechler (talk | contribs) (Undo revision 2927 by 188.143.232.12 (talk))
Jump to navigation Jump to search
IELM
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.

Sarah / I'm trying to use this theme for a celint and it's generating this error: Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, mytheme_add_admin' was given in /home1/webdcmar/public_html/wp-includes/plugin.php on line 395Can you please double-check this and email me if you've corrected for the problem? The old version of Handgloves isn't even upload-able anymore. Just generates a string of errors. Thanks!

Common Customization

Show eldoc in IELM

(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)))

Recommended Reading


Tutorial Pages

IELM: A REPL for Emacs