Mercurial > emacs
annotate lispref/elisp.texi @ 90083:2b2f720892ae
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-5
Move some entries from src/ChangeLog to src/ChangeLog.22
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 24 Jan 2005 03:43:01 +0000 |
parents | 95879cc1ed20 |
children | 7e3f621f1dd4 |
rev | line source |
---|---|
6451 | 1 \input texinfo @c -*-texinfo-*- |
2 @c %**start of header | |
3 @setfilename elisp | |
4 @settitle GNU Emacs Lisp Reference Manual | |
5 @c %**end of header | |
6 | |
39993
0e43f8a34472
(VERSION): Add and use it where the the version
Gerd Moellmann <gerd@gnu.org>
parents:
35476
diff
changeset
|
7 @c Versino of the manual. |
42823
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
8 @set VERSION 2.9 |
39993
0e43f8a34472
(VERSION): Add and use it where the the version
Gerd Moellmann <gerd@gnu.org>
parents:
35476
diff
changeset
|
9 |
41671
bf3fe3a5343e
Change the category in @dircategory to "Emacs", to
Eli Zaretskii <eliz@gnu.org>
parents:
40834
diff
changeset
|
10 @dircategory Emacs |
22458
2dc151a2d117
Add @dircategory, @direntry.
Richard M. Stallman <rms@gnu.org>
parents:
22267
diff
changeset
|
11 @direntry |
2dc151a2d117
Add @dircategory, @direntry.
Richard M. Stallman <rms@gnu.org>
parents:
22267
diff
changeset
|
12 * Elisp: (elisp). The Emacs Lisp Reference Manual. |
2dc151a2d117
Add @dircategory, @direntry.
Richard M. Stallman <rms@gnu.org>
parents:
22267
diff
changeset
|
13 @end direntry |
2dc151a2d117
Add @dircategory, @direntry.
Richard M. Stallman <rms@gnu.org>
parents:
22267
diff
changeset
|
14 |
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
15 @smallbook |
28952 | 16 @setchapternewpage odd |
17 @finalout | |
18 | |
19 @c Combine indices. | |
20 @synindex cp fn | |
21 @syncodeindex vr fn | |
22 @syncodeindex ky fn | |
23 @syncodeindex pg fn | |
24 @c We use the "type index" to index new functions and variables. | |
25 @c @syncodeindex tp fn | |
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
26 |
27193 | 27 @ifnottex |
39993
0e43f8a34472
(VERSION): Add and use it where the the version
Gerd Moellmann <gerd@gnu.org>
parents:
35476
diff
changeset
|
28 This Info file contains edition @value{VERSION} of the GNU Emacs Lisp |
42823
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
29 Reference Manual, corresponding to Emacs version 21.3. |
6451 | 30 @c Please REMEMBER to update edition number in *four* places in this file |
44210
82a85240df83
Mention that README has the version number.
Richard M. Stallman <rms@gnu.org>
parents:
42823
diff
changeset
|
31 @c and also in *one* place in intro.texi and *one* in README. |
6451 | 32 |
33 Published by the Free Software Foundation | |
15725 | 34 59 Temple Place, Suite 330 |
35 Boston, MA 02111-1307 USA | |
6451 | 36 |
42823
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
37 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,@* |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
38 2000, 2002 Free Software Foundation, Inc. |
6451 | 39 |
28952 | 40 Permission is granted to copy, distribute and/or modify this document |
41 under the terms of the GNU Free Documentation License, Version 1.1 or | |
42 any later version published by the Free Software Foundation; with the | |
51099
70dce195cb42
Correct invariant section names.
Richard M. Stallman <rms@gnu.org>
parents:
49600
diff
changeset
|
43 Invariant Sections being ``GNU General Public License'', with the Front-Cover texts being |
29127 | 44 ``A GNU Manual'', and with the Back-Cover Texts as in (a) below. A copy |
45 of the license is included in the section entitled ``GNU Free | |
46 Documentation License''. | |
6451 | 47 |
28952 | 48 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify |
49 this GNU Manual, like GNU software. Copies published by the Free | |
50 Software Foundation raise funds for GNU development.'' | |
27193 | 51 @end ifnottex |
6451 | 52 |
53 @titlepage | |
54 @title GNU Emacs Lisp Reference Manual | |
25875 | 55 @subtitle For Emacs Version 21 |
6451 | 56 @c The edition number appears in several places in this file |
57 @c and also in the file intro.texi. | |
42823
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
58 @subtitle Revision @value{VERSION}, January 2002 |
6451 | 59 |
60 @author by Bil Lewis, Dan LaLiberte, Richard Stallman | |
61 @author and the GNU Manual Group | |
62 @page | |
63 @vskip 0pt plus 1filll | |
42823
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
64 Copyright @copyright{} 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,@* |
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
65 1999, 2000, 2002 Free Software Foundation, Inc. |
6451 | 66 |
67 @sp 2 | |
39993
0e43f8a34472
(VERSION): Add and use it where the the version
Gerd Moellmann <gerd@gnu.org>
parents:
35476
diff
changeset
|
68 Edition @value{VERSION} @* |
42823
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
69 Revised for Emacs Version 21.3,@* |
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
70 January 2002.@* |
6451 | 71 @sp 2 |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
24951
diff
changeset
|
72 ISBN 1-882114-73-6 |
6451 | 73 |
74 @sp 2 | |
75 Published by the Free Software Foundation @* | |
15725 | 76 59 Temple Place, Suite 330@* |
77 Boston, MA 02111-1307 USA | |
6451 | 78 |
28952 | 79 Permission is granted to copy, distribute and/or modify this document |
80 under the terms of the GNU Free Documentation License, Version 1.1 or | |
81 any later version published by the Free Software Foundation; with the | |
29127 | 82 Invariant Sections being ``Copying'', with the Front-Cover texts being |
83 ``A GNU Manual'', and with the Back-Cover Texts as in (a) below. A copy | |
84 of the license is included in the section entitled ``GNU Free | |
85 Documentation License''. | |
6451 | 86 |
28952 | 87 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify |
88 this GNU Manual, like GNU software. Copies published by the Free | |
89 Software Foundation raise funds for GNU development.'' | |
6451 | 90 |
91 Cover art by Etienne Suvasa. | |
92 @end titlepage | |
93 @page | |
94 | |
29256 | 95 @node Top, Introduction, (dir), (dir) |
6451 | 96 |
27193 | 97 @ifnottex |
39993
0e43f8a34472
(VERSION): Add and use it where the the version
Gerd Moellmann <gerd@gnu.org>
parents:
35476
diff
changeset
|
98 This Info file contains edition @value{VERSION} of the GNU Emacs Lisp |
42823
49fb186405ab
(VERSION): Set to 2.9. Update the version of Emacs
Eli Zaretskii <eliz@gnu.org>
parents:
41671
diff
changeset
|
99 Reference Manual, corresponding to GNU Emacs version 21.3. |
27193 | 100 @end ifnottex |
6451 | 101 |
102 @menu | |
103 * Introduction:: Introduction and conventions used. | |
29256 | 104 * Standards: Coding Conventions. Coding conventions for Emacs Lisp. |
6451 | 105 |
7337
cd57cd335fff
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6451
diff
changeset
|
106 * Lisp Data Types:: Data types of objects in Emacs Lisp. |
6451 | 107 * Numbers:: Numbers and arithmetic functions. |
108 * Strings and Characters:: Strings, and functions that work on them. | |
109 * Lists:: Lists, cons cells, and related functions. | |
110 * Sequences Arrays Vectors:: Lists, strings and vectors are called sequences. | |
111 Certain functions act on any kind of sequence. | |
112 The description of vectors is here as well. | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
24951
diff
changeset
|
113 * Hash Tables:: Very fast lookup-tables. |
6451 | 114 * Symbols:: Symbols represent names, uniquely. |
115 | |
116 * Evaluation:: How Lisp expressions are evaluated. | |
117 * Control Structures:: Conditionals, loops, nonlocal exits. | |
118 * Variables:: Using symbols in programs to stand for values. | |
119 * Functions:: A function is a Lisp program | |
120 that can be invoked from other functions. | |
121 * Macros:: Macros are a way to extend the Lisp language. | |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
122 * Customization:: Writing customization declarations. |
6451 | 123 |
124 * Loading:: Reading files of Lisp code into Lisp. | |
125 * Byte Compilation:: Compilation makes programs run faster. | |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
126 * Advising Functions:: Adding to the definition of a function. |
6451 | 127 * Debugging:: Tools and tips for debugging Lisp programs. |
128 | |
7337
cd57cd335fff
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6451
diff
changeset
|
129 * Read and Print:: Converting Lisp objects to text and back. |
6451 | 130 * Minibuffers:: Using the minibuffer to read input. |
131 * Command Loop:: How the editor command loop works, | |
132 and how you can call its subroutines. | |
133 * Keymaps:: Defining the bindings from keys to commands. | |
134 * Modes:: Defining major and minor modes. | |
135 * Documentation:: Writing and using documentation strings. | |
136 | |
137 * Files:: Accessing files. | |
138 * Backups and Auto-Saving:: Controlling how backups and auto-save | |
139 files are made. | |
140 * Buffers:: Creating and using buffer objects. | |
141 * Windows:: Manipulating windows and displaying buffers. | |
142 * Frames:: Making multiple X windows. | |
143 * Positions:: Buffer positions and motion functions. | |
144 * Markers:: Markers represent positions and update | |
145 automatically when the text is changed. | |
146 | |
147 * Text:: Examining and changing text in buffers. | |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
148 * Non-ASCII Characters:: Non-ASCII text in buffers and strings. |
6451 | 149 * Searching and Matching:: Searching buffers for strings or regexps. |
150 * Syntax Tables:: The syntax table controls word and list parsing. | |
151 * Abbrevs:: How Abbrev mode works, and its data structures. | |
152 | |
153 * Processes:: Running and communicating with subprocesses. | |
33146 | 154 * Display:: Features for controlling the screen display. |
155 * Calendar:: Customizing the calendar and diary. | |
6451 | 156 * System Interface:: Getting the user id, system type, environment |
157 variables, and other such things. | |
158 | |
159 Appendices | |
160 | |
26211 | 161 * Antinews:: Info for users downgrading to Emacs 20. |
30904 | 162 * GNU Free Documentation License:: The license for this documentation |
29149 | 163 * GPL:: Conditions for copying and changing GNU Emacs. |
17279
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
164 * Tips:: Advice and coding conventions for Emacs Lisp. |
6451 | 165 * GNU Emacs Internals:: Building and dumping Emacs; |
166 internal data structures. | |
167 * Standard Errors:: List of all error symbols. | |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
168 * Standard Buffer-Local Variables:: |
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
169 List of variables buffer-local in all buffers. |
6451 | 170 * Standard Keymaps:: List of standard keymaps. |
171 * Standard Hooks:: List of standard hook variables. | |
172 | |
173 * Index:: Index including concepts, functions, variables, | |
174 and other terms. | |
175 | |
25875 | 176 * New Symbols:: New functions and variables in Emacs 21. |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
177 |
6451 | 178 --- The Detailed Node Listing --- |
179 | |
180 Here are other nodes that are inferiors of those already listed, | |
181 mentioned here so you can get to them in one step: | |
182 | |
183 Introduction | |
184 | |
185 * Caveats:: Flaws and a request for help. | |
186 * Lisp History:: Emacs Lisp is descended from Maclisp. | |
187 * Conventions:: How the manual is formatted. | |
188 * Acknowledgements:: The authors, editors, and sponsors of this manual. | |
189 | |
190 Conventions | |
191 | |
192 * Some Terms:: Explanation of terms we use in this manual. | |
193 * nil and t:: How the symbols @code{nil} and @code{t} are used. | |
194 * Evaluation Notation:: The format we use for examples of evaluation. | |
195 * Printing Notation:: The format we use for examples that print output. | |
196 * Error Messages:: The format we use for examples of errors. | |
197 * Buffer Text Notation:: The format we use for buffer contents in examples. | |
198 * Format of Descriptions:: Notation for describing functions, variables, etc. | |
199 | |
17279
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
200 Tips and Conventions |
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
201 |
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
202 * Coding Conventions:: Conventions for clean and robust programs. |
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
203 * Compilation Tips:: Making compiled code run fast. |
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
204 * Documentation Tips:: Writing readable documentation strings. |
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
205 * Comment Tips:: Conventions for writing comments. |
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
206 * Library Headers:: Standard headers for library packages. |
d2c67029b824
Add detailed listing for the Tips appendix.
Richard M. Stallman <rms@gnu.org>
parents:
16735
diff
changeset
|
207 |
6451 | 208 Format of Descriptions |
209 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
210 * A Sample Function Description:: |
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
211 * A Sample Variable Description:: |
6451 | 212 |
213 Lisp Data Types | |
214 | |
215 * Printed Representation:: How Lisp objects are represented as text. | |
216 * Comments:: Comments and their formatting conventions. | |
217 * Programming Types:: Types found in all Lisp systems. | |
218 * Editing Types:: Types specific to Emacs. | |
219 * Type Predicates:: Tests related to types. | |
220 * Equality Predicates:: Tests of equality between any two objects. | |
221 | |
222 Programming Types | |
223 | |
224 * Integer Type:: Numbers without fractional parts. | |
225 * Floating Point Type:: Numbers with fractional parts and with a large range. | |
226 * Character Type:: The representation of letters, numbers and | |
25875 | 227 control characters. |
6451 | 228 * Sequence Type:: Both lists and arrays are classified as sequences. |
7337
cd57cd335fff
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6451
diff
changeset
|
229 * Cons Cell Type:: Cons cells, and lists (which are made from cons cells). |
6451 | 230 * Array Type:: Arrays include strings and vectors. |
231 * String Type:: An (efficient) array of characters. | |
232 * Vector Type:: One-dimensional arrays. | |
233 * Symbol Type:: A multi-use object that refers to a function, | |
234 variable, property list, or itself. | |
7337
cd57cd335fff
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6451
diff
changeset
|
235 * Function Type:: A piece of executable code you can call from elsewhere. |
cd57cd335fff
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6451
diff
changeset
|
236 * Macro Type:: A method of expanding an expression into another |
6451 | 237 expression, more fundamental but less pretty. |
238 * Primitive Function Type:: A function written in C, callable from Lisp. | |
239 * Byte-Code Type:: A function written in Lisp, then compiled. | |
240 * Autoload Type:: A type used for automatically loading seldom-used | |
25875 | 241 functions. |
6451 | 242 |
243 List Type | |
244 | |
245 * Dotted Pair Notation:: An alternative syntax for lists. | |
246 * Association List Type:: A specially constructed list. | |
247 | |
248 Editing Types | |
249 | |
250 * Buffer Type:: The basic object of editing. | |
251 * Window Type:: What makes buffers visible. | |
252 * Window Configuration Type::Save what the screen looks like. | |
253 * Marker Type:: A position in a buffer. | |
254 * Process Type:: A process running on the underlying OS. | |
255 * Stream Type:: Receive or send characters. | |
256 * Keymap Type:: What function a keystroke invokes. | |
22252
40089afa2b1d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
257 * Overlay Type:: How an overlay is represented. |
6451 | 258 |
259 Numbers | |
260 | |
261 * Integer Basics:: Representation and range of integers. | |
262 * Float Basics:: Representation and range of floating point. | |
263 * Predicates on Numbers:: Testing for numbers. | |
264 * Comparison of Numbers:: Equality and inequality predicates. | |
265 * Arithmetic Operations:: How to add, subtract, multiply and divide. | |
266 * Bitwise Operations:: Logical and, or, not, shifting. | |
267 * Numeric Conversions:: Converting float to integer and vice versa. | |
12067 | 268 * Math Functions:: Trig, exponential and logarithmic functions. |
6451 | 269 * Random Numbers:: Obtaining random integers, predictable or not. |
270 | |
271 Strings and Characters | |
272 | |
273 * String Basics:: Basic properties of strings and characters. | |
274 * Predicates for Strings:: Testing whether an object is a string or char. | |
275 * Creating Strings:: Functions to allocate new strings. | |
276 * Text Comparison:: Comparing characters or strings. | |
277 * String Conversion:: Converting characters or strings and vice versa. | |
22252
40089afa2b1d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
278 * Formatting Strings:: @code{format}: Emacs's analogue of @code{printf}. |
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
279 * Case Conversion:: Case conversion functions. |
6451 | 280 |
281 Lists | |
282 | |
283 * Cons Cells:: How lists are made out of cons cells. | |
284 * Lists as Boxes:: Graphical notation to explain lists. | |
285 * List-related Predicates:: Is this object a list? Comparing two lists. | |
286 * List Elements:: Extracting the pieces of a list. | |
287 * Building Lists:: Creating list structure. | |
288 * Modifying Lists:: Storing new pieces into an existing list. | |
289 * Sets And Lists:: A list can represent a finite mathematical set. | |
290 * Association Lists:: A list can represent a finite relation or mapping. | |
291 | |
292 Modifying Existing List Structure | |
293 | |
294 * Setcar:: Replacing an element in a list. | |
295 * Setcdr:: Replacing part of the list backbone. | |
296 This can be used to remove or add elements. | |
297 * Rearrangement:: Reordering the elements in a list; combining lists. | |
298 | |
299 Sequences, Arrays, and Vectors | |
300 | |
301 * Sequence Functions:: Functions that accept any kind of sequence. | |
302 * Arrays:: Characteristics of arrays in Emacs Lisp. | |
303 * Array Functions:: Functions specifically for arrays. | |
304 * Vectors:: Functions specifically for vectors. | |
305 | |
306 Symbols | |
307 | |
308 * Symbol Components:: Symbols have names, values, function definitions | |
309 and property lists. | |
310 * Definitions:: A definition says how a symbol will be used. | |
311 * Creating Symbols:: How symbols are kept unique. | |
312 * Property Lists:: Each symbol has a property list | |
313 for recording miscellaneous information. | |
314 | |
315 Evaluation | |
316 | |
317 * Intro Eval:: Evaluation in the scheme of things. | |
318 * Eval:: How to invoke the Lisp interpreter explicitly. | |
319 * Forms:: How various sorts of objects are evaluated. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
320 * Quoting:: Avoiding evaluation (to put constants in |
6451 | 321 the program). |
322 | |
323 Kinds of Forms | |
324 | |
325 * Self-Evaluating Forms:: Forms that evaluate to themselves. | |
326 * Symbol Forms:: Symbols evaluate as variables. | |
327 * Classifying Lists:: How to distinguish various sorts of list forms. | |
328 * Function Forms:: Forms that call functions. | |
329 * Macro Forms:: Forms that call macros. | |
330 * Special Forms:: ``Special forms'' are idiosyncratic primitives, | |
331 most of them extremely important. | |
332 * Autoloading:: Functions set up to load files | |
333 containing their real definitions. | |
334 | |
335 Control Structures | |
336 | |
337 * Sequencing:: Evaluation in textual order. | |
338 * Conditionals:: @code{if}, @code{cond}. | |
339 * Combining Conditions:: @code{and}, @code{or}, @code{not}. | |
340 * Iteration:: @code{while} loops. | |
341 * Nonlocal Exits:: Jumping out of a sequence. | |
342 | |
343 Nonlocal Exits | |
344 | |
345 * Catch and Throw:: Nonlocal exits for the program's own purposes. | |
346 * Examples of Catch:: Showing how such nonlocal exits can be written. | |
347 * Errors:: How errors are signaled and handled. | |
348 * Cleanups:: Arranging to run a cleanup form if an | |
349 error happens. | |
350 | |
351 Errors | |
352 | |
353 * Signaling Errors:: How to report an error. | |
354 * Processing of Errors:: What Emacs does when you report an error. | |
355 * Handling Errors:: How you can trap errors and continue execution. | |
7337
cd57cd335fff
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6451
diff
changeset
|
356 * Error Symbols:: How errors are classified for trapping them. |
6451 | 357 |
358 Variables | |
359 | |
360 * Global Variables:: Variable values that exist permanently, everywhere. | |
361 * Constant Variables:: Certain "variables" have values that never change. | |
362 * Local Variables:: Variable values that exist only temporarily. | |
363 * Void Variables:: Symbols that lack values. | |
364 * Defining Variables:: A definition says a symbol is used as a variable. | |
365 * Accessing Variables:: Examining values of variables whose names | |
366 are known only at run time. | |
367 * Setting Variables:: Storing new values in variables. | |
368 * Variable Scoping:: How Lisp chooses among local and global values. | |
369 * Buffer-Local Variables:: Variable values in effect only in one buffer. | |
370 | |
371 Scoping Rules for Variable Bindings | |
372 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
373 * Scope:: Scope means where in the program a value |
6451 | 374 is visible. Comparison with other languages. |
375 * Extent:: Extent means how long in time a value exists. | |
376 * Impl of Scope:: Two ways to implement dynamic scoping. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
377 * Using Scoping:: How to use dynamic scoping carefully and |
6451 | 378 avoid problems. |
379 | |
380 Buffer-Local Variables | |
381 | |
382 * Intro to Buffer-Local:: Introduction and concepts. | |
383 * Creating Buffer-Local:: Creating and destroying buffer-local bindings. | |
384 * Default Value:: The default value is seen in buffers | |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
385 that don't have their own buffer-local values. |
6451 | 386 |
387 Functions | |
388 | |
389 * What Is a Function:: Lisp functions vs primitives; terminology. | |
390 * Lambda Expressions:: How functions are expressed as Lisp objects. | |
391 * Function Names:: A symbol can serve as the name of a function. | |
392 * Defining Functions:: Lisp expressions for defining functions. | |
393 * Calling Functions:: How to use an existing function. | |
394 * Mapping Functions:: Applying a function to each element of a list, etc. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
395 * Anonymous Functions:: Lambda-expressions are functions with no names. |
6451 | 396 * Function Cells:: Accessing or setting the function definition |
397 of a symbol. | |
398 * Related Topics:: Cross-references to specific Lisp primitives | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
399 that have a special bearing on how |
6451 | 400 functions work. |
401 | |
402 Lambda Expressions | |
403 | |
404 * Lambda Components:: The parts of a lambda expression. | |
405 * Simple Lambda:: A simple example. | |
406 * Argument List:: Details and special features of argument lists. | |
407 * Function Documentation:: How to put documentation in a function. | |
408 | |
409 Macros | |
410 | |
411 * Simple Macro:: A basic example. | |
412 * Expansion:: How, when and why macros are expanded. | |
413 * Compiling Macros:: How macros are expanded by the compiler. | |
414 * Defining Macros:: How to write a macro definition. | |
415 * Backquote:: Easier construction of list structure. | |
416 * Problems with Macros:: Don't evaluate the macro arguments too many times. | |
417 Don't hide the user's variables. | |
52152
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
418 * Indenting Macros:: Specifying how to indent macro calls. |
6451 | 419 |
420 Loading | |
421 | |
422 * How Programs Do Loading:: The @code{load} function and others. | |
59136
b55f5e7372e9
(Top): Update Loading submenu.
Richard M. Stallman <rms@gnu.org>
parents:
52914
diff
changeset
|
423 * Library Search:: Finding a library to load. |
b55f5e7372e9
(Top): Update Loading submenu.
Richard M. Stallman <rms@gnu.org>
parents:
52914
diff
changeset
|
424 * Loading Non-ASCII:: Non-@acronym{ASCII} characters in Emacs Lisp files. |
6451 | 425 * Autoload:: Setting up a function to autoload. |
59136
b55f5e7372e9
(Top): Update Loading submenu.
Richard M. Stallman <rms@gnu.org>
parents:
52914
diff
changeset
|
426 * Repeated Loading:: Precautions about loading a file twice. |
12098 | 427 * Named Features:: Loading a library if it isn't already loaded. |
59136
b55f5e7372e9
(Top): Update Loading submenu.
Richard M. Stallman <rms@gnu.org>
parents:
52914
diff
changeset
|
428 * Where Defined:: Finding which file defined a certain symbol. |
59165
c807fd38480b
(Top): Fix previous change.
Richard M. Stallman <rms@gnu.org>
parents:
59136
diff
changeset
|
429 * Unloading:: How to ``unload'' a library that was loaded. |
59136
b55f5e7372e9
(Top): Update Loading submenu.
Richard M. Stallman <rms@gnu.org>
parents:
52914
diff
changeset
|
430 * Hooks for Loading:: Providing code to be run when |
b55f5e7372e9
(Top): Update Loading submenu.
Richard M. Stallman <rms@gnu.org>
parents:
52914
diff
changeset
|
431 particular libraries are loaded. |
6451 | 432 |
433 Byte Compilation | |
434 | |
435 * Compilation Functions:: Byte compilation functions. | |
436 * Disassembly:: Disassembling byte-code; how to read byte-code. | |
437 | |
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
438 Advising Functions |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
439 |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
440 * Simple Advice:: A simple example to explain the basics of advice. |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
441 * Defining Advice:: Detailed description of @code{defadvice}. |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
442 * Computed Advice:: ...is to @code{defadvice} as @code{fset} is to @code{defun}. |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
443 * Activation of Advice:: Advice doesn't do anything until you activate it. |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
444 * Enabling Advice:: You can enable or disable each piece of advice. |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
445 * Preactivation:: Preactivation is a way of speeding up the |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
446 loading of compiled advice. |
22252
40089afa2b1d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
447 * Argument Access in Advice:: How advice can access the function's arguments. |
51653
a14e8c97cfb9
Advising Primitives renamed from Subr Arguments.
Richard M. Stallman <rms@gnu.org>
parents:
51099
diff
changeset
|
448 * Advising Primitives:: Accessing arguments when advising a primitive. |
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
449 * Combined Definition:: How advice is implemented. |
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
450 |
6451 | 451 Debugging Lisp Programs |
452 | |
453 * Debugger:: How the Emacs Lisp debugger is implemented. | |
454 * Syntax Errors:: How to find syntax errors. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
455 * Compilation Errors:: How to find errors that show up in |
6451 | 456 byte compilation. |
457 * Edebug:: A source-level Emacs Lisp debugger. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
458 |
6451 | 459 The Lisp Debugger |
460 | |
461 * Error Debugging:: Entering the debugger when an error happens. | |
462 * Function Debugging:: Entering it when a certain function is called. | |
463 * Explicit Debug:: Entering it at a certain point in the program. | |
464 * Using Debugger:: What the debugger does; what you see while in it. | |
465 * Debugger Commands:: Commands used while in the debugger. | |
466 * Invoking the Debugger:: How to call the function @code{debug}. | |
467 * Internals of Debugger:: Subroutines of the debugger, and global variables. | |
468 | |
469 Debugging Invalid Lisp Syntax | |
470 | |
471 * Excess Open:: How to find a spurious open paren or missing close. | |
472 * Excess Close:: How to find a spurious close paren or missing open. | |
473 | |
474 Reading and Printing Lisp Objects | |
475 | |
476 * Streams Intro:: Overview of streams, reading and printing. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
477 * Input Streams:: Various data types that can be used as |
6451 | 478 input streams. |
479 * Input Functions:: Functions to read Lisp objects from text. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
480 * Output Streams:: Various data types that can be used as |
6451 | 481 output streams. |
482 * Output Functions:: Functions to print Lisp objects as text. | |
483 | |
484 Minibuffers | |
485 | |
486 * Intro to Minibuffers:: Basic information about minibuffers. | |
487 * Text from Minibuffer:: How to read a straight text string. | |
488 * Object from Minibuffer:: How to read a Lisp object or expression. | |
489 * Completion:: How to invoke and customize completion. | |
490 * Yes-or-No Queries:: Asking a question with a simple answer. | |
491 * Minibuffer Misc:: Various customization hooks and variables. | |
492 | |
493 Completion | |
494 | |
495 * Basic Completion:: Low-level functions for completing strings. | |
496 (These are too low level to use the minibuffer.) | |
497 * Minibuffer Completion:: Invoking the minibuffer with completion. | |
498 * Completion Commands:: Minibuffer commands that do completion. | |
499 * High-Level Completion:: Convenient special cases of completion | |
500 (reading buffer name, file name, etc.) | |
501 * Reading File Names:: Using completion to read file names. | |
502 * Programmed Completion:: Finding the completions for a given file name. | |
503 | |
504 Command Loop | |
505 | |
506 * Command Overview:: How the command loop reads commands. | |
507 * Defining Commands:: Specifying how a function should read arguments. | |
508 * Interactive Call:: Calling a command, so that it will read arguments. | |
509 * Command Loop Info:: Variables set by the command loop for you to examine. | |
510 * Input Events:: What input looks like when you read it. | |
511 * Reading Input:: How to read input events from the keyboard or mouse. | |
512 * Waiting:: Waiting for user input or elapsed time. | |
513 * Quitting:: How @kbd{C-g} works. How to catch or defer quitting. | |
514 * Prefix Command Arguments:: How the commands to set prefix args work. | |
515 * Recursive Editing:: Entering a recursive edit, | |
516 and why you usually shouldn't. | |
517 * Disabling Commands:: How the command loop handles disabled commands. | |
518 * Command History:: How the command history is set up, and how accessed. | |
519 * Keyboard Macros:: How keyboard macros are implemented. | |
520 | |
521 Defining Commands | |
522 | |
523 * Using Interactive:: General rules for @code{interactive}. | |
524 * Interactive Codes:: The standard letter-codes for reading arguments | |
525 in various ways. | |
526 * Interactive Examples:: Examples of how to read interactive arguments. | |
527 | |
528 Keymaps | |
529 | |
530 * Keymap Terminology:: Definitions of terms pertaining to keymaps. | |
531 * Format of Keymaps:: What a keymap looks like as a Lisp object. | |
532 * Creating Keymaps:: Functions to create and copy keymaps. | |
533 * Inheritance and Keymaps:: How one keymap can inherit the bindings | |
534 of another keymap. | |
535 * Prefix Keys:: Defining a key with a keymap as its definition. | |
35476 | 536 * Menu Keymaps:: A keymap can define a menu for X |
6451 | 537 or for use from the terminal. |
538 * Active Keymaps:: Each buffer has a local keymap | |
539 to override the standard (global) bindings. | |
25875 | 540 Each minor mode can also override them. |
6451 | 541 * Key Lookup:: How extracting elements from keymaps works. |
542 * Functions for Key Lookup:: How to request key lookup. | |
543 * Changing Key Bindings:: Redefining a key in a keymap. | |
52193
f8d29e8eb4a7
(Top): Update subnode lists in menu.
Richard M. Stallman <rms@gnu.org>
parents:
52157
diff
changeset
|
544 * Remapping Commands:: Bindings that translate one command to another. |
6451 | 545 * Key Binding Commands:: Interactive interfaces for redefining keys. |
546 * Scanning Keymaps:: Looking through all keymaps, for printing help. | |
547 | |
548 Major and Minor Modes | |
549 | |
550 * Major Modes:: Defining major modes. | |
551 * Minor Modes:: Defining minor modes. | |
552 * Mode Line Format:: Customizing the text that appears in the mode line. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
553 * Hooks:: How to use hooks; how to write code that |
6451 | 554 provides hooks. |
555 | |
556 Major Modes | |
557 | |
558 * Major Mode Conventions:: Coding conventions for keymaps, etc. | |
559 * Example Major Modes:: Text mode and Lisp modes. | |
560 * Auto Major Mode:: How Emacs chooses the major mode automatically. | |
561 * Mode Help:: Finding out how to use a mode. | |
562 | |
563 Minor Modes | |
564 | |
565 * Minor Mode Conventions:: Tips for writing a minor mode. | |
566 * Keymaps and Minor Modes:: How a minor mode can have its own keymap. | |
567 | |
568 Mode Line Format | |
569 | |
570 * Mode Line Data:: The data structure that controls the mode line. | |
571 * Mode Line Variables:: Variables used in that data structure. | |
572 * %-Constructs:: Putting information into a mode line. | |
573 | |
574 Documentation | |
575 | |
576 * Documentation Basics:: Good style for doc strings. | |
577 Where to put them. How Emacs stores them. | |
578 * Accessing Documentation:: How Lisp programs can access doc strings. | |
579 * Keys in Documentation:: Substituting current key bindings. | |
580 * Describing Characters:: Making printable descriptions of | |
581 non-printing characters and key sequences. | |
582 * Help Functions:: Subroutines used by Emacs help facilities. | |
583 | |
584 Files | |
585 | |
586 * Visiting Files:: Reading files into Emacs buffers for editing. | |
587 * Saving Buffers:: Writing changed buffers back into files. | |
588 * Reading from Files:: Reading files into other buffers. | |
589 * Writing to Files:: Writing new files from parts of buffers. | |
590 * File Locks:: Locking and unlocking files, to prevent | |
591 simultaneous editing by two people. | |
592 * Information about Files:: Testing existence, accessibility, size of files. | |
593 * Contents of Directories:: Getting a list of the files in a directory. | |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
594 * Changing Files:: Renaming files, changing protection, etc. |
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
595 * File Names:: Decomposing and expanding file names. |
6451 | 596 |
597 Visiting Files | |
598 | |
599 * Visiting Functions:: The usual interface functions for visiting. | |
600 * Subroutines of Visiting:: Lower-level subroutines that they use. | |
601 | |
602 Information about Files | |
603 | |
604 * Testing Accessibility:: Is a given file readable? Writable? | |
605 * Kinds of Files:: Is it a directory? A link? | |
606 * File Attributes:: How large is it? Any other names? Etc. | |
607 | |
608 File Names | |
609 | |
610 * File Name Components:: The directory part of a file name, and the rest. | |
611 * Directory Names:: A directory's name as a directory | |
612 is different from its name as a file. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
613 * Relative File Names:: Some file names are relative to a |
6451 | 614 current directory. |
615 * File Name Expansion:: Converting relative file names to absolute ones. | |
616 * Unique File Names:: Generating names for temporary files. | |
617 * File Name Completion:: Finding the completions for a given file name. | |
618 | |
619 Backups and Auto-Saving | |
620 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
621 * Backup Files:: How backup files are made; how their names |
6451 | 622 are chosen. |
623 * Auto-Saving:: How auto-save files are made; how their | |
624 names are chosen. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
625 * Reverting:: @code{revert-buffer}, and how to customize |
6451 | 626 what it does. |
627 | |
628 Backup Files | |
629 | |
630 * Making Backups:: How Emacs makes backup files, and when. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
631 * Rename or Copy:: Two alternatives: renaming the old file |
6451 | 632 or copying it. |
633 * Numbered Backups:: Keeping multiple backups for each source file. | |
634 * Backup Names:: How backup file names are computed; customization. | |
635 | |
636 Buffers | |
637 | |
638 * Buffer Basics:: What is a buffer? | |
639 * Buffer Names:: Accessing and changing buffer names. | |
640 * Buffer File Name:: The buffer file name indicates which file | |
641 is visited. | |
642 * Buffer Modification:: A buffer is @dfn{modified} if it needs to be saved. | |
643 * Modification Time:: Determining whether the visited file was changed | |
644 ``behind Emacs's back''. | |
645 * Read Only Buffers:: Modifying text is not allowed in a | |
646 read-only buffer. | |
647 * The Buffer List:: How to look at all the existing buffers. | |
648 * Creating Buffers:: Functions that create buffers. | |
649 * Killing Buffers:: Buffers exist until explicitly killed. | |
650 * Current Buffer:: Designating a buffer as current | |
651 so primitives will access its contents. | |
652 | |
653 Windows | |
654 | |
655 * Basic Windows:: Basic information on using windows. | |
656 * Splitting Windows:: Splitting one window into two windows. | |
657 * Deleting Windows:: Deleting a window gives its space to other windows. | |
658 * Selecting Windows:: The selected window is the one that you edit in. | |
659 * Cyclic Window Ordering:: Moving around the existing windows. | |
660 * Buffers and Windows:: Each window displays the contents of a buffer. | |
661 * Displaying Buffers:: Higher-lever functions for displaying a buffer | |
662 and choosing a window for it. | |
663 * Window Point:: Each window has its own location of point. | |
664 * Window Start:: The display-start position controls which text | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
665 is on-screen in the window. |
6451 | 666 * Vertical Scrolling:: Moving text up and down in the window. |
667 * Horizontal Scrolling:: Moving text sideways on the window. | |
668 * Size of Window:: Accessing the size of a window. | |
669 * Resizing Windows:: Changing the size of a window. | |
670 * Window Configurations:: Saving and restoring the state of the screen. | |
671 | |
12098 | 672 Frames |
673 | |
674 * Creating Frames:: Creating additional frames. | |
675 * Multiple Displays:: Creating frames on other X displays. | |
676 * Frame Parameters:: Controlling frame size, position, font, etc. | |
677 * Frame Titles:: Automatic updating of frame titles. | |
678 * Deleting Frames:: Frames last until explicitly deleted. | |
679 * Finding All Frames:: How to examine all existing frames. | |
680 * Frames and Windows:: A frame contains windows; | |
681 display of text always works through windows. | |
682 * Minibuffers and Frames:: How a frame finds the minibuffer to use. | |
683 * Input Focus:: Specifying the selected frame. | |
684 * Visibility of Frames:: Frames may be visible or invisible, or icons. | |
685 * Raising and Lowering:: Raising a frame makes it hide other X windows; | |
22252
40089afa2b1d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
686 lowering it puts it underneath the others. |
12098 | 687 * Frame Configurations:: Saving the state of all frames. |
688 * Mouse Tracking:: Getting events that say when the mouse moves. | |
689 * Mouse Position:: Asking where the mouse is, or moving it. | |
690 * Pop-Up Menus:: Displaying a menu for the user to select from. | |
691 * Dialog Boxes:: Displaying a box to ask yes or no. | |
692 * Pointer Shapes:: Specifying the shape of the mouse pointer. | |
22267
dfac7398266b
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22252
diff
changeset
|
693 * Window System Selections::Transferring text to and from other windows. |
12098 | 694 * Color Names:: Getting the definitions of color names. |
695 * Resources:: Getting resource values from the server. | |
27476 | 696 * Display Feature Testing:: Determining the features of a terminal. |
12098 | 697 |
6451 | 698 Positions |
699 | |
700 * Point:: The special position where editing takes place. | |
701 * Motion:: Changing point. | |
702 * Excursions:: Temporary motion and buffer changes. | |
703 * Narrowing:: Restricting editing to a portion of the buffer. | |
704 | |
705 Motion | |
706 | |
707 * Character Motion:: Moving in terms of characters. | |
708 * Word Motion:: Moving in terms of words. | |
709 * Buffer End Motion:: Moving to the beginning or end of the buffer. | |
710 * Text Lines:: Moving in terms of lines of text. | |
711 * Screen Lines:: Moving in terms of lines as displayed. | |
712 * List Motion:: Moving by parsing lists and sexps. | |
713 * Skipping Characters:: Skipping characters belonging to a certain set. | |
714 | |
715 Markers | |
716 | |
717 * Overview of Markers:: The components of a marker, and how it relocates. | |
718 * Predicates on Markers:: Testing whether an object is a marker. | |
719 * Creating Markers:: Making empty markers or markers at certain places. | |
720 * Information from Markers:: Finding the marker's buffer or character | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
721 position. |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
722 * Moving Markers:: Moving the marker to a new buffer or position. |
6451 | 723 * The Mark:: How ``the mark'' is implemented with a marker. |
724 * The Region:: How to access ``the region''. | |
725 | |
726 Text | |
727 | |
728 * Near Point:: Examining text in the vicinity of point. | |
729 * Buffer Contents:: Examining text in a general fashion. | |
730 * Insertion:: Adding new text to a buffer. | |
731 * Commands for Insertion:: User-level commands to insert text. | |
732 * Deletion:: Removing text from a buffer. | |
733 * User-Level Deletion:: User-level commands to delete text. | |
734 * The Kill Ring:: Where removed text sometimes is saved for | |
735 later use. | |
736 * Undo:: Undoing changes to the text of a buffer. | |
737 * Auto Filling:: How auto-fill mode is implemented to break lines. | |
738 * Filling:: Functions for explicit filling. | |
12098 | 739 * Margins:: How to specify margins for filling commands. |
6451 | 740 * Sorting:: Functions for sorting parts of the buffer. |
741 * Indentation:: Functions to insert or adjust indentation. | |
742 * Columns:: Computing horizontal positions, and using them. | |
743 * Case Changes:: Case conversion of parts of the buffer. | |
15725 | 744 * Text Properties:: Assigning Lisp property lists to text characters. |
6451 | 745 * Substitution:: Replacing a given character wherever it appears. |
15725 | 746 * Transposition:: Swapping two portions of a buffer. |
6451 | 747 * Registers:: How registers are implemented. Accessing |
748 the text or position stored in a register. | |
52914 | 749 * Atomic Changes:: Installing several buffer changes ``atomically''. |
52193
f8d29e8eb4a7
(Top): Update subnode lists in menu.
Richard M. Stallman <rms@gnu.org>
parents:
52157
diff
changeset
|
750 * Base 64:: Conversion to or from base 64 encoding. |
f8d29e8eb4a7
(Top): Update subnode lists in menu.
Richard M. Stallman <rms@gnu.org>
parents:
52157
diff
changeset
|
751 * MD5 Checksum:: Compute the MD5 ``message digest''/``checksum''. |
15725 | 752 * Change Hooks:: Supplying functions to be run when text is changed. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44210
diff
changeset
|
753 |
6451 | 754 The Kill Ring |
755 | |
756 * Kill Ring Concepts:: What text looks like in the kill ring. | |
757 * Kill Functions:: Functions that kill text. | |
52193
f8d29e8eb4a7
(Top): Update subnode lists in menu.
Richard M. Stallman <rms@gnu.org>
parents:
52157
diff
changeset
|
758 * Yanking:: How yanking is done. |
6451 | 759 * Yank Commands:: Commands that access the kill ring. |
12067 | 760 * Low-Level Kill Ring:: Functions and variables for kill ring access. |
6451 | 761 * Internals of Kill Ring:: Variables that hold kill-ring data. |
762 | |
763 Indentation | |
764 | |
765 * Primitive Indent:: Functions used to count and insert indentation. | |
766 * Mode-Specific Indent:: Customize indentation for different modes. | |
767 * Region Indent:: Indent all the lines in a region. | |
768 * Relative Indent:: Indent the current line based on previous lines. | |
769 * Indent Tabs:: Adjustable, typewriter-like tab stops. | |
770 * Motion by Indent:: Move to first non-blank character. | |
771 | |
15725 | 772 Text Properties |
773 | |
774 * Examining Properties:: Looking at the properties of one character. | |
775 * Changing Properties:: Setting the properties of a range of text. | |
776 * Property Search:: Searching for where a property changes value. | |
777 * Special Properties:: Particular properties with special meanings. | |
778 * Format Properties:: Properties for representing formatting of text. | |
779 * Sticky Properties:: How inserted text gets properties from | |
780 neighboring text. | |
781 * Saving Properties:: Saving text properties in files, and reading | |
782 them back. | |
783 * Lazy Properties:: Computing text properties in a lazy fashion | |
784 only when text is examined. | |
40587
85791f717d5c
Update menu for subnodes of Text Properties.
Richard M. Stallman <rms@gnu.org>
parents:
39993
diff
changeset
|
785 * Clickable Text:: Using text properties to make regions of text |
85791f717d5c
Update menu for subnodes of Text Properties.
Richard M. Stallman <rms@gnu.org>
parents:
39993
diff
changeset
|
786 do something when you click on them. |
85791f717d5c
Update menu for subnodes of Text Properties.
Richard M. Stallman <rms@gnu.org>
parents:
39993
diff
changeset
|
787 * Fields:: The @code{field} property defines |
85791f717d5c
Update menu for subnodes of Text Properties.
Richard M. Stallman <rms@gnu.org>
parents:
39993
diff
changeset
|
788 fields within the buffer. |
15725 | 789 * Not Intervals:: Why text properties do not use |
790 Lisp-visible text intervals. | |
791 | |
28635
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
792 Non-ASCII Characters |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
793 |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
794 * Text Representations:: Unibyte and multibyte representations |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
795 * Converting Representations:: Converting unibyte to multibyte and vice versa. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
796 * Selecting a Representation:: Treating a byte sequence as unibyte or multi. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
797 * Character Codes:: How unibyte and multibyte relate to |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
798 codes of individual characters. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
799 * Character Sets:: The space of possible characters codes |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
800 is divided into various character sets. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
801 * Chars and Bytes:: More information about multibyte encodings. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
802 * Splitting Characters:: Converting a character to its byte sequence. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
803 * Scanning Charsets:: Which character sets are used in a buffer? |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
804 * Translation of Characters:: Translation tables are used for conversion. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
805 * Coding Systems:: Coding systems are conversions for saving files. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
806 * Input Methods:: Input methods allow users to enter various |
40834 | 807 non-ASCII characters without special keyboards. |
28635
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
808 * Locales:: Interacting with the POSIX locale. |
cda2b6ed6aec
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27476
diff
changeset
|
809 |
6451 | 810 Searching and Matching |
811 | |
812 * String Search:: Search for an exact match. | |
813 * Regular Expressions:: Describing classes of strings. | |
814 * Regexp Search:: Searching for a match for a regexp. | |
815 * Match Data:: Finding out which part of the text matched | |
816 various parts of a regexp, after regexp search. | |
817 * Saving Match Data:: Saving and restoring this information. | |
818 * Standard Regexps:: Useful regexps for finding sentences, pages,... | |
819 * Searching and Case:: Case-independent or case-significant searching. | |
820 | |
821 Regular Expressions | |
822 | |
823 * Syntax of Regexps:: Rules for writing regular expressions. | |
824 * Regexp Example:: Illustrates regular expression syntax. | |
825 | |
826 Syntax Tables | |
827 | |
828 * Syntax Descriptors:: How characters are classified. | |
829 * Syntax Table Functions:: How to create, examine and alter syntax tables. | |
830 * Parsing Expressions:: Parsing balanced expressions | |
831 using the syntax table. | |
832 * Standard Syntax Tables:: Syntax tables used by various major modes. | |
833 * Syntax Table Internals:: How syntax table information is stored. | |
834 | |
835 Syntax Descriptors | |
836 | |
837 * Syntax Class Table:: Table of syntax classes. | |
838 * Syntax Flags:: Additional flags each character can have. | |
839 | |
840 Abbrevs And Abbrev Expansion | |
841 | |
842 * Abbrev Mode:: Setting up Emacs for abbreviation. | |
843 * Tables: Abbrev Tables. Creating and working with abbrev tables. | |
844 * Defining Abbrevs:: Specifying abbreviations and their expansions. | |
845 * Files: Abbrev Files. Saving abbrevs in files. | |
846 * Expansion: Abbrev Expansion. Controlling expansion; expansion subroutines. | |
847 * Standard Abbrev Tables:: Abbrev tables used by various major modes. | |
848 | |
849 Processes | |
850 | |
851 * Subprocess Creation:: Functions that start subprocesses. | |
852 * Synchronous Processes:: Details of using synchronous subprocesses. | |
853 * Asynchronous Processes:: Starting up an asynchronous subprocess. | |
854 * Deleting Processes:: Eliminating an asynchronous subprocess. | |
855 * Process Information:: Accessing run-status and other attributes. | |
856 * Input to Processes:: Sending input to an asynchronous subprocess. | |
857 * Signals to Processes:: Stopping, continuing or interrupting | |
858 an asynchronous subprocess. | |
859 * Output from Processes:: Collecting output from an asynchronous subprocess. | |
860 * Sentinels:: Sentinels run when process run-status changes. | |
12098 | 861 * Network:: Opening network connections. |
6451 | 862 |
863 Receiving Output from Processes | |
864 | |
865 * Process Buffers:: If no filter, output is put in a buffer. | |
866 * Filter Functions:: Filter functions accept output from the process. | |
52157 | 867 * Decoding Output:: Filters can get unibyte or multibyte strings. |
6451 | 868 * Accepting Output:: How to wait until process output arrives. |
869 | |
870 Operating System Interface | |
871 | |
872 * Starting Up:: Customizing Emacs start-up processing. | |
873 * Getting Out:: How exiting works (permanent or temporary). | |
874 * System Environment:: Distinguish the name and kind of system. | |
875 * Terminal Input:: Recording terminal input for debugging. | |
876 * Terminal Output:: Recording terminal output for debugging. | |
877 * Flow Control:: How to turn output flow control on or off. | |
878 * Batch Mode:: Running Emacs without terminal interaction. | |
879 | |
880 Starting Up Emacs | |
881 | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
24951
diff
changeset
|
882 * Startup Summary:: Sequence of actions Emacs performs at start-up. |
6451 | 883 * Init File:: Details on reading the init file (@file{.emacs}). |
884 * Terminal-Specific:: How the terminal-specific Lisp file is read. | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
24951
diff
changeset
|
885 * Command-Line Arguments:: How command line arguments are processed, |
6451 | 886 and how you can customize them. |
887 | |
888 Getting out of Emacs | |
889 | |
890 * Killing Emacs:: Exiting Emacs irreversibly. | |
891 * Suspending Emacs:: Exiting Emacs reversibly. | |
892 | |
893 Emacs Display | |
894 | |
895 * Refresh Screen:: Clearing the screen and redrawing everything on it. | |
896 * Truncation:: Folding or wrapping long text lines. | |
897 * The Echo Area:: Where messages are displayed. | |
52152
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
898 * Warnings:: Displaying warning messages for the user. |
6451 | 899 * Selective Display:: Hiding part of the buffer text. |
900 * Overlay Arrow:: Display of an arrow to indicate position. | |
901 * Temporary Displays:: Displays that go away automatically. | |
52152
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
902 * Overlays:: Use overlays to highlight parts of the buffer. |
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
903 * Width:: How wide a character or string is on the screen. |
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
904 * Faces:: A face defines a graphics style |
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
905 for text characters: font, colors, etc. |
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
906 * Fringes:: Controlling window fringes. |
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
907 * Display Property:: Enabling special display features. |
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
908 * Images:: Displaying images in Emacs buffers. |
6451 | 909 * Blinking:: How Emacs shows the matching open parenthesis. |
52152
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
910 * Inverse Video:: Specifying how the screen looks. |
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
911 * Usual Display:: The usual conventions for displaying nonprinting chars. |
b41c6ef00205
Update lists of subnodes.
Richard M. Stallman <rms@gnu.org>
parents:
51653
diff
changeset
|
912 * Display Tables:: How to specify other conventions. |
6451 | 913 * Beeping:: Audible signal to the user. |
914 * Window Systems:: Which window system is being used. | |
915 | |
916 GNU Emacs Internals | |
917 | |
918 * Building Emacs:: How to preload Lisp libraries into Emacs. | |
919 * Pure Storage:: A kludge to make preloaded Lisp functions sharable. | |
920 * Garbage Collection:: Reclaiming space for Lisp objects no longer used. | |
921 * Object Internals:: Data formats of buffers, windows, processes. | |
922 * Writing Emacs Primitives:: Writing C code for Emacs. | |
923 | |
924 Object Internals | |
925 | |
926 * Buffer Internals:: Components of a buffer structure. | |
927 * Window Internals:: Components of a window structure. | |
928 * Process Internals:: Components of a process structure. | |
929 @end menu | |
930 | |
931 @include intro.texi | |
932 @include objects.texi | |
933 @include numbers.texi | |
934 @include strings.texi | |
935 | |
936 @include lists.texi | |
937 @include sequences.texi | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
24951
diff
changeset
|
938 @include hash.texi |
6451 | 939 @include symbols.texi |
940 @include eval.texi | |
941 | |
942 @include control.texi | |
943 @include variables.texi | |
944 @include functions.texi | |
945 @include macros.texi | |
946 | |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
947 @include customize.texi |
6451 | 948 @include loading.texi |
949 @include compile.texi | |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
950 @include advice.texi |
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
951 |
6451 | 952 @include debugging.texi |
953 @include streams.texi | |
954 @include minibuf.texi | |
955 @include commands.texi | |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
956 |
6451 | 957 @include keymaps.texi |
958 @include modes.texi | |
959 @include help.texi | |
960 @include files.texi | |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
961 |
6451 | 962 @include backups.texi |
963 @include buffers.texi | |
964 @include windows.texi | |
965 @include frames.texi | |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
966 |
6451 | 967 @include positions.texi |
968 @include markers.texi | |
969 @include text.texi | |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
970 @include nonascii.texi |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
971 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
972 @include searching.texi |
6451 | 973 @include syntax.texi |
974 @include abbrevs.texi | |
975 @include processes.texi | |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
976 |
6451 | 977 @include display.texi |
978 @include calendar.texi | |
26211 | 979 @include os.texi |
6451 | 980 |
981 @c MOVE to Emacs Manual: include misc-modes.texi | |
982 | |
983 @c appendices | |
984 | |
985 @c REMOVE this: include non-hacker.texi | |
986 | |
25875 | 987 @include anti.texi |
29116 | 988 @include doclicense.texi |
989 @include gpl.texi | |
6451 | 990 @include tips.texi |
991 @include internals.texi | |
992 @include errors.texi | |
993 @include locals.texi | |
994 @include maps.texi | |
995 @include hooks.texi | |
996 | |
997 @include index.texi | |
998 | |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
999 @node New Symbols, , Index, Top |
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21702
diff
changeset
|
1000 @unnumbered New Symbols Since the Previous Edition |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
1001 |
21702
05b1a2703a49
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21007
diff
changeset
|
1002 @printindex tp |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
17279
diff
changeset
|
1003 |
6451 | 1004 @c Print the tables of contents |
1005 @summarycontents | |
1006 @contents | |
1007 @c That's all | |
1008 | |
1009 @bye | |
1010 | |
1011 | |
1012 These words prevent "local variables" above from confusing Emacs. | |
52401 | 1013 |
1014 @ignore | |
1015 arch-tag: f7e9a219-a0e1-4776-b631-08eaa1d49b34 | |
1016 @end ignore |