Difference between revisions of "IELM"

From WikEmacs
Jump to: navigation, search
(Anh chau may voi nhau nhin nha)
(The simplified code (albeit working) does not represent a proper Emacs hook, so I've restored the original version)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Hello my friend heres my new gig easy as it looks Ill send u a total of 5350++ backlinks to your website in 2 tiers. This gig its for 1 website and up to 5 keywords. First tier to your main website 350 page rank 1-5 and the the second tier of 5000 profile backlinks pointing to your first tier.Ill send u a report in a txt file in less than 48 hours.Any question just send me a private message
+
{{package
 +
| name=IELM
 +
| description=Emacs Lisp REPL
 +
| author=David Smith
 +
| maintainer=
 +
| source=
 +
| in_emacs=yes
 +
}}
 +
 
 +
'''IELM (Interactive Emacs Lisp Mode)''' is a nice mode that gives you an interactive [[Emacs Lisp]] shell (or a {{Acronym|REPL|Read-Eval-Print Loop}} if you prefer) that you can use for exploratory programming.  You can start it by pressing {{Command|ielm}}. You'll be taken to a buffer named {{Buffer|*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.  
 +
 
 +
<!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------>
 +
<!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------>
 +
<!-----YOU DON"T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------>
 +
<!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------>
 +
 
 +
 
 +
 
 +
<!------------------------------------------------------------------------->
 +
 
 +
= Basic setup =
 +
 
 +
IELM is bundled with Emacs by default. No additional setup is required.
 +
 
 +
= Common Customization =
 +
<!-- Customization common to all platforms goes here -->
 +
 
 +
== 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 =
 +
<!-- Only internal links. DO NOT insert EXTERNAL LINKS -->
 +
* [[Emacs Lisp]]
 +
* [[REPL]]
 +
 
 +
 
 +
<!------------------------------------------------------------------------->
 +
 
 +
= Tutorial Pages =
 +
[http://emacs-fu.blogspot.com/2011/03/ielm-repl-for-emacs.html IELM: A REPL for Emacs]
 +
 
 +
<!------------------------------------------------------------------------->
 +
<!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  -->
 +
 
 +
[[Category:Beginner]][[Category:Lisp]][[Category:Programming]]

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