Difference between revisions of "IELM"

From WikEmacs
Jump to: navigation, search
(Undo revision 3013 by 37.59.80.67 (talk))
(The simplified code (albeit working) does not represent a proper Emacs hook, so I've restored the original version)
 
(5 intermediate revisions by 2 users not shown)
Line 22: Line 22:
  
 
IELM is bundled with Emacs by default. No additional setup is required.
 
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 =
 
= Common Customization =
 
<!-- Customization common to all platforms goes here -->
 
<!-- Customization common to all platforms goes here -->
  
One thing that many of the shooters on here don't take into aouccnt when selecting a remote trigger method is the absolute reliability that I get with my Pocket Wizards.  Yesterday I shot an event with a very well-known coach of a college football team at one of his youth summer camps.  This was a posed shot of the coach with each individual camper, and I had about 3-5 seconds between each shot, and only got one chance for each photo.  I fired off 802 photos in a row with a set of Pocket Wizard (MultiMax) and a Nikon SB-800 on a light stand, and got 802 flash fires.  That is 100.00% firing reliability, which is exactly what was required in this situation.  Do you get that type of reliability with your eBay remotes?Richardp.s. I can post a shot of the setup, although it is so simple it is almost boring.
+
== Show {{ModeLink|eldoc}} in IELM ==
 +
<source lang="lisp">
 +
(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)))
 +
</source>
  
 
= Recommended Reading =
 
= Recommended Reading =

Latest revision as of 04:20, 23 July 2012

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[edit]

IELM is bundled with Emacs by default. No additional setup is required.

Common Customization[edit]

Show eldoc in IELM[edit]

(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[edit]


Tutorial Pages[edit]

IELM: A REPL for Emacs