home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / GNU / emacs.inst / emacs19.idb / usr / gnu / info / elisp-1.z / elisp-1
Encoding:
GNU Info File  |  1994-08-02  |  34.9 KB  |  759 lines

  1. This is Info file elisp, produced by Makeinfo-1.55 from the input file
  2. elisp.texi.
  3.  
  4.    This version is newer than the second printed edition of the GNU
  5. Emacs Lisp Reference Manual.  It corresponds to Emacs Version 19.19.
  6.  
  7.    Published by the Free Software Foundation 675 Massachusetts Avenue
  8. Cambridge, MA 02139 USA
  9.  
  10.    Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
  11.  
  12.    Permission is granted to make and distribute verbatim copies of this
  13. manual provided the copyright notice and this permission notice are
  14. preserved on all copies.
  15.  
  16.    Permission is granted to copy and distribute modified versions of
  17. this manual under the conditions for verbatim copying, provided that
  18. the entire resulting derived work is distributed under the terms of a
  19. permission notice identical to this one.
  20.  
  21.    Permission is granted to copy and distribute translations of this
  22. manual into another language, under the above conditions for modified
  23. versions, except that this permission notice may be stated in a
  24. translation approved by the Foundation.
  25.  
  26.    Permission is granted to copy and distribute modified versions of
  27. this manual under the conditions for verbatim copying, provided also
  28. that the section entitled "GNU Emacs General Public License" is included
  29. exactly as in the original, and provided that the entire resulting
  30. derived work is distributed under the terms of a permission notice
  31. identical to this one.
  32.  
  33.    Permission is granted to copy and distribute translations of this
  34. manual into another language, under the above conditions for modified
  35. versions, except that the section entitled "GNU Emacs General Public
  36. License" may be included in a translation approved by the Free Software
  37. Foundation instead of in the original English.
  38.  
  39. 
  40. File: elisp,  Node: Top,  Next: Copying,  Prev: (dir),  Up: (dir)
  41.  
  42.    This Info file contains the second edition of the GNU Emacs Lisp
  43. Reference Manual, corresponding to GNU Emacs version 19.19.
  44.  
  45. * Menu:
  46.  
  47. * Copying::                 Conditions for copying and changing GNU Emacs.
  48. * Introduction::            Introduction and conventions used.
  49.  
  50. * Types of Lisp Object::    Data types in Emacs Lisp.
  51. * Numbers::                 Numbers and arithmetic functions.
  52. * Strings and Characters::  Strings, and functions that work on them.
  53. * Lists::                   Lists, cons cells, and related functions.
  54. * Sequences Arrays Vectors::  Lists, strings and vectors are called sequences.
  55.                                 Certain functions act on any kind of sequence.
  56.                                 The description of vectors is here as well.
  57. * Symbols::                 Symbols represent names, uniquely.
  58.  
  59. * Evaluation::              How Lisp expressions are evaluated.
  60. * Control Structures::      Conditionals, loops, nonlocal exits.
  61. * Variables::               Using symbols in programs to stand for values.
  62. * Functions::               A function is a Lisp program
  63.                               that can be invoked from other functions.
  64. * Macros::                  Macros are a way to extend the Lisp language.
  65.  
  66. * Loading::                 Reading files of Lisp code into Lisp.
  67. * Byte Compilation::        Compilation makes programs run faster.
  68. * Debugging::               Tools and tips for debugging Lisp programs.
  69.  
  70. * Streams::                 Converting Lisp objects to text and back.
  71. * Minibuffers::             Using the minibuffer to read input.
  72. * Command Loop::            How the editor command loop works,
  73.                               and how you can call its subroutines.
  74. * Keymaps::                 Defining the bindings from keys to commands.
  75. * Modes::                   Defining major and minor modes.
  76. * Documentation::           Writing and using documentation strings.
  77.  
  78. * Files::                   Accessing files.
  79. * Backups and Auto-Saving:: Controlling how backups and auto-save
  80.                               files are made.
  81. * Buffers::                 Creating and using buffer objects.
  82. * Windows::                 Manipulating windows and displaying buffers.
  83. * Frames::            Making multiple X windows.
  84. * Positions::               Buffer positions and motion functions.
  85. * Markers::                 Markers represent positions and update
  86.                               automatically when the text is changed.
  87.  
  88. * Text::                    Examining and changing text in buffers.
  89. * Searching and Matching::  Searching buffers for strings or regexps.
  90. * Syntax Tables::           The syntax table controls word and list parsing.
  91. * Abbrevs::                 How Abbrev mode works, and its data structures.
  92.  
  93. * Processes::               Running and communicating with subprocesses.
  94. * System Interface::        Getting the user id, system type, environment
  95.                               variables, and other such things.
  96. * Display::                Parameters controlling screen usage.
  97.                               The bell.  Waiting for input.
  98. * Calendar::            Customizing the calendar and diary.
  99.  
  100. Appendices
  101.  
  102. * Tips::                    Advice for writing Lisp programs.
  103. * GNU Emacs Internals::     Building and dumping Emacs;
  104.                               internal data structures.
  105. * Standard Errors::         List of all error symbols.
  106. * Standard Buffer-Local Variables::  List of variables local in all buffers.
  107. * Standard Keymaps::        List of standard keymaps.
  108. * Standard Hooks::          List of standard hook variables.
  109.  
  110. * Antinews::            Information about Emacs 18.
  111.  
  112. * Index::                   Index including concepts, functions, variables,
  113.                               and other terms.
  114.  
  115.       -- The Detailed Node Listing --
  116.  
  117. Here are other nodes that are inferiors of those already listed,
  118. mentioned here so you can get to them in one step:
  119.  
  120. Introduction
  121.  
  122. * Caveats::                 Flaws and a request for help.
  123. * Lisp History::            Emacs Lisp is descended from Maclisp.
  124. * Conventions::             How the manual is formatted.
  125. * Acknowledgements::        The authors, editors, and sponsors of this manual.
  126.  
  127. Conventions
  128.  
  129. * Some Terms::              Explanation of terms we use in this manual.
  130. * nil and t::               How the symbols `nil' and `t' are used.
  131. * Evaluation Notation::     The format we use for examples of evaluation.
  132. * Printing Notation::       The format we use for examples that print output.
  133. * Error Messages::          The format we use for examples of errors.
  134. * Buffer Text Notation::    The format we use for buffer contents in examples.
  135. * Format of Descriptions::  Notation for describing functions, variables, etc.
  136.  
  137. Format of Descriptions
  138.  
  139. * A Sample Function Description::
  140. * A Sample Variable Description::
  141.  
  142. Lisp Data Types
  143.  
  144. * Printed Representation::  How Lisp objects are represented as text.
  145. * Comments::                Comments and their formatting conventions.
  146. * Programming Types::       Types found in all Lisp systems.
  147. * Editing Types::           Types specific to Emacs.
  148. * Type Predicates::         Tests related to types.
  149. * Equality Predicates::     Tests of equality between any two objects.
  150.  
  151. Programming Types
  152.  
  153. * Integer Type::        Numbers without fractional parts.
  154. * Floating Point Type:: Numbers with fractional parts and with a large range.
  155. * Character Type::      The representation of letters, numbers and
  156.                         control characters.
  157. * Sequence Type::       Both lists and arrays are classified as sequences.
  158. * List Type::           Lists gave Lisp its name (not to mention reputation).
  159. * Array Type::          Arrays include strings and vectors.
  160. * String Type::         An (efficient) array of characters.
  161. * Vector Type::         One-dimensional arrays.
  162. * Symbol Type::         A multi-use object that refers to a function,
  163.                         variable, property list, or itself.
  164. * Lisp Function Type::  A piece of executable code you can call from elsewhere.
  165. * Lisp Macro Type::     A method of expanding an expression into another
  166.                           expression, more fundamental but less pretty.
  167. * Primitive Function Type::     A function written in C, callable from Lisp.
  168. * Byte-Code Type::      A function written in Lisp, then compiled.
  169. * Autoload Type::       A type used for automatically loading seldom-used
  170.                         functions.
  171.  
  172. List Type
  173.  
  174. * Dotted Pair Notation::    An alternative syntax for lists.
  175. * Association List Type::   A specially constructed list.
  176.  
  177. Editing Types
  178.  
  179. * Buffer Type::             The basic object of editing.
  180. * Window Type::             What makes buffers visible.
  181. * Window Configuration Type::Save what the screen looks like.
  182. * Marker Type::             A position in a buffer.
  183. * Process Type::            A process running on the underlying OS.
  184. * Stream Type::             Receive or send characters.
  185. * Keymap Type::             What function a keystroke invokes.
  186. * Syntax Table Type::       What a character means.
  187.  
  188. Numbers
  189.  
  190. * Integer Basics::            Representation and range of integers.
  191. * Float Basics::          Representation and range of floating point.
  192. * Predicates on Numbers::     Testing for numbers.
  193. * Comparison of Numbers::     Equality and inequality predicates.
  194. * Arithmetic Operations::     How to add, subtract, multiply and divide.
  195. * Bitwise Operations::        Logical and, or, not, shifting.
  196. * Numeric Conversions::          Converting float to integer and vice versa.
  197. * Transcendental Functions::  Trig, exponential and logarithmic functions.
  198. * Random Numbers::            Obtaining random integers, predictable or not.
  199.  
  200. Strings and Characters
  201.  
  202. * Intro to Strings::        Basic properties of strings and characters.
  203. * Predicates for Strings::  Testing whether an object is a string or char.
  204. * Creating Strings::        Functions to allocate new strings.
  205. * Text Comparison::         Comparing characters or strings.
  206. * String Conversion::       Converting characters or strings and vice versa.
  207. * Formatting Strings::      `format': Emacs's analog of `printf'.
  208. * Character Case::          Case conversion functions.
  209.  
  210. Lists
  211.  
  212. * Cons Cells::              How lists are made out of cons cells.
  213. * Lists as Boxes::          Graphical notation to explain lists.
  214. * List-related Predicates:: Is this object a list?  Comparing two lists.
  215. * List Elements::           Extracting the pieces of a list.
  216. * Building Lists::          Creating list structure.
  217. * Modifying Lists::         Storing new pieces into an existing list.
  218. * Sets And Lists::          A list can represent a finite mathematical set.
  219. * Association Lists::       A list can represent a finite relation or mapping.
  220.  
  221. Modifying Existing List Structure
  222.  
  223. * Setcar::                  Replacing an element in a list.
  224. * Setcdr::                  Replacing part of the list backbone.
  225.                               This can be used to remove or add elements.
  226. * Rearrangement::           Reordering the elements in a list; combining lists.
  227.  
  228. Sequences, Arrays, and Vectors
  229.  
  230. * Sequence Functions::      Functions that accept any kind of sequence.
  231. * Arrays::                  Characteristics of arrays in Emacs Lisp.
  232. * Array Functions::         Functions specifically for arrays.
  233. * Vectors::                 Functions specifically for vectors.
  234.  
  235. Symbols
  236.  
  237. * Symbol Components::       Symbols have names, values, function definitions
  238.                               and property lists.
  239. * Definitions::             A definition says how a symbol will be used.
  240. * Creating Symbols::        How symbols are kept unique.
  241. * Property Lists::          Each symbol has a property list
  242.                               for recording miscellaneous information.
  243.  
  244. Evaluation
  245.  
  246. * Intro Eval::              Evaluation in the scheme of things.
  247. * Eval::                    How to invoke the Lisp interpreter explicitly.
  248. * Forms::                   How various sorts of objects are evaluated.
  249. * Quoting::                 Avoiding evaluation (to put constants in
  250.                               the program).
  251.  
  252. Kinds of Forms
  253.  
  254. * Self-Evaluating Forms::   Forms that evaluate to themselves.
  255. * Symbol Forms::            Symbols evaluate as variables.
  256. * Classifying Lists::       How to distinguish various sorts of list forms.
  257. * Function Forms::          Forms that call functions.
  258. * Macro Forms::             Forms that call macros.
  259. * Special Forms::           "Special forms" are idiosyncratic primitives,
  260.                               most of them extremely important.
  261. * Autoloading::             Functions set up to load files
  262.                               containing their real definitions.
  263.  
  264. Control Structures
  265.  
  266. * Sequencing::              Evaluation in textual order.
  267. * Conditionals::            `if', `cond'.
  268. * Combining Conditions::    `and', `or', `not'.
  269. * Iteration::               `while' loops.
  270. * Nonlocal Exits::          Jumping out of a sequence.
  271.  
  272. Nonlocal Exits
  273.  
  274. * Catch and Throw::         Nonlocal exits for the program's own purposes.
  275. * Examples of Catch::       Showing how such nonlocal exits can be written.
  276. * Errors::                  How errors are signaled and handled.
  277. * Cleanups::                Arranging to run a cleanup form if an
  278.                               error happens.
  279.  
  280. Errors
  281.  
  282. * Signaling Errors::        How to report an error.
  283. * Processing of Errors::    What Emacs does when you report an error.
  284. * Handling Errors::         How you can trap errors and continue execution.
  285. * Error Names::             How errors are classified for trapping them.
  286.  
  287. Variables
  288.  
  289. * Global Variables::        Variable values that exist permanently, everywhere.
  290. * Constant Variables::      Certain "variables" have values that never change.
  291. * Local Variables::         Variable values that exist only temporarily.
  292. * Void Variables::          Symbols that lack values.
  293. * Defining Variables::      A definition says a symbol is used as a variable.
  294. * Accessing Variables::     Examining values of variables whose names
  295.                               are known only at run time.
  296. * Setting Variables::       Storing new values in variables.
  297. * Variable Scoping::        How Lisp chooses among local and global values.
  298. * Buffer-Local Variables::  Variable values in effect only in one buffer.
  299.  
  300. Scoping Rules for Variable Bindings
  301.  
  302. * Scope::                   Scope means where in the program a value
  303.                               is visible.  Comparison with other languages.
  304. * Extent::                  Extent means how long in time a value exists.
  305. * Impl of Scope::           Two ways to implement dynamic scoping.
  306. * Using Scoping::           How to use dynamic scoping carefully and
  307.                               avoid problems.
  308.  
  309. Buffer-Local Variables
  310.  
  311. * Intro to Buffer-Local::   Introduction and concepts.
  312. * Creating Buffer-Local::   Creating and destroying buffer-local bindings.
  313. * Default Value::           The default value is seen in buffers
  314.                               that don't have their own local values.
  315.  
  316. Functions
  317.  
  318. * What Is a Function::      Lisp functions vs primitives; terminology.
  319. * Lambda Expressions::      How functions are expressed as Lisp objects.
  320. * Function Names::          A symbol can serve as the name of a function.
  321. * Defining Functions::      Lisp expressions for defining functions.
  322. * Calling Functions::       How to use an existing function.
  323. * Mapping Functions::       Applying a function to each element of a list, etc.
  324. * Anonymous Functions::     Lambda-expressions are functions with no names.
  325. * Function Cells::          Accessing or setting the function definition
  326.                               of a symbol.
  327. * Related Topics::          Cross-references to specific Lisp primitives
  328.                               that have a special bearing on how
  329.                               functions work.
  330.  
  331. Lambda Expressions
  332.  
  333. * Lambda Components::       The parts of a lambda expression.
  334. * Simple Lambda::           A simple example.
  335. * Argument List::           Details and special features of argument lists.
  336. * Function Documentation::  How to put documentation in a function.
  337.  
  338. Macros
  339.  
  340. * Simple Macro::            A basic example.
  341. * Expansion::               How, when and why macros are expanded.
  342. * Compiling Macros::        How macros are expanded by the compiler.
  343. * Defining Macros::         How to write a macro definition.
  344. * Backquote::               Easier construction of list structure.
  345. * Problems with Macros::    Don't evaluate the macro arguments too many times.
  346.                                Don't hide the user's variables.
  347.  
  348. Loading
  349.  
  350. * How Programs Do Loading:: The `load' function and others.
  351. * Autoload::                Setting up a function to autoload.
  352. * Features::                Loading a library if it isn't already loaded.
  353. * Repeated Loading::        Precautions about loading a file twice.
  354.  
  355. Byte Compilation
  356.  
  357. * Compilation Functions::   Byte compilation functions.
  358. * Disassembly::             Disassembling byte-code; how to read byte-code.
  359.  
  360. Debugging Lisp Programs
  361.  
  362. * Debugger::                How the Emacs Lisp debugger is implemented.
  363. * Syntax Errors::           How to find syntax errors.
  364. * Compilation Errors::      How to find errors that show up in
  365.                               byte compilation.
  366.  
  367. The Lisp Debugger
  368.  
  369. * Error Debugging::         Entering the debugger when an error happens.
  370. * Function Debugging::      Entering it when a certain function is called.
  371. * Explicit Debug::          Entering it at a certain point in the program.
  372. * Using Debugger::          What the debugger does; what you see while in it.
  373. * Debugger Commands::       Commands used while in the debugger.
  374. * Invoking the Debugger::   How to call the function `debug'.
  375. * Internals of Debugger::   Subroutines of the debugger, and global variables.
  376.  
  377. Debugging Invalid Lisp Syntax
  378.  
  379. * Excess Open::             How to find a spurious open paren or missing close.
  380. * Excess Close::            How to find a spurious close paren or missing open.
  381.  
  382. Reading and Printing Lisp Objects
  383.  
  384. * Streams Intro::           Overview of streams, reading and printing.
  385. * Input Streams::           Various data types that can be used as
  386.                               input streams.
  387. * Input Functions::         Functions to read Lisp objects from text.
  388. * Output Streams::          Various data types that can be used as
  389.                               output streams.
  390. * Output Functions::        Functions to print Lisp objects as text.
  391.  
  392. Minibuffers
  393.  
  394. * Intro to Minibuffers::    Basic information about minibuffers.
  395. * Text from Minibuffer::    How to read a straight text string.
  396. * Object from Minibuffer::  How to read a Lisp object or expression.
  397. * Completion::              How to invoke and customize completion.
  398. * Yes-or-No Queries::       Asking a question with a simple answer.
  399. * Minibuffer Misc::         Various customization hooks and variables.
  400.  
  401. Completion
  402.  
  403. * Basic Completion::        Low-level functions for completing strings.
  404.                               (These are too low level to use the minibuffer.)
  405. * Programmed Completion::   Finding the completions for a given file name.
  406. * Minibuffer Completion::   Invoking the minibuffer with completion.
  407. * Completion Commands::     Minibuffer commands that do completion.
  408. * High-Level Completion::   Convenient special cases of completion
  409.                               (reading buffer name, file name, etc.)
  410. * Reading File Names::      Using completion to read file names.
  411. * Lisp Symbol Completion::  Completing the name of a symbol.
  412.  
  413. Command Loop
  414.  
  415. * Command Overview::    How the command loop reads commands.
  416. * Defining Commands::   Specifying how a function should read arguments.
  417. * Interactive Call::    Calling a command, so that it will read arguments.
  418. * Command Loop Info::   Variables set by the command loop for you to examine.
  419. * Input Events::    What input looks like when you read it.
  420. * Reading Input::       How to read input events from the keyboard or mouse.
  421. * Waiting::             Waiting for user input or elapsed time.
  422. * Quitting::            How `C-g' works.  How to catch or defer quitting.
  423. * Prefix Command Arguments::    How the commands to set prefix args work.
  424. * Recursive Editing::   Entering a recursive edit,
  425.                           and why you usually shouldn't.
  426. * Disabling Commands::  How the command loop handles disabled commands.
  427. * Command History::     How the command history is set up, and how accessed.
  428. * Keyboard Macros::     How keyboard macros are implemented.
  429.  
  430. Defining Commands
  431.  
  432. * Using Interactive::       General rules for `interactive'.
  433. * Interactive Codes::       The standard letter-codes for reading arguments
  434.                               in various ways.
  435. * Interactive Examples::    Examples of how to read interactive arguments.
  436.  
  437. Keymaps
  438.  
  439. * Keymap Terminology::            Definitions of terms pertaining to keymaps.
  440. * Format of Keymaps::        What a keymap looks like as a Lisp object.
  441. * Creating Keymaps::         Functions to create and copy keymaps.
  442. * Inheritance and Keymaps::    How one keymap can inherit the bindings
  443.                    of another keymap.
  444. * Prefix Keys::                 Defining a key with a keymap as its definition.
  445. * Menu Keymaps::        A keymap can define a menu for X windows
  446.                    or for use from the terminal.
  447. * Active Keymaps::            Each buffer has a local keymap
  448.                                    to override the standard (global) bindings.
  449.                 Each minor mode can also override them.
  450. * Key Lookup::                  How extracting elements from keymaps works.
  451. * Functions for Key Lookup::    How to request key lookup.
  452. * Changing Key Bindings::       Redefining a key in a keymap.
  453. * Key Binding Commands::        Interactive interfaces for redefining keys.
  454. * Scanning Keymaps::            Looking through all keymaps, for printing help.
  455.  
  456. Major and Minor Modes
  457.  
  458. * Major Modes::             Defining major modes.
  459. * Minor Modes::             Defining minor modes.
  460. * Mode Line Format::        Customizing the text that appears in the mode line.
  461. * Hooks::                   How to use hooks; how to write code that
  462.                               provides hooks.
  463.  
  464. Major Modes
  465.  
  466. * Major Mode Conventions::  Coding conventions for keymaps, etc.
  467. * Example Major Modes::     Text mode and Lisp modes.
  468. * Auto Major Mode::         How Emacs chooses the major mode automatically.
  469. * Mode Help::               Finding out how to use a mode.
  470.  
  471. Minor Modes
  472.  
  473. * Minor Mode Conventions::  Tips for writing a minor mode.
  474. * Keymaps and Minor Modes:: How a minor mode can have its own keymap.
  475.  
  476. Mode Line Format
  477.  
  478. * Mode Line Data::          The data structure that controls the mode line.
  479. * Mode Line Variables::     Variables used in that data structure.
  480. * %-Constructs::            Putting information into a mode line.
  481.  
  482. Documentation
  483.  
  484. * Documentation Basics::    Good style for doc strings.
  485.                                Where to put them.  How Emacs stores them.
  486. * Accessing Documentation:: How Lisp programs can access doc strings.
  487. * Keys in Documentation::   Substituting current key bindings.
  488. * Describing Characters::   Making printable descriptions of
  489.                                non-printing characters and key sequences.
  490. * Help Functions::          Subroutines used by Emacs help facilities.
  491.  
  492. Files
  493.  
  494. * Visiting Files::          Reading files into Emacs buffers for editing.
  495. * Saving Buffers::          Writing changed buffers back into files.
  496. * Reading from Files::      Reading files into other buffers.
  497. * Writing to Files::        Writing new files from parts of buffers.
  498. * File Locks::              Locking and unlocking files, to prevent
  499.                                 simultaneous editing by two people.
  500. * Information about Files::   Testing existence, accessibility, size of files.
  501. * Contents of Directories::   Getting a list of the files in a directory.
  502. * Changing File Attributes::  Renaming files, changing protection, etc.
  503. * File Names::                Decomposing and expanding file names.
  504.  
  505. Visiting Files
  506.  
  507. * Visiting Functions::      The usual interface functions for visiting.
  508. * Subroutines of Visiting:: Lower-level subroutines that they use.
  509.  
  510. Information about Files
  511.  
  512. * Testing Accessibility::   Is a given file readable?  Writable?
  513. * Kinds of Files::          Is it a directory?  A link?
  514. * File Attributes::         How large is it?  Any other names?  Etc.
  515.  
  516. File Names
  517.  
  518. * File Name Components::    The directory part of a file name, and the rest.
  519. * Directory Names::         A directory's name as a directory
  520.                               is different from its name as a file.
  521. * Relative File Names::     Some file names are relative to a
  522.                               current directory.
  523. * File Name Expansion::     Converting relative file names to absolute ones.
  524. * Unique File Names::       Generating names for temporary files.
  525. * File Name Completion::    Finding the completions for a given file name.
  526.  
  527. Backups and Auto-Saving
  528.  
  529. * Backup Files::            How backup files are made; how their names
  530.                               are chosen.
  531. * Auto-Saving::             How auto-save files are made; how their
  532.                               names are chosen.
  533. * Reverting::               `revert-buffer', and how to customize
  534.                               what it does.
  535.  
  536. Backup Files
  537.  
  538. * Making Backups::          How Emacs makes backup files, and when.
  539. * Rename or Copy::          Two alternatives: renaming the old file
  540.                               or copying it.
  541. * Numbered Backups::        Keeping multiple backups for each source file.
  542. * Backup Names::            How backup file names are computed; customization.
  543.  
  544. Buffers
  545.  
  546. * Buffer Basics::           What is a buffer?
  547. * Buffer Names::            Accessing and changing buffer names.
  548. * Buffer File Name::        The buffer file name indicates which file
  549.                               is visited.
  550. * Buffer Modification::     A buffer is "modified" if it needs to be saved.
  551. * Modification Time::       Determining whether the visited file was changed
  552.                               "behind Emacs's back".
  553. * Read Only Buffers::       Modifying text is not allowed in a
  554.                               read-only buffer.
  555. * The Buffer List::         How to look at all the existing buffers.
  556. * Creating Buffers::        Functions that create buffers.
  557. * Killing Buffers::         Buffers exist until explicitly killed.
  558. * Current Buffer::          Designating a buffer as current
  559.                               so primitives will access its contents.
  560.  
  561. Windows
  562.  
  563. * Basic Windows::           Basic information on using windows.
  564. * Splitting Windows::       Splitting one window into two windows.
  565. * Deleting Windows::        Deleting a window gives its space to other windows.
  566. * Selecting Windows::       The selected window is the one that you edit in.
  567. * Cyclic Window Ordering::  Moving around the existing windows.
  568. * Buffers and Windows::     Each window displays the contents of a buffer.
  569. * Displaying Buffers::      Higher-lever functions for displaying a buffer
  570.                               and choosing a window for it.
  571. * Window Point::            Each window has its own location of point.
  572. * Window Start::            The display-start position controls which text
  573.                               is on-screen in the window.
  574. * Vertical Scrolling::      Moving text up and down in the window.
  575. * Horizontal Scrolling::    Moving text sideways on the window.
  576. * Size of Window::          Accessing the size of a window.
  577. * Resizing Windows::        Changing the size of a window.
  578. * Window Configurations::   Saving and restoring the state of the screen.
  579.  
  580. Positions
  581.  
  582. * Point::                   The special position where editing takes place.
  583. * Motion::                  Changing point.
  584. * Excursions::              Temporary motion and buffer changes.
  585. * Narrowing::               Restricting editing to a portion of the buffer.
  586.  
  587. Motion
  588.  
  589. * Character Motion::        Moving in terms of characters.
  590. * Word Motion::             Moving in terms of words.
  591. * Buffer End Motion::       Moving to the beginning or end of the buffer.
  592. * Text Lines::              Moving in terms of lines of text.
  593. * Screen Lines::            Moving in terms of lines as displayed.
  594. * Vertical Motion::         Implementation of `next-line' and
  595.                               `previous-line'.
  596. * List Motion::             Moving by parsing lists and sexps.
  597. * Skipping Characters::     Skipping characters belonging to a certain set.
  598.  
  599. Markers
  600.  
  601. * Overview of Markers::     The components of a marker, and how it relocates.
  602. * Predicates on Markers::   Testing whether an object is a marker.
  603. * Creating Markers::        Making empty markers or markers at certain places.
  604. * Information from Markers::  Finding the marker's buffer or
  605.                                   character position.
  606. * Changing Markers::        Moving the marker to a new buffer or position.
  607. * The Mark::                How "the mark" is implemented with a marker.
  608. * The Region::              How to access "the region".
  609.  
  610. Text
  611.  
  612. * Near Point::              Examining text in the vicinity of point.
  613. * Buffer Contents::         Examining text in a general fashion.
  614. * Insertion::               Adding new text to a buffer.
  615. * Commands for Insertion::  User-level commands to insert text.
  616. * Deletion::                Removing text from a buffer.
  617. * User-Level Deletion::     User-level commands to delete text.
  618. * The Kill Ring::           Where removed text sometimes is saved for
  619.                               later use.
  620. * Undo::                    Undoing changes to the text of a buffer.
  621. * Auto Filling::            How auto-fill mode is implemented to break lines.
  622. * Filling::                 Functions for explicit filling.
  623. * Sorting::                 Functions for sorting parts of the buffer.
  624. * Indentation::             Functions to insert or adjust indentation.
  625. * Columns::                 Computing horizontal positions, and using them.
  626. * Case Changes::            Case conversion of parts of the buffer.
  627. * Substitution::            Replacing a given character wherever it appears.
  628. * Underlining::             Inserting or deleting underlining-by-overstrike.
  629. * Registers::               How registers are implemented.  Accessing
  630.                               the text or position stored in a register.
  631.  
  632. The Kill Ring
  633.  
  634. * Kill Ring Concepts::      What text looks like in the kill ring.
  635. * Kill Functions::          Functions that kill text.
  636. * Yank Commands::           Commands that access the kill ring.
  637. * Low Level Kill Ring::        Functions and variables for kill ring access.
  638. * Internals of Kill Ring::  Variables that hold kill-ring data.
  639.  
  640. Indentation
  641.  
  642. * Primitive Indent::        Functions used to count and insert indentation.
  643. * Mode-Specific Indent::    Customize indentation for different modes.
  644. * Region Indent::           Indent all the lines in a region.
  645. * Relative Indent::         Indent the current line based on previous lines.
  646. * Indent Tabs::             Adjustable, typewriter-like tab stops.
  647. * Motion by Indent::        Move to first non-blank character.
  648.  
  649. Searching and Matching
  650.  
  651. * String Search::           Search for an exact match.
  652. * Regular Expressions::     Describing classes of strings.
  653. * Regexp Search::           Searching for a match for a regexp.
  654. * Match Data::              Finding out which part of the text matched
  655.                               various parts of a regexp, after regexp search.
  656. * Saving Match Data::       Saving and restoring this information.
  657. * Standard Regexps::        Useful regexps for finding sentences, pages,...
  658. * Searching and Case::      Case-independent or case-significant searching.
  659.  
  660. Regular Expressions
  661.  
  662. * Syntax of Regexps::       Rules for writing regular expressions.
  663. * Regexp Example::          Illustrates regular expression syntax.
  664.  
  665. Syntax Tables
  666.  
  667. * Syntax Descriptors::      How characters are classified.
  668. * Syntax Table Functions::  How to create, examine and alter syntax tables.
  669. * Parsing Expressions::     Parsing balanced expressions
  670.                               using the syntax table.
  671. * Standard Syntax Tables::  Syntax tables used by various major modes.
  672. * Syntax Table Internals::  How syntax table information is stored.
  673.  
  674. Syntax Descriptors
  675.  
  676. * Syntax Class Table::      Table of syntax classes.
  677. * Syntax Flags::            Additional flags each character can have.
  678.  
  679. Abbrevs And Abbrev Expansion
  680.  
  681. * Abbrev Mode::             Setting up Emacs for abbreviation.
  682. * Tables: Abbrev Tables.    Creating and working with abbrev tables.
  683. * Defining Abbrevs::        Specifying abbreviations and their expansions.
  684. * Files: Abbrev Files.      Saving abbrevs in files.
  685. * Expansion: Abbrev Expansion.  Controlling expansion; expansion subroutines.
  686. * Standard Abbrev Tables::  Abbrev tables used by various major modes.
  687.  
  688. Processes
  689.  
  690. * Subprocess Creation::     Functions that start subprocesses.
  691. * Synchronous Processes::   Details of using synchronous subprocesses.
  692. * Asynchronous Processes::  Starting up an asynchronous subprocess.
  693. * Deleting Processes::      Eliminating an asynchronous subprocess.
  694. * Process Information::     Accessing run-status and other attributes.
  695. * Input to Processes::      Sending input to an asynchronous subprocess.
  696. * Signals to Processes::    Stopping, continuing or interrupting
  697.                               an asynchronous subprocess.
  698. * Output from Processes::   Collecting output from an asynchronous subprocess.
  699. * Sentinels::               Sentinels run when process run-status changes.
  700. * TCP::                     Opening network connections.
  701.  
  702. Receiving Output from Processes
  703.  
  704. * Process Buffers::         If no filter, output is put in a buffer.
  705. * Filter Functions::        Filter functions accept output from the process.
  706. * Accepting Output::        How to wait until process output arrives.
  707.  
  708. Operating System Interface
  709.  
  710. * Starting Up::             Customizing Emacs start-up processing.
  711. * Getting Out::             How exiting works (permanent or temporary).
  712. * System Environment::      Distinguish the name and kind of system.
  713. * Terminal Input::          Recording terminal input for debugging.
  714. * Terminal Output::         Recording terminal output for debugging.
  715. * Flow Control::            How to turn output flow control on or off.
  716. * Batch Mode::              Running Emacs without terminal interaction.
  717.  
  718. Starting Up Emacs
  719.  
  720. * Start-up Summary::        Sequence of actions Emacs performs at start-up.
  721. * Init File::               Details on reading the init file (`.emacs').
  722. * Terminal-Specific::       How the terminal-specific Lisp file is read.
  723. * Command Line Arguments::  How command line arguments are processed,
  724.                               and how you can customize them.
  725.  
  726. Getting out of Emacs
  727.  
  728. * Killing Emacs::           Exiting Emacs irreversibly.
  729. * Suspending Emacs::        Exiting Emacs reversibly.
  730.  
  731. Emacs Display
  732.  
  733. * Refresh Screen::          Clearing the screen and redrawing everything on it.
  734. * Truncation::              Folding or wrapping long text lines.
  735. * The Echo Area::           Where messages are displayed.
  736. * Selective Display::       Hiding part of the buffer text.
  737. * Overlay Arrow::           Display of an arrow to indicate position.
  738. * Temporary Displays::      Displays that go away automatically.
  739. * Waiting::                 Forcing display update and waiting for user.
  740. * Blinking::                How Emacs shows the matching open parenthesis.
  741. * Usual Display::        How control characters are displayed.
  742. * Beeping::                 Audible signal to the user.
  743. * Window Systems::          Which window system is being used.
  744.  
  745. GNU Emacs Internals
  746.  
  747. * Building Emacs::          How to preload Lisp libraries into Emacs.
  748. * Pure Storage::            A kludge to make preloaded Lisp functions sharable.
  749. * Garbage Collection::      Reclaiming space for Lisp objects no longer used.
  750. * Object Internals::        Data formats of buffers, windows, processes.
  751. * Writing Emacs Primitives::Writing C code for Emacs.
  752.  
  753. Object Internals
  754.  
  755. * Buffer Internals::        Components of a buffer structure.
  756. * Window Internals::        Components of a window structure.
  757. * Process Internals::       Components of a process structure.
  758.  
  759.