Mercurial > emacs
view info/eintr @ 73596:9a0f2c872ea4
* eintr-3: updated `Introduction to Programming in Emacs Lisp'
author | Robert J. Chassell <bob@rattlesnake.com> |
---|---|
date | Tue, 31 Oct 2006 18:05:16 +0000 |
parents | bc8ade3f96b7 |
children |
line wrap: on
line source
This is ../info/eintr, produced by makeinfo version 4.8 from emacs-lisp-intro.texi. INFO-DIR-SECTION Emacs START-INFO-DIR-ENTRY * Emacs Lisp Intro: (eintr). A simple introduction to Emacs Lisp programming. END-INFO-DIR-ENTRY This is an `Introduction to Programming in Emacs Lisp', for people who are not programmers. Edition 3.01, 2006 Oct 31 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. Published by the: GNU Press, Website: http://www.gnupress.org a division of the General: press@gnu.org Free Software Foundation, Inc. Orders: sales@gnu.org 51 Franklin Street, Fifth Floor Tel: +1 (617) 542-5942 Boston, MA 02110-1301 USA Fax: +1 (617) 542-2652 ISBN 1-882114-43-4 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; there being no Invariant Section, with the Front-Cover Texts being "A GNU Manual", and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled "GNU Free Documentation License". (a) The FSF's Back-Cover Text is: "You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development." Indirect: eintr-1: 1466 eintr-2: 299621 eintr-3: 597715 Tag Table: (Indirect) Node: Top1466 Node: Preface20343 Node: Why21442 Node: On Reading this Text22083 Node: Who You Are24247 Node: Lisp History26946 Node: Note for Novices27697 Node: Thank You30156 Node: List Processing30637 Ref: List Processing-Footnote-131530 Node: Lisp Lists31733 Node: Numbers Lists32443 Node: Lisp Atoms33470 Node: Whitespace in Lists37132 Node: Typing Lists38373 Node: Run a Program39453 Node: Making Errors41865 Node: Names & Definitions46779 Node: Lisp Interpreter48613 Node: Complications49666 Node: Byte Compiling51210 Node: Evaluation52253 Node: Evaluating Inner Lists53909 Node: Variables56370 Node: fill-column Example57723 Node: Void Function59202 Node: Void Variable60309 Node: Arguments62088 Ref: Arguments-Footnote-163329 Node: Data types64141 Node: Args as Variable or List66105 Node: Variable Number of Arguments67625 Node: Wrong Type of Argument68430 Ref: Wrong Type of Argument-Footnote-171807 Node: message71874 Ref: message-Footnote-175667 Node: set & setq75841 Node: Using set76423 Node: Using setq78662 Node: Counting80779 Node: Summary82720 Node: Error Message Exercises84493 Node: Practicing Evaluation84990 Node: How to Evaluate85821 Node: Buffer Names87320 Node: Getting Buffers92913 Ref: Getting Buffers-Footnote-195385 Node: Switching Buffers95603 Ref: Switching Buffers-Footnote-198858 Ref: Switching Buffers-Footnote-299130 Node: Buffer Size & Locations99787 Node: Evaluation Exercise101772 Node: Writing Defuns102043 Node: Primitive Functions102890 Node: defun104059 Node: Install110503 Node: Effect of installation111767 Node: Change a defun112560 Node: Interactive114227 Node: Interactive multiply-by-seven115224 Node: multiply-by-seven in detail117032 Node: Interactive Options119649 Node: Permanent Installation122700 Node: let124780 Node: Prevent confusion126047 Node: Parts of let Expression127911 Node: Sample let Expression129430 Ref: Sample let Expression-Footnote-1131160 Node: Uninitialized let Variables131408 Node: if132938 Node: if in more detail133732 Node: type-of-animal in detail136440 Node: else138860 Node: Truth & Falsehood141641 Node: nil explained142489 Node: save-excursion144489 Node: Point and mark145177 Node: Template for save-excursion148134 Node: Review149366 Node: defun Exercises157102 Node: Buffer Walk Through157517 Node: Finding More158301 Node: simplified-beginning-of-buffer162161 Node: mark-whole-buffer166501 Node: mark-whole-buffer overview167255 Node: Body of mark-whole-buffer168614 Node: append-to-buffer171615 Node: append-to-buffer overview172158 Node: append interactive174813 Node: append-to-buffer body177164 Node: append save-excursion179204 Node: Buffer Related Review183970 Node: Buffer Exercises185899 Node: More Complex186332 Node: copy-to-buffer187033 Node: insert-buffer189608 Node: insert-buffer code190606 Node: insert-buffer interactive191605 Node: Read-only buffer192010 Node: b for interactive192622 Node: insert-buffer body193717 Node: if & or194859 Node: Insert or197830 Node: Insert let200029 Node: New insert-buffer203657 Node: beginning-of-buffer204808 Node: Optional Arguments206294 Node: beginning-of-buffer opt arg209529 Node: Disentangle beginning-of-buffer210362 Node: Large buffer case211606 Node: Small buffer case214037 Node: beginning-of-buffer complete215650 Node: Second Buffer Related Review218513 Node: optional Exercise220137 Node: Narrowing & Widening220597 Node: Narrowing advantages221055 Node: save-restriction222933 Node: what-line224816 Node: narrow Exercise228818 Node: car cdr & cons229777 Node: Strange Names230437 Node: car & cdr231436 Node: cons235619 Node: Build a list236470 Ref: Build a list-Footnote-1237958 Node: length238135 Node: nthcdr239613 Node: nth242405 Node: setcar243724 Node: setcdr245925 Node: cons Exercise247381 Node: Cutting & Storing Text247741 Node: Storing Text248710 Node: zap-to-char250722 Node: Complete zap-to-char251583 Node: zap-to-char interactive253483 Node: zap-to-char body254955 Node: search-forward256539 Node: progn259479 Node: Summing up zap-to-char261124 Node: kill-region262201 Node: Complete kill-region263060 Node: condition-case267176 Node: Lisp macro269650 Node: copy-region-as-kill271701 Node: Complete copy-region-as-kill272487 Node: copy-region-as-kill body275238 Node: last-command & this-command276205 Node: kill-append function278454 Node: kill-new function282423 Node: Digression into C292644 Ref: Digression into C-Footnote-1297997 Node: defvar298169 Node: See variable current value299621 Node: defvar and asterisk301483 Node: cons & search-fwd Review303252 Node: search Exercises305766 Node: List Implementation306488 Node: Lists diagrammed307499 Node: Symbols as Chest313466 Node: List Exercise315452 Node: Yanking315779 Node: Kill Ring Overview316978 Node: kill-ring-yank-pointer318625 Node: yank nthcdr Exercises320974 Node: Loops & Recursion321673 Ref: Loops & Recursion-Footnote-1322633 Node: while323132 Node: Looping with while324220 Node: Loop Example325976 Node: print-elements-of-list329264 Node: Incrementing Loop331710 Node: Incrementing Example333229 Node: Inc Example parts335595 Node: Inc Example altogether339440 Node: Decrementing Loop342855 Node: Decrementing Example344127 Node: Dec Example parts345603 Node: Dec Example altogether347554 Node: dolist dotimes349737 Node: dolist350459 Node: dotimes353504 Node: Recursion355024 Node: Building Robots355909 Node: Recursive Definition Parts357616 Node: Recursion with list359996 Node: Recursive triangle function363524 Node: Recursive Example arg of 1 or 2364792 Node: Recursive Example arg of 3 or 4366996 Node: Recursion with cond369924 Node: Recursive Patterns372199 Node: Every372596 Node: Accumulate375030 Node: Keep376263 Node: No Deferment378116 Node: No deferment solution380740 Ref: No deferment solution-Footnote-1384606 Ref: No deferment solution-Footnote-2384707 Node: Looping exercise385199 Node: Regexp Search386374 Node: sentence-end388060 Node: re-search-forward391709 Node: forward-sentence394152 Node: Complete forward-sentence394799 Node: fwd-sentence while loops398175 Node: fwd-sentence re-search401641 Node: forward-paragraph403711 Node: forward-paragraph in brief405275 Node: fwd-para let406716 Node: fwd-para while411864 Node: etags420038 Node: Regexp Review424307 Node: re-search Exercises426629 Node: Counting Words427380 Node: Why Count Words427914 Node: count-words-region428854 Node: Design count-words-region429962 Node: Whitespace Bug436373 Node: recursive-count-words445647 Node: Counting Exercise457450 Node: Words in a defun457809 Node: Divide and Conquer458940 Node: Words and Symbols460162 Node: Syntax462096 Node: count-words-in-defun465666 Node: Several defuns471673 Node: Find a File473989 Node: lengths-list-file476472 Node: Several files481616 Node: lengths-list-many-files482216 Node: append484903 Node: Several files recursively485495 Node: Prepare the data488243 Node: Sorting489915 Node: Files List491510 Node: Counting function definitions498739 Node: Readying a Graph507767 Node: Columns of a graph508867 Node: graph-body-print522150 Node: recursive-graph-body-print526746 Node: Printed Axes529384 Node: Line Graph Exercise530094 Node: Emacs Initialization530271 Node: Default Configuration531049 Ref: Default Configuration-Footnote-1532997 Node: Site-wide Init533294 Node: defcustom535228 Node: Beginning a .emacs File540679 Node: Text and Auto-fill542993 Node: Mail Aliases546786 Node: Indent Tabs Mode547662 Node: Keybindings548577 Node: Keymaps551969 Node: Loading Files554127 Node: Autoload556951 Node: Simple Extension559748 Ref: Simple Extension-Footnote-1562990 Node: X11 Colors563249 Ref: X11 Colors-Footnote-1565065 Node: Miscellaneous565216 Node: Mode Line569316 Node: Debugging574689 Node: debug575254 Node: debug-on-entry578250 Node: debug-on-quit581316 Node: edebug582277 Node: Debugging Exercises586273 Node: Conclusion587931 Node: the-the593082 Node: Kill Ring595798 Node: current-kill597715 Node: Understanding current-kill599878 Node: Digression concerning error603322 Node: Determining the Element604490 Node: yank607913 Node: yank-pop610822 Node: ring file613218 Node: Full Graph613559 Node: Labelled Example614136 Node: print-graph Varlist616110 Node: print-Y-axis617757 Node: Height of label618930 Node: Compute a Remainder620889 Node: Y Axis Element624619 Node: Y-axis-column628160 Node: print-Y-axis Penultimate629737 Node: print-X-axis631580 Node: Similarities differences632691 Node: X Axis Tic Marks633491 Node: Print Whole Graph640329 Node: The final version641067 Node: Test print-graph645290 Node: Graphing words in defuns646868 Node: lambda649415 Node: mapcar651051 Node: Another Bug653005 Node: Final printed graph658447 Node: Free Software and Free Manuals659359 Node: GNU Free Documentation License665605 Node: Index688028 Node: About the Author722782 End Tag Table