0
|
1 \input ../texinfo @c -*-texinfo-*-
|
|
2 @c %**start of header
|
|
3 @setfilename ../../info/lispref.info
|
|
4 @c @smallbook
|
|
5 @settitle XEmacs Lisp Reference Manual
|
|
6 @c %**end of header
|
|
7
|
|
8 @ifinfo
|
|
9 Edition History:
|
|
10
|
|
11 GNU Emacs Lisp Reference Manual Second Edition (v2.01), May 1993
|
|
12 GNU Emacs Lisp Reference Manual Further Revised (v2.02), August 1993
|
|
13 Lucid Emacs Lisp Reference Manual (for 19.10) First Edition, March 1994
|
|
14 XEmacs Lisp Programmer's Manual (for 19.12) Second Edition, April 1995
|
|
15 GNU Emacs Lisp Reference Manual v2.4, June 1995
|
|
16 XEmacs Lisp Programmer's Manual (for 19.13) Third Edition, July 1995
|
54
|
17 XEmacs Lisp Reference Manual (for 19.14 and 20.0) v3.1, March 1996
|
213
|
18 XEmacs Lisp Reference Manual (for 19.15 and 20.1, 20.2, 20.3) v3.2, April, May, November 1997
|
276
|
19 XEmacs Lisp Reference Manual (for 21.0) v3.3, April 1998
|
0
|
20 @c Please REMEMBER to update edition number in *four* places in this file
|
|
21 @c and also in *one* place in intro.texi
|
|
22
|
|
23 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
|
|
24 Copyright (C) 1994, 1995 Sun Microsystems, Inc.
|
|
25 Copyright (C) 1995, 1996 Ben Wing.
|
|
26
|
|
27
|
|
28 Permission is granted to make and distribute verbatim copies of this
|
|
29 manual provided the copyright notice and this permission notice are
|
|
30 preserved on all copies.
|
|
31
|
|
32 @ignore
|
|
33 Permission is granted to process this file through TeX and print the
|
|
34 results, provided the printed document carries copying permission notice
|
|
35 identical to this one except for the removal of this paragraph (this
|
|
36 paragraph not being relevant to the printed manual).
|
|
37
|
|
38 @end ignore
|
|
39 Permission is granted to copy and distribute modified versions of this
|
|
40 manual under the conditions for verbatim copying, provided that the
|
|
41 entire resulting derived work is distributed under the terms of a
|
|
42 permission notice identical to this one.
|
|
43
|
|
44 Permission is granted to copy and distribute translations of this manual
|
|
45 into another language, under the above conditions for modified versions,
|
|
46 except that this permission notice may be stated in a translation
|
|
47 approved by the Foundation.
|
|
48
|
|
49 Permission is granted to copy and distribute modified versions of this
|
|
50 manual under the conditions for verbatim copying, provided also that the
|
|
51 section entitled ``GNU General Public License'' is included exactly as
|
|
52 in the original, and provided that the entire resulting derived work is
|
|
53 distributed under the terms of a permission notice identical to this
|
|
54 one.
|
|
55
|
|
56 Permission is granted to copy and distribute translations of this manual
|
|
57 into another language, under the above conditions for modified versions,
|
|
58 except that the section entitled ``GNU General Public License'' may be
|
|
59 included in a translation approved by the Free Software Foundation
|
|
60 instead of in the original English.
|
|
61 @end ifinfo
|
|
62
|
|
63 @c Combine indices.
|
|
64 @synindex cp fn
|
|
65 @syncodeindex vr fn
|
|
66 @syncodeindex ky fn
|
|
67 @syncodeindex pg fn
|
|
68 @syncodeindex tp fn
|
|
69
|
|
70 @setchapternewpage odd
|
|
71 @finalout
|
|
72
|
|
73 @titlepage
|
|
74 @title XEmacs Lisp Reference Manual
|
|
75 @c The edition number appears in several places in this file
|
|
76 @c and also in the file intro.texi.
|
54
|
77 @c This manual documents XEmacs 19.14 and 20.0 and was based on the
|
0
|
78 @c documentation for FSF Emacs 19.29 (v2.4).
|
276
|
79 @subtitle Version 3.3 (for XEmacs 21.0), April 1998
|
0
|
80
|
|
81 @author by Ben Wing
|
|
82 @author
|
|
83 @author Based on the GNU Emacs Lisp Reference Manual
|
|
84 @author by Bil Lewis, Dan LaLiberte, Richard Stallman
|
|
85 @author and the GNU Manual Group
|
|
86 @page
|
|
87 @vskip 0pt plus 1filll
|
|
88 Copyright @copyright{} 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
|
|
89 Copyright @copyright{} 1994, 1995 Sun Microsystems, Inc.
|
|
90 Copyright @copyright{} 1995, 1996 Ben Wing.
|
|
91 @sp 2
|
227
|
92 Version 3.3 @*
|
276
|
93 Revised for XEmacs Versions 21.0,@*
|
227
|
94 April 1998.@*
|
0
|
95
|
|
96 Permission is granted to make and distribute verbatim copies of this
|
|
97 manual provided the copyright notice and this permission notice are
|
|
98 preserved on all copies.
|
|
99
|
|
100 Permission is granted to copy and distribute modified versions of this
|
|
101 manual under the conditions for verbatim copying, provided also that the
|
|
102 section entitled ``GNU General Public License'' is included
|
|
103 exactly as in the original, and provided that the entire resulting
|
|
104 derived work is distributed under the terms of a permission notice
|
|
105 identical to this one.
|
|
106
|
|
107 Permission is granted to copy and distribute translations of this manual
|
|
108 into another language, under the above conditions for modified versions,
|
|
109 except that the section entitled ``GNU General Public License'' may be
|
|
110 included in a translation approved by the Free Software Foundation
|
|
111 instead of in the original English.
|
|
112
|
|
113 Cover art by Etienne Suvasa.
|
|
114 @end titlepage
|
|
115 @page
|
|
116
|
|
117 @node Top, Copying, (dir), (dir)
|
|
118
|
|
119 @ifinfo
|
|
120 This Info file contains the third edition of the XEmacs Lisp
|
276
|
121 Reference Manual, corresponding to XEmacs version 21.0.
|
0
|
122 @end ifinfo
|
|
123
|
|
124 @menu
|
|
125 * Copying:: Conditions for copying and changing XEmacs.
|
|
126 * Introduction:: Introduction and conventions used.
|
|
127
|
|
128 * Lisp Data Types:: Data types of objects in XEmacs Lisp.
|
|
129 * Numbers:: Numbers and arithmetic functions.
|
|
130 * Strings and Characters:: Strings, and functions that work on them.
|
|
131 * Lists:: Lists, cons cells, and related functions.
|
|
132 * Sequences Arrays Vectors:: Lists, strings and vectors are called sequences.
|
|
133 Certain functions act on any kind of sequence.
|
|
134 The description of vectors is here as well.
|
|
135 * Symbols:: Symbols represent names, uniquely.
|
|
136
|
|
137 * Evaluation:: How Lisp expressions are evaluated.
|
|
138 * Control Structures:: Conditionals, loops, nonlocal exits.
|
|
139 * Variables:: Using symbols in programs to stand for values.
|
|
140 * Functions:: A function is a Lisp program
|
|
141 that can be invoked from other functions.
|
|
142 * Macros:: Macros are a way to extend the Lisp language.
|
|
143
|
|
144 * Loading:: Reading files of Lisp code into Lisp.
|
|
145 * Byte Compilation:: Compilation makes programs run faster.
|
|
146 * Debugging:: Tools and tips for debugging Lisp programs.
|
|
147
|
|
148 * Read and Print:: Converting Lisp objects to text and back.
|
|
149 * Minibuffers:: Using the minibuffer to read input.
|
|
150 * Command Loop:: How the editor command loop works,
|
|
151 and how you can call its subroutines.
|
|
152 * Keymaps:: Defining the bindings from keys to commands.
|
|
153 * Menus:: Defining pull-down and pop-up menus.
|
|
154 * Dialog Boxes:: Creating dialog boxes.
|
|
155 * Toolbar:: Controlling the toolbar.
|
|
156 * Scrollbars:: Controlling the scrollbars.
|
|
157 * Modes:: Defining major and minor modes.
|
|
158 * Documentation:: Writing and using documentation strings.
|
|
159
|
|
160 * Files:: Accessing files.
|
|
161 * Backups and Auto-Saving:: Controlling how backups and auto-save
|
|
162 files are made.
|
|
163 * Buffers:: Creating and using buffer objects.
|
|
164 * Windows:: Manipulating windows and displaying buffers.
|
|
165 * Frames:: Making multiple X windows.
|
|
166 * Consoles and Devices:: Opening frames on multiple TTY's or X displays.
|
|
167 * Positions:: Buffer positions and motion functions.
|
|
168 * Markers:: Markers represent positions and update
|
|
169 automatically when the text is changed.
|
|
170
|
|
171 * Text:: Examining and changing text in buffers.
|
|
172 * Searching and Matching:: Searching buffers for strings or regexps.
|
|
173 * Syntax Tables:: The syntax table controls word and list parsing.
|
|
174 * Abbrevs:: How Abbrev mode works, and its data structures.
|
|
175
|
|
176 * Extents:: Extents are regions of text with particular
|
|
177 display characteristics.
|
|
178 * Specifiers:: How faces and glyphs are specified.
|
|
179 * Faces and Window-System Objects::
|
|
180 A face is a set of display characteristics
|
|
181 specifying how text is to be displayed.
|
|
182 * Glyphs:: General interface to pixmaps displayed in a
|
|
183 buffer or frame.
|
|
184 * Annotations:: Higher-level interface to glyphs in a buffer.
|
|
185 * Display:: Parameters controlling screen usage.
|
|
186 The bell. Waiting for input.
|
|
187
|
|
188 * Hash Tables:: Fast data structures for mappings.
|
|
189 * Range Tables:: Keeping track of ranges of numbers.
|
|
190 * Databases:: An interface to standard DBM and DB databases.
|
|
191
|
|
192 * Processes:: Running and communicating with subprocesses.
|
|
193 * System Interface:: Getting the user id, system type, environment
|
|
194 variables, and other such things.
|
|
195 * X-Windows:: Functions specific to the X Window System.
|
|
196 * ToolTalk Support:: Interfacing with the ToolTalk message service.
|
|
197 * Internationalization:: How Emacs supports different languages and
|
|
198 cultural conventions.
|
|
199 * MULE:: Specifics of the Asian-language support.
|
|
200
|
|
201 Appendices
|
|
202
|
|
203 * Tips:: Advice for writing Lisp programs.
|
|
204 * Building XEmacs and Object Allocation::
|
|
205 Behind-the-scenes information about XEmacs.
|
|
206 * Standard Errors:: List of all error symbols.
|
|
207 * Standard Buffer-Local Variables:: List of variables local in all buffers.
|
|
208 * Standard Keymaps:: List of standard keymaps.
|
|
209 * Standard Hooks:: List of standard hook variables.
|
|
210
|
|
211 * Index:: Index including concepts, functions, variables,
|
|
212 and other terms.
|
|
213
|
|
214 --- The Detailed Node Listing ---
|
|
215
|
|
216 Here are other nodes that are inferiors of those already listed,
|
|
217 mentioned here so you can get to them in one step:
|
|
218
|
|
219 Introduction
|
|
220
|
|
221 * Caveats:: Flaws and a request for help.
|
|
222 * Lisp History:: XEmacs Lisp is descended from Maclisp.
|
|
223 * Conventions:: How the manual is formatted.
|
|
224 * Acknowledgements:: The authors, editors, and sponsors of this manual.
|
|
225
|
|
226 Conventions
|
|
227
|
|
228 * Some Terms:: Explanation of terms we use in this manual.
|
|
229 * nil and t:: How the symbols @code{nil} and @code{t} are used.
|
|
230 * Evaluation Notation:: The format we use for examples of evaluation.
|
|
231 * Printing Notation:: The format we use for examples that print output.
|
|
232 * Error Messages:: The format we use for examples of errors.
|
|
233 * Buffer Text Notation:: The format we use for buffer contents in examples.
|
|
234 * Format of Descriptions:: Notation for describing functions, variables, etc.
|
|
235
|
|
236 Format of Descriptions
|
|
237
|
|
238 * A Sample Function Description::
|
|
239 * A Sample Variable Description::
|
|
240
|
|
241 Lisp Data Types
|
|
242
|
|
243 * Printed Representation:: How Lisp objects are represented as text.
|
|
244 * Comments:: Comments and their formatting conventions.
|
|
245 * Programming Types:: Types found in all Lisp systems.
|
|
246 * Editing Types:: Types specific to XEmacs.
|
|
247 * Type Predicates:: Tests related to types.
|
|
248 * Equality Predicates:: Tests of equality between any two objects.
|
|
249
|
|
250 Programming Types
|
|
251
|
|
252 * Integer Type:: Numbers without fractional parts.
|
|
253 * Floating Point Type:: Numbers with fractional parts and with a large range.
|
|
254 * Character Type:: The representation of letters, numbers and
|
|
255 control characters.
|
|
256 * Sequence Type:: Both lists and arrays are classified as sequences.
|
|
257 * Cons Cell Type:: Cons cells, and lists (which are made from cons cells).
|
|
258 * Array Type:: Arrays include strings and vectors.
|
|
259 * String Type:: An (efficient) array of characters.
|
|
260 * Vector Type:: One-dimensional arrays.
|
|
261 * Symbol Type:: A multi-use object that refers to a function,
|
|
262 variable, property list, or itself.
|
|
263 * Function Type:: A piece of executable code you can call from elsewhere.
|
|
264 * Macro Type:: A method of expanding an expression into another
|
|
265 expression, more fundamental but less pretty.
|
|
266 * Primitive Function Type:: A function written in C, callable from Lisp.
|
|
267 * Compiled-Function Type:: A function written in Lisp, then compiled.
|
|
268 * Autoload Type:: A type used for automatically loading seldom-used
|
|
269 functions.
|
|
270
|
|
271 Cons Cell Type
|
|
272
|
|
273 * Dotted Pair Notation:: An alternative syntax for lists.
|
|
274 * Association List Type:: A specially constructed list.
|
|
275
|
|
276 Editing Types
|
|
277
|
|
278 * Buffer Type:: The basic object of editing.
|
|
279 * Window Type:: What makes buffers visible.
|
|
280 * Window Configuration Type::Save what the screen looks like.
|
|
281 * Marker Type:: A position in a buffer.
|
|
282 * Process Type:: A process running on the underlying OS.
|
|
283 * Stream Type:: Receive or send characters.
|
|
284 * Keymap Type:: What function a keystroke invokes.
|
|
285 * Syntax Table Type:: What a character means.
|
|
286
|
|
287 Numbers
|
|
288
|
|
289 * Integer Basics:: Representation and range of integers.
|
|
290 * Float Basics:: Representation and range of floating point.
|
|
291 * Predicates on Numbers:: Testing for numbers.
|
|
292 * Comparison of Numbers:: Equality and inequality predicates.
|
|
293 * Arithmetic Operations:: How to add, subtract, multiply and divide.
|
|
294 * Bitwise Operations:: Logical and, or, not, shifting.
|
|
295 * Numeric Conversions:: Converting float to integer and vice versa.
|
|
296 * Math Functions:: Trig, exponential and logarithmic functions.
|
|
297 * Random Numbers:: Obtaining random integers, predictable or not.
|
|
298
|
|
299 Strings and Characters
|
|
300
|
|
301 * Basics: String Basics. Basic properties of strings and characters.
|
|
302 * Predicates for Strings:: Testing whether an object is a string or char.
|
|
303 * Creating Strings:: Functions to allocate new strings.
|
|
304 * Predicates for Characters:: Testing whether an object is a character.
|
|
305 * Character Codes:: Each character has an equivalent integer.
|
|
306 * Text Comparison:: Comparing characters or strings.
|
|
307 * String Conversion:: Converting characters or strings and vice versa.
|
|
308 * Modifying Strings:: Changing characters in a string.
|
|
309 * String Properties:: Additional information attached to strings.
|
|
310 * Formatting Strings:: @code{format}: XEmacs's analog of @code{printf}.
|
|
311 * Character Case:: Case conversion functions.
|
|
312 * Char Tables:: Mapping from characters to Lisp objects.
|
|
313 * Case Tables:: Customizing case conversion.
|
|
314
|
|
315 Lists
|
|
316
|
|
317 * Cons Cells:: How lists are made out of cons cells.
|
|
318 * Lists as Boxes:: Graphical notation to explain lists.
|
|
319 * List-related Predicates:: Is this object a list? Comparing two lists.
|
|
320 * List Elements:: Extracting the pieces of a list.
|
|
321 * Building Lists:: Creating list structure.
|
|
322 * Modifying Lists:: Storing new pieces into an existing list.
|
|
323 * Sets And Lists:: A list can represent a finite mathematical set.
|
|
324 * Association Lists:: A list can represent a finite relation or mapping.
|
|
325 * Property Lists:: A different way to represent a finite mapping.
|
|
326 * Weak Lists:: A list with special garbage-collection behavior.
|
|
327
|
|
328 Modifying Existing List Structure
|
|
329
|
|
330 * Setcar:: Replacing an element in a list.
|
|
331 * Setcdr:: Replacing part of the list backbone.
|
|
332 This can be used to remove or add elements.
|
|
333 * Rearrangement:: Reordering the elements in a list; combining lists.
|
|
334
|
|
335 Sequences, Arrays, and Vectors
|
|
336
|
|
337 * Sequence Functions:: Functions that accept any kind of sequence.
|
|
338 * Arrays:: Characteristics of arrays in XEmacs Lisp.
|
|
339 * Array Functions:: Functions specifically for arrays.
|
|
340 * Vectors:: Functions specifically for vectors.
|
|
341
|
|
342 Symbols
|
|
343
|
|
344 * Symbol Components:: Symbols have names, values, function definitions
|
|
345 and property lists.
|
|
346 * Definitions:: A definition says how a symbol will be used.
|
|
347 * Creating Symbols:: How symbols are kept unique.
|
|
348 * Symbol Properties:: Each symbol has a property list
|
|
349 for recording miscellaneous information.
|
|
350
|
|
351 Evaluation
|
|
352
|
|
353 * Intro Eval:: Evaluation in the scheme of things.
|
|
354 * Eval:: How to invoke the Lisp interpreter explicitly.
|
|
355 * Forms:: How various sorts of objects are evaluated.
|
|
356 * Quoting:: Avoiding evaluation (to put constants in
|
|
357 the program).
|
|
358
|
|
359 Kinds of Forms
|
|
360
|
|
361 * Self-Evaluating Forms:: Forms that evaluate to themselves.
|
|
362 * Symbol Forms:: Symbols evaluate as variables.
|
|
363 * Classifying Lists:: How to distinguish various sorts of list forms.
|
|
364 * Function Forms:: Forms that call functions.
|
|
365 * Macro Forms:: Forms that call macros.
|
|
366 * Special Forms:: ``Special forms'' are idiosyncratic primitives,
|
|
367 most of them extremely important.
|
|
368 * Autoloading:: Functions set up to load files
|
|
369 containing their real definitions.
|
|
370
|
|
371 Control Structures
|
|
372
|
|
373 * Sequencing:: Evaluation in textual order.
|
|
374 * Conditionals:: @code{if}, @code{cond}.
|
|
375 * Combining Conditions:: @code{and}, @code{or}, @code{not}.
|
|
376 * Iteration:: @code{while} loops.
|
|
377 * Nonlocal Exits:: Jumping out of a sequence.
|
|
378
|
|
379 Nonlocal Exits
|
|
380
|
|
381 * Catch and Throw:: Nonlocal exits for the program's own purposes.
|
|
382 * Examples of Catch:: Showing how such nonlocal exits can be written.
|
|
383 * Errors:: How errors are signaled and handled.
|
|
384 * Cleanups:: Arranging to run a cleanup form if an
|
|
385 error happens.
|
|
386
|
|
387 Errors
|
|
388
|
|
389 * Signaling Errors:: How to report an error.
|
|
390 * Processing of Errors:: What XEmacs does when you report an error.
|
|
391 * Handling Errors:: How you can trap errors and continue execution.
|
|
392 * Error Symbols:: How errors are classified for trapping them.
|
|
393
|
|
394 Variables
|
|
395
|
|
396 * Global Variables:: Variable values that exist permanently, everywhere.
|
|
397 * Constant Variables:: Certain "variables" have values that never change.
|
|
398 * Local Variables:: Variable values that exist only temporarily.
|
|
399 * Void Variables:: Symbols that lack values.
|
|
400 * Defining Variables:: A definition says a symbol is used as a variable.
|
|
401 * Accessing Variables:: Examining values of variables whose names
|
|
402 are known only at run time.
|
|
403 * Setting Variables:: Storing new values in variables.
|
|
404 * Variable Scoping:: How Lisp chooses among local and global values.
|
|
405 * Buffer-Local Variables:: Variable values in effect only in one buffer.
|
|
406
|
|
407 Scoping Rules for Variable Bindings
|
|
408
|
|
409 * Scope:: Scope means where in the program a value
|
|
410 is visible. Comparison with other languages.
|
|
411 * Extent:: Extent means how long in time a value exists.
|
|
412 * Impl of Scope:: Two ways to implement dynamic scoping.
|
|
413 * Using Scoping:: How to use dynamic scoping carefully and
|
|
414 avoid problems.
|
|
415
|
|
416 Buffer-Local Variables
|
|
417
|
|
418 * Intro to Buffer-Local:: Introduction and concepts.
|
|
419 * Creating Buffer-Local:: Creating and destroying buffer-local bindings.
|
|
420 * Default Value:: The default value is seen in buffers
|
|
421 that don't have their own local values.
|
|
422
|
|
423 Functions
|
|
424
|
|
425 * What Is a Function:: Lisp functions vs primitives; terminology.
|
|
426 * Lambda Expressions:: How functions are expressed as Lisp objects.
|
|
427 * Function Names:: A symbol can serve as the name of a function.
|
|
428 * Defining Functions:: Lisp expressions for defining functions.
|
|
429 * Calling Functions:: How to use an existing function.
|
|
430 * Mapping Functions:: Applying a function to each element of a list, etc.
|
|
431 * Anonymous Functions:: Lambda-expressions are functions with no names.
|
|
432 * Function Cells:: Accessing or setting the function definition
|
|
433 of a symbol.
|
|
434 * Related Topics:: Cross-references to specific Lisp primitives
|
|
435 that have a special bearing on how
|
|
436 functions work.
|
|
437
|
|
438 Lambda Expressions
|
|
439
|
|
440 * Lambda Components:: The parts of a lambda expression.
|
|
441 * Simple Lambda:: A simple example.
|
|
442 * Argument List:: Details and special features of argument lists.
|
|
443 * Function Documentation:: How to put documentation in a function.
|
|
444
|
|
445 Macros
|
|
446
|
|
447 * Simple Macro:: A basic example.
|
|
448 * Expansion:: How, when and why macros are expanded.
|
|
449 * Compiling Macros:: How macros are expanded by the compiler.
|
|
450 * Defining Macros:: How to write a macro definition.
|
|
451 * Backquote:: Easier construction of list structure.
|
|
452 * Problems with Macros:: Don't evaluate the macro arguments too many times.
|
|
453 Don't hide the user's variables.
|
|
454
|
|
455 Loading
|
|
456
|
|
457 * How Programs Do Loading:: The @code{load} function and others.
|
|
458 * Autoload:: Setting up a function to autoload.
|
|
459 * Named Features:: Loading a library if it isn't already loaded.
|
|
460 * Repeated Loading:: Precautions about loading a file twice.
|
|
461
|
|
462 Byte Compilation
|
|
463
|
|
464 * Compilation Functions:: Byte compilation functions.
|
|
465 * Disassembly:: Disassembling byte-code; how to read byte-code.
|
|
466
|
|
467 Debugging Lisp Programs
|
|
468
|
|
469 * Debugger:: How the XEmacs Lisp debugger is implemented.
|
|
470 * Syntax Errors:: How to find syntax errors.
|
|
471 * Compilation Errors:: How to find errors that show up in
|
|
472 byte compilation.
|
|
473 * Edebug:: A source-level XEmacs Lisp debugger.
|
|
474
|
|
475 The Lisp Debugger
|
|
476
|
|
477 * Error Debugging:: Entering the debugger when an error happens.
|
|
478 * Function Debugging:: Entering it when a certain function is called.
|
|
479 * Explicit Debug:: Entering it at a certain point in the program.
|
|
480 * Using Debugger:: What the debugger does; what you see while in it.
|
|
481 * Debugger Commands:: Commands used while in the debugger.
|
|
482 * Invoking the Debugger:: How to call the function @code{debug}.
|
|
483 * Internals of Debugger:: Subroutines of the debugger, and global variables.
|
|
484
|
|
485 Debugging Invalid Lisp Syntax
|
|
486
|
|
487 * Excess Open:: How to find a spurious open paren or missing close.
|
|
488 * Excess Close:: How to find a spurious close paren or missing open.
|
|
489
|
|
490 Reading and Printing Lisp Objects
|
|
491
|
|
492 * Streams Intro:: Overview of streams, reading and printing.
|
|
493 * Input Streams:: Various data types that can be used as
|
|
494 input streams.
|
|
495 * Input Functions:: Functions to read Lisp objects from text.
|
|
496 * Output Streams:: Various data types that can be used as
|
|
497 output streams.
|
|
498 * Output Functions:: Functions to print Lisp objects as text.
|
|
499
|
|
500 Minibuffers
|
|
501
|
|
502 * Intro to Minibuffers:: Basic information about minibuffers.
|
|
503 * Text from Minibuffer:: How to read a straight text string.
|
|
504 * Object from Minibuffer:: How to read a Lisp object or expression.
|
|
505 * Completion:: How to invoke and customize completion.
|
|
506 * Yes-or-No Queries:: Asking a question with a simple answer.
|
|
507 * Minibuffer Misc:: Various customization hooks and variables.
|
|
508
|
|
509 Completion
|
|
510
|
|
511 * Basic Completion:: Low-level functions for completing strings.
|
|
512 (These are too low level to use the minibuffer.)
|
|
513 * Minibuffer Completion:: Invoking the minibuffer with completion.
|
|
514 * Completion Commands:: Minibuffer commands that do completion.
|
|
515 * High-Level Completion:: Convenient special cases of completion
|
|
516 (reading buffer name, file name, etc.)
|
|
517 * Reading File Names:: Using completion to read file names.
|
|
518 * Programmed Completion:: Finding the completions for a given file name.
|
|
519
|
|
520 Command Loop
|
|
521
|
|
522 * Command Overview:: How the command loop reads commands.
|
|
523 * Defining Commands:: Specifying how a function should read arguments.
|
|
524 * Interactive Call:: Calling a command, so that it will read arguments.
|
|
525 * Command Loop Info:: Variables set by the command loop for you to examine.
|
|
526 * Events:: What input looks like when you read it.
|
|
527 * Reading Input:: How to read input events from the keyboard or mouse.
|
|
528 * Waiting:: Waiting for user input or elapsed time.
|
|
529 * Quitting:: How @kbd{C-g} works. How to catch or defer quitting.
|
|
530 * Prefix Command Arguments:: How the commands to set prefix args work.
|
|
531 * Recursive Editing:: Entering a recursive edit,
|
|
532 and why you usually shouldn't.
|
|
533 * Disabling Commands:: How the command loop handles disabled commands.
|
|
534 * Command History:: How the command history is set up, and how accessed.
|
|
535 * Keyboard Macros:: How keyboard macros are implemented.
|
|
536
|
|
537 Defining Commands
|
|
538
|
|
539 * Using Interactive:: General rules for @code{interactive}.
|
|
540 * Interactive Codes:: The standard letter-codes for reading arguments
|
|
541 in various ways.
|
|
542 * Interactive Examples:: Examples of how to read interactive arguments.
|
|
543
|
|
544 Events
|
|
545
|
|
546 * Event Types:: Events come in different types.
|
|
547 * Event Contents:: What the contents of each event type are.
|
|
548 * Event Predicates:: Querying whether an event is of a
|
|
549 particular type.
|
|
550 * Accessing Mouse Event Positions::
|
|
551 Determining where a mouse event occurred,
|
|
552 and over what.
|
|
553 * Accessing Other Event Info:: Accessing non-positional event info.
|
|
554 * Working With Events:: Creating, copying, and destroying events.
|
|
555 * Converting Events:: Converting between events, keys, and
|
|
556 characters.
|
|
557
|
|
558 Accessing Mouse Event Positions
|
|
559
|
|
560 * Frame-Level Event Position Info::
|
|
561 * Window-Level Event Position Info::
|
|
562 * Event Text Position Info::
|
|
563 * Event Glyph Position Info::
|
|
564 * Event Toolbar Position Info::
|
|
565 * Other Event Position Info::
|
|
566
|
|
567 Reading Input
|
|
568
|
|
569 * Key Sequence Input:: How to read one key sequence.
|
|
570 * Reading One Event:: How to read just one event.
|
|
571 * Dispatching an Event:: What to do with an event once it has been read.
|
|
572 * Quoted Character Input:: Asking the user to specify a character.
|
|
573 * Peeking and Discarding:: How to reread or throw away input events.
|
|
574
|
|
575 Keymaps
|
|
576
|
|
577 * Keymap Terminology:: Definitions of terms pertaining to keymaps.
|
|
578 * Format of Keymaps:: What a keymap looks like as a Lisp object.
|
|
579 * Creating Keymaps:: Functions to create and copy keymaps.
|
|
580 * Inheritance and Keymaps:: How one keymap can inherit the bindings
|
|
581 of another keymap.
|
|
582 * Key Sequences:: How to specify key sequences.
|
|
583 * Prefix Keys:: Defining a key with a keymap as its definition.
|
|
584 * Active Keymaps:: Each buffer has a local keymap
|
|
585 to override the standard (global) bindings.
|
|
586 Each minor mode can also override them.
|
|
587 * Key Lookup:: How extracting elements from keymaps works.
|
|
588 * Functions for Key Lookup:: How to request key lookup.
|
|
589 * Changing Key Bindings:: Redefining a key in a keymap.
|
|
590 * Key Binding Commands:: Interactive interfaces for redefining keys.
|
|
591 * Scanning Keymaps:: Looking through all keymaps, for printing help.
|
|
592 * Other Keymap Functions:: Miscellaneous keymap functions.
|
|
593
|
|
594 Menus
|
|
595
|
|
596 * Menu Format:: Format of a menu description.
|
|
597 * Menubar Format:: How to specify a menubar.
|
|
598 * Menubar:: Functions for controlling the menubar.
|
|
599 * Modifying Menus:: Modifying a menu description.
|
|
600 * Pop-Up Menus:: Functions for specifying pop-up menus.
|
|
601 * Menu Filters:: Filter functions for the default menubar.
|
|
602 * Buffers Menu:: The menu that displays the list of buffers.
|
|
603
|
|
604 Dialog Boxes
|
|
605
|
|
606 * Dialog Box Format::
|
|
607 * Dialog Box Functions::
|
|
608
|
|
609 Toolbar
|
|
610
|
|
611 * Toolbar Intro:: An introduction.
|
|
612 * Toolbar Descriptor Format:: How to create a toolbar.
|
|
613 * Specifying the Toolbar:: Setting a toolbar.
|
|
614 * Other Toolbar Variables:: Controlling the size of toolbars.
|
|
615
|
|
616 Scrollbars
|
|
617
|
|
618 Major and Minor Modes
|
|
619
|
|
620 * Major Modes:: Defining major modes.
|
|
621 * Minor Modes:: Defining minor modes.
|
|
622 * Modeline Format:: Customizing the text that appears in the modeline.
|
|
623 * Hooks:: How to use hooks; how to write code that
|
|
624 provides hooks.
|
|
625
|
|
626 Major Modes
|
|
627
|
|
628 * Major Mode Conventions:: Coding conventions for keymaps, etc.
|
|
629 * Example Major Modes:: Text mode and Lisp modes.
|
|
630 * Auto Major Mode:: How XEmacs chooses the major mode automatically.
|
|
631 * Mode Help:: Finding out how to use a mode.
|
|
632
|
|
633 Minor Modes
|
|
634
|
|
635 * Minor Mode Conventions:: Tips for writing a minor mode.
|
|
636 * Keymaps and Minor Modes:: How a minor mode can have its own keymap.
|
|
637
|
|
638 Modeline Format
|
|
639
|
|
640 * Modeline Data:: The data structure that controls the modeline.
|
|
641 * Modeline Variables:: Variables used in that data structure.
|
|
642 * %-Constructs:: Putting information into a modeline.
|
|
643
|
|
644 Documentation
|
|
645
|
|
646 * Documentation Basics:: Good style for doc strings.
|
|
647 Where to put them. How XEmacs stores them.
|
|
648 * Accessing Documentation:: How Lisp programs can access doc strings.
|
|
649 * Keys in Documentation:: Substituting current key bindings.
|
|
650 * Describing Characters:: Making printable descriptions of
|
|
651 non-printing characters and key sequences.
|
|
652 * Help Functions:: Subroutines used by XEmacs help facilities.
|
|
653
|
|
654 Files
|
|
655
|
|
656 * Visiting Files:: Reading files into Emacs buffers for editing.
|
|
657 * Saving Buffers:: Writing changed buffers back into files.
|
|
658 * Reading from Files:: Reading files into other buffers.
|
|
659 * Writing to Files:: Writing new files from parts of buffers.
|
|
660 * File Locks:: Locking and unlocking files, to prevent
|
|
661 simultaneous editing by two people.
|
|
662 * Information about Files:: Testing existence, accessibility, size of files.
|
|
663 * Contents of Directories:: Getting a list of the files in a directory.
|
|
664 * Changing File Attributes:: Renaming files, changing protection, etc.
|
|
665 * File Names:: Decomposing and expanding file names.
|
|
666
|
|
667 Visiting Files
|
|
668
|
|
669 * Visiting Functions:: The usual interface functions for visiting.
|
|
670 * Subroutines of Visiting:: Lower-level subroutines that they use.
|
|
671
|
|
672 Information about Files
|
|
673
|
|
674 * Testing Accessibility:: Is a given file readable? Writable?
|
|
675 * Kinds of Files:: Is it a directory? A link?
|
|
676 * File Attributes:: How large is it? Any other names? Etc.
|
|
677
|
|
678 File Names
|
|
679
|
|
680 * File Name Components:: The directory part of a file name, and the rest.
|
|
681 * Directory Names:: A directory's name as a directory
|
|
682 is different from its name as a file.
|
|
683 * Relative File Names:: Some file names are relative to a
|
|
684 current directory.
|
|
685 * File Name Expansion:: Converting relative file names to absolute ones.
|
|
686 * Unique File Names:: Generating names for temporary files.
|
|
687 * File Name Completion:: Finding the completions for a given file name.
|
|
688
|
|
689 Backups and Auto-Saving
|
|
690
|
|
691 * Backup Files:: How backup files are made; how their names
|
|
692 are chosen.
|
|
693 * Auto-Saving:: How auto-save files are made; how their
|
|
694 names are chosen.
|
|
695 * Reverting:: @code{revert-buffer}, and how to customize
|
|
696 what it does.
|
|
697
|
|
698 Backup Files
|
|
699
|
|
700 * Making Backups:: How XEmacs makes backup files, and when.
|
|
701 * Rename or Copy:: Two alternatives: renaming the old file
|
|
702 or copying it.
|
|
703 * Numbered Backups:: Keeping multiple backups for each source file.
|
|
704 * Backup Names:: How backup file names are computed; customization.
|
|
705
|
|
706 Buffers
|
|
707
|
|
708 * Buffer Basics:: What is a buffer?
|
|
709 * Buffer Names:: Accessing and changing buffer names.
|
|
710 * Buffer File Name:: The buffer file name indicates which file
|
|
711 is visited.
|
|
712 * Buffer Modification:: A buffer is @dfn{modified} if it needs to be saved.
|
|
713 * Modification Time:: Determining whether the visited file was changed
|
|
714 ``behind XEmacs's back''.
|
|
715 * Read Only Buffers:: Modifying text is not allowed in a
|
|
716 read-only buffer.
|
|
717 * The Buffer List:: How to look at all the existing buffers.
|
|
718 * Creating Buffers:: Functions that create buffers.
|
|
719 * Killing Buffers:: Buffers exist until explicitly killed.
|
|
720 * Current Buffer:: Designating a buffer as current
|
|
721 so primitives will access its contents.
|
|
722
|
|
723 Windows
|
|
724
|
|
725 * Basic Windows:: Basic information on using windows.
|
|
726 * Splitting Windows:: Splitting one window into two windows.
|
|
727 * Deleting Windows:: Deleting a window gives its space to other windows.
|
|
728 * Selecting Windows:: The selected window is the one that you edit in.
|
|
729 * Cyclic Window Ordering:: Moving around the existing windows.
|
|
730 * Buffers and Windows:: Each window displays the contents of a buffer.
|
|
731 * Displaying Buffers:: Higher-lever functions for displaying a buffer
|
|
732 and choosing a window for it.
|
|
733 * Window Point:: Each window has its own location of point.
|
|
734 * Window Start:: The display-start position controls which text
|
|
735 is on-screen in the window.
|
|
736 * Vertical Scrolling:: Moving text up and down in the window.
|
|
737 * Horizontal Scrolling:: Moving text sideways on the window.
|
|
738 * Size of Window:: Accessing the size of a window.
|
|
739 * Resizing Windows:: Changing the size of a window.
|
|
740 * Window Configurations:: Saving and restoring the state of the screen.
|
|
741
|
|
742 Frames
|
|
743
|
|
744 * Creating Frames:: Creating additional frames.
|
54
|
745 * Frame Properties:: Controlling frame size, position, font, etc.
|
0
|
746 * Frame Titles:: Automatic updating of frame titles.
|
|
747 * Deleting Frames:: Frames last until explicitly deleted.
|
|
748 * Finding All Frames:: How to examine all existing frames.
|
|
749 * Frames and Windows:: A frame contains windows;
|
|
750 display of text always works through windows.
|
|
751 * Minibuffers and Frames:: How a frame finds the minibuffer to use.
|
|
752 * Input Focus:: Specifying the selected frame.
|
|
753 * Visibility of Frames:: Frames may be visible or invisible, or icons.
|
|
754 * Raising and Lowering:: Raising a frame makes it hide other X windows;
|
|
755 lowering it makes the others hide them.
|
|
756 * Frame Hooks:: Hooks for customizing frame behavior.
|
|
757
|
|
758 Positions
|
|
759
|
|
760 * Point:: The special position where editing takes place.
|
|
761 * Motion:: Changing point.
|
|
762 * Excursions:: Temporary motion and buffer changes.
|
|
763 * Narrowing:: Restricting editing to a portion of the buffer.
|
|
764
|
|
765 Motion
|
|
766
|
|
767 * Character Motion:: Moving in terms of characters.
|
|
768 * Word Motion:: Moving in terms of words.
|
|
769 * Buffer End Motion:: Moving to the beginning or end of the buffer.
|
|
770 * Text Lines:: Moving in terms of lines of text.
|
|
771 * Screen Lines:: Moving in terms of lines as displayed.
|
|
772 * List Motion:: Moving by parsing lists and sexps.
|
|
773 * Skipping Characters:: Skipping characters belonging to a certain set.
|
|
774
|
|
775 Markers
|
|
776
|
|
777 * Overview of Markers:: The components of a marker, and how it relocates.
|
|
778 * Predicates on Markers:: Testing whether an object is a marker.
|
|
779 * Creating Markers:: Making empty markers or markers at certain places.
|
|
780 * Information from Markers:: Finding the marker's buffer or character
|
|
781 position.
|
|
782 * Changing Markers:: Moving the marker to a new buffer or position.
|
|
783 * The Mark:: How ``the mark'' is implemented with a marker.
|
|
784 * The Region:: How to access ``the region''.
|
|
785
|
|
786 Text
|
|
787
|
|
788 * Near Point:: Examining text in the vicinity of point.
|
|
789 * Buffer Contents:: Examining text in a general fashion.
|
|
790 * Comparing Text:: Comparing substrings of buffers.
|
|
791 * Insertion:: Adding new text to a buffer.
|
|
792 * Commands for Insertion:: User-level commands to insert text.
|
|
793 * Deletion:: Removing text from a buffer.
|
|
794 * User-Level Deletion:: User-level commands to delete text.
|
|
795 * The Kill Ring:: Where removed text sometimes is saved for later use.
|
|
796 * Undo:: Undoing changes to the text of a buffer.
|
|
797 * Maintaining Undo:: How to enable and disable undo information.
|
|
798 How to control how much information is kept.
|
|
799 * Filling:: Functions for explicit filling.
|
|
800 * Margins:: How to specify margins for filling commands.
|
|
801 * Auto Filling:: How auto-fill mode is implemented to break lines.
|
|
802 * Sorting:: Functions for sorting parts of the buffer.
|
|
803 * Columns:: Computing horizontal positions, and using them.
|
|
804 * Indentation:: Functions to insert or adjust indentation.
|
|
805 * Case Changes:: Case conversion of parts of the buffer.
|
|
806 * Text Properties:: Assigning Lisp property lists to text characters.
|
|
807 * Substitution:: Replacing a given character wherever it appears.
|
|
808 * Registers:: How registers are implemented. Accessing the text or
|
|
809 position stored in a register.
|
|
810 * Transposition:: Swapping two portions of a buffer.
|
|
811 * Change Hooks:: Supplying functions to be run when text is changed.
|
|
812
|
|
813 The Kill Ring
|
|
814
|
|
815 * Kill Ring Concepts:: What text looks like in the kill ring.
|
|
816 * Kill Functions:: Functions that kill text.
|
|
817 * Yank Commands:: Commands that access the kill ring.
|
|
818 * Low-Level Kill Ring:: Functions and variables for kill ring access.
|
|
819 * Internals of Kill Ring:: Variables that hold kill-ring data.
|
|
820
|
|
821 Indentation
|
|
822
|
|
823 * Primitive Indent:: Functions used to count and insert indentation.
|
|
824 * Mode-Specific Indent:: Customize indentation for different modes.
|
|
825 * Region Indent:: Indent all the lines in a region.
|
|
826 * Relative Indent:: Indent the current line based on previous lines.
|
|
827 * Indent Tabs:: Adjustable, typewriter-like tab stops.
|
|
828 * Motion by Indent:: Move to first non-blank character.
|
|
829
|
|
830 Searching and Matching
|
|
831
|
|
832 * String Search:: Search for an exact match.
|
|
833 * Regular Expressions:: Describing classes of strings.
|
|
834 * Regexp Search:: Searching for a match for a regexp.
|
|
835 * Match Data:: Finding out which part of the text matched
|
|
836 various parts of a regexp, after regexp search.
|
|
837 * Saving Match Data:: Saving and restoring this information.
|
|
838 * Standard Regexps:: Useful regexps for finding sentences, pages,...
|
|
839 * Searching and Case:: Case-independent or case-significant searching.
|
|
840
|
|
841 Regular Expressions
|
|
842
|
|
843 * Syntax of Regexps:: Rules for writing regular expressions.
|
|
844 * Regexp Example:: Illustrates regular expression syntax.
|
|
845
|
|
846 Syntax Tables
|
|
847
|
|
848 * Syntax Descriptors:: How characters are classified.
|
|
849 * Syntax Table Functions:: How to create, examine and alter syntax tables.
|
|
850 * Parsing Expressions:: Parsing balanced expressions
|
|
851 using the syntax table.
|
|
852 * Standard Syntax Tables:: Syntax tables used by various major modes.
|
|
853 * Syntax Table Internals:: How syntax table information is stored.
|
|
854
|
|
855 Syntax Descriptors
|
|
856
|
|
857 * Syntax Class Table:: Table of syntax classes.
|
|
858 * Syntax Flags:: Additional flags each character can have.
|
|
859
|
|
860 Abbrevs And Abbrev Expansion
|
|
861
|
|
862 * Abbrev Mode:: Setting up XEmacs for abbreviation.
|
|
863 * Tables: Abbrev Tables. Creating and working with abbrev tables.
|
|
864 * Defining Abbrevs:: Specifying abbreviations and their expansions.
|
|
865 * Files: Abbrev Files. Saving abbrevs in files.
|
|
866 * Expansion: Abbrev Expansion. Controlling expansion; expansion subroutines.
|
|
867 * Standard Abbrev Tables:: Abbrev tables used by various major modes.
|
|
868
|
|
869 Extents
|
|
870
|
|
871 * Intro to Extents:: Extents are regions over a buffer or string.
|
|
872 * Creating and Modifying Extents::
|
|
873 Basic extent functions.
|
|
874 * Extent Endpoints:: Accessing and setting the bounds of an extent.
|
|
875 * Finding Extents:: Determining which extents are in an object.
|
|
876 * Mapping Over Extents:: More sophisticated functions for extent scanning.
|
|
877 * Extent Properties:: Extents have built-in and user-definable properties.
|
|
878 * Detached Extents:: Extents that are not in a buffer.
|
|
879 * Extent Parents:: Inheriting properties from another extent.
|
|
880 * Duplicable Extents:: Extents can be marked to be copied into strings.
|
|
881 * Extents and Events:: Extents can interact with the keyboard and mouse.
|
|
882 * Atomic Extents:: Treating a block of text as a single entity.
|
|
883
|
|
884 Specifiers
|
|
885
|
|
886 * Introduction to Specifiers:: Specifiers provide a clean way for
|
|
887 display and other properties to vary
|
|
888 (under user control) in a wide variety
|
|
889 of contexts.
|
|
890 * Specifiers In-Depth:: Gory details about specifier innards.
|
|
891 * Specifier Instancing:: Instancing means obtaining the ``value'' of
|
|
892 a specifier in a particular context.
|
|
893 * Specifier Types:: Specifiers come in different flavors.
|
|
894 * Adding Specifications:: Specifications control a specifier's ``value''
|
|
895 by giving conditions under which a
|
|
896 particular value is valid.
|
|
897 * Retrieving Specifications:: Querying a specifier's specifications.
|
|
898 * Specifier Instancing Functions::
|
|
899 Functions to instance a specifier.
|
|
900 * Specifier Example:: Making all this stuff clearer.
|
|
901 * Creating Specifiers:: Creating specifiers for your own use.
|
|
902 * Specifier Validation Functions::
|
|
903 Validating the components of a specifier.
|
|
904 * Other Specification Functions::
|
|
905 Other ways of working with specifications.
|
|
906
|
|
907 Faces and Window-System Objects
|
|
908
|
|
909 * Faces:: Controlling the way text looks.
|
|
910 * Fonts:: Controlling the typeface of text.
|
|
911 * Colors:: Controlling the color of text and pixmaps.
|
|
912
|
|
913 Faces
|
|
914
|
|
915 * Merging Faces:: How XEmacs decides which face to use
|
|
916 for a character.
|
|
917 * Basic Face Functions:: How to define and examine faces.
|
|
918 * Face Properties:: How to access and modify a face's properties.
|
|
919 * Face Convenience Functions:: Convenience functions for accessing
|
|
920 particular properties of a face.
|
|
921 * Other Face Display Functions:: Other functions pertaining to how a
|
|
922 a face appears.
|
|
923
|
|
924 Fonts
|
|
925
|
|
926 * Font Specifiers:: Specifying how a font will appear.
|
|
927 * Font Instances:: What a font specifier gets instanced as.
|
|
928 * Font Instance Names:: The name of a font instance.
|
|
929 * Font Instance Size:: The size of a font instance.
|
|
930 * Font Instance Characteristics:: Display characteristics of font instances.
|
|
931 * Font Convenience Functions:: Convenience functions that automatically
|
|
932 instance and retrieve the properties
|
|
933 of a font specifier.
|
|
934
|
|
935 Colors
|
|
936
|
|
937 * Color Specifiers:: Specifying how a color will appear.
|
|
938 * Color Instances:: What a color specifier gets instanced as.
|
|
939 * Color Instance Properties:: Properties of color instances.
|
|
940 * Color Convenience Functions:: Convenience functions that automatically
|
|
941 instance and retrieve the properties
|
|
942 of a color specifier.
|
|
943
|
|
944 Glyphs
|
|
945
|
|
946 * Glyph Functions:: Functions for working with glyphs.
|
|
947 * Images:: Graphical images displayed in a frame.
|
|
948 * Glyph Types:: Each glyph has a particular type.
|
|
949 * Mouse Pointer:: Controlling the mouse pointer.
|
|
950 * Redisplay Glyphs:: Glyphs controlling various redisplay functions.
|
|
951 * Subwindows:: Inserting an externally-controlled subwindow
|
|
952 into a buffer.
|
|
953
|
|
954 Glyph Functions
|
|
955
|
|
956 * Creating Glyphs:: Creating new glyphs.
|
|
957 * Glyph Properties:: Accessing and modifying a glyph's properties.
|
|
958 * Glyph Convenience Functions::
|
|
959 Convenience functions for accessing particular
|
|
960 properties of a glyph.
|
|
961 * Glyph Dimensions:: Determining the height, width, etc. of a glyph.
|
|
962
|
|
963 Images
|
|
964
|
|
965 * Image Specifiers:: Specifying how an image will appear.
|
|
966 * Image Instantiator Conversion::
|
|
967 Conversion is applied to image instantiators
|
|
968 at the time they are added to an
|
|
969 image specifier or at the time they
|
|
970 are passed to @code{make-image-instance}.
|
|
971 * Image Instances:: What an image specifier gets instanced as.
|
|
972
|
|
973 Image Instances
|
|
974
|
|
975 * Image Instance Types:: Each image instances has a particular type.
|
|
976 * Image Instance Functions:: Functions for working with image instances.
|
|
977
|
|
978 Annotations
|
|
979
|
|
980 * Annotation Basics:: Introduction to annotations.
|
|
981 * Annotation Primitives:: Creating and deleting annotations.
|
|
982 * Annotation Properties:: Retrieving and changing the characteristics
|
|
983 of an annotation.
|
|
984 * Margin Primitives:: Controlling the size of the margins.
|
|
985 * Locating Annotations:: Looking for annotations in a buffer.
|
|
986 * Annotation Hooks:: Hooks called at certain times during an
|
|
987 annotation's lifetime.
|
|
988
|
|
989 Hash Tables
|
|
990
|
|
991 * Introduction to Hash Tables:: Hash tables are fast data structures for
|
|
992 implementing simple tables (i.e. finite
|
|
993 mappings from keys to values).
|
|
994 * Working With Hash Tables:: Hash table functions.
|
|
995 * Weak Hash Tables:: Hash tables with special garbage-collection
|
|
996 behavior.
|
|
997
|
|
998 Range Tables
|
|
999
|
|
1000 * Introduction to Range Tables:: Range tables efficiently map ranges of
|
|
1001 integers to values.
|
|
1002 * Working With Range Tables:: Range table functions.
|
|
1003
|
|
1004
|
|
1005 XEmacs Display
|
|
1006
|
|
1007 * Refresh Screen:: Clearing the screen and redrawing everything on it.
|
|
1008 * Truncation:: Folding or wrapping long text lines.
|
|
1009 * The Echo Area:: Where messages are displayed.
|
|
1010 * Selective Display:: Hiding part of the buffer text.
|
|
1011 * Overlay Arrow:: Display of an arrow to indicate position.
|
|
1012 * Temporary Displays:: Displays that go away automatically.
|
|
1013 * Blinking:: How XEmacs shows the matching open parenthesis.
|
|
1014 * Usual Display:: The usual conventions for displaying nonprinting chars.
|
|
1015 * Display Tables:: How to specify other conventions.
|
|
1016 * Beeping:: Audible signal to the user.
|
|
1017
|
|
1018 Processes
|
|
1019
|
|
1020 * Subprocess Creation:: Functions that start subprocesses.
|
|
1021 * Synchronous Processes:: Details of using synchronous subprocesses.
|
|
1022 * Asynchronous Processes:: Starting up an asynchronous subprocess.
|
|
1023 * Deleting Processes:: Eliminating an asynchronous subprocess.
|
|
1024 * Process Information:: Accessing run-status and other attributes.
|
|
1025 * Input to Processes:: Sending input to an asynchronous subprocess.
|
|
1026 * Signals to Processes:: Stopping, continuing or interrupting
|
|
1027 an asynchronous subprocess.
|
|
1028 * Output from Processes:: Collecting output from an asynchronous subprocess.
|
|
1029 * Sentinels:: Sentinels run when process run-status changes.
|
|
1030 * Network:: Opening network connections.
|
|
1031
|
|
1032 Receiving Output from Processes
|
|
1033
|
|
1034 * Process Buffers:: If no filter, output is put in a buffer.
|
|
1035 * Filter Functions:: Filter functions accept output from the process.
|
|
1036 * Accepting Output:: How to wait until process output arrives.
|
|
1037
|
|
1038 Operating System Interface
|
|
1039
|
|
1040 * Starting Up:: Customizing XEmacs start-up processing.
|
|
1041 * Getting Out:: How exiting works (permanent or temporary).
|
|
1042 * System Environment:: Distinguish the name and kind of system.
|
|
1043 * Terminal Input:: Recording terminal input for debugging.
|
|
1044 * Terminal Output:: Recording terminal output for debugging.
|
|
1045 * Flow Control:: How to turn output flow control on or off.
|
|
1046 * Batch Mode:: Running XEmacs without terminal interaction.
|
|
1047
|
|
1048 Starting Up XEmacs
|
|
1049
|
|
1050 * Start-up Summary:: Sequence of actions XEmacs performs at start-up.
|
|
1051 * Init File:: Details on reading the init file (@file{.emacs}).
|
|
1052 * Terminal-Specific:: How the terminal-specific Lisp file is read.
|
|
1053 * Command Line Arguments:: How command line arguments are processed,
|
|
1054 and how you can customize them.
|
|
1055
|
|
1056 Getting out of XEmacs
|
|
1057
|
|
1058 * Killing XEmacs:: Exiting XEmacs irreversibly.
|
|
1059 * Suspending XEmacs:: Exiting XEmacs reversibly.
|
|
1060
|
|
1061 X-Windows
|
|
1062
|
|
1063 * X Selections:: Transferring text to and from other X clients.
|
|
1064 * X Server:: Information about the X server connected to
|
|
1065 a particular device.
|
|
1066 * Resources:: Getting resource values from the server.
|
|
1067 * Server Data:: Getting info about the X server.
|
|
1068 * Grabs:: Restricting access to the server by other apps.
|
|
1069 * X Miscellaneous:: Other X-specific functions and variables.
|
|
1070
|
|
1071 ToolTalk Support
|
|
1072
|
|
1073 * XEmacs ToolTalk API Summary::
|
|
1074 * Sending Messages::
|
|
1075 * Receiving Messages::
|
|
1076
|
|
1077 Internationalization
|
|
1078
|
|
1079 * I18N Levels 1 and 2:: Support for different time, date, and currency formats.
|
|
1080 * I18N Level 3:: Support for localized messages.
|
|
1081 * I18N Level 4:: Support for Asian languages.
|
|
1082
|
|
1083 MULE
|
|
1084
|
|
1085 * Internationalization Terminology::
|
|
1086 Definition of various internationalization terms.
|
|
1087 * Charsets:: Sets of related characters.
|
|
1088 * MULE Characters:: Working with characters in XEmacs/MULE.
|
|
1089 * Composite Characters:: Making new characters by overstriking other ones.
|
|
1090 * ISO 2022:: An international standard for charsets and encodings.
|
|
1091 * Coding Systems:: Ways of representing a string of chars using integers.
|
|
1092 * CCL:: A special language for writing fast converters.
|
|
1093 * Category Tables:: Subdividing charsets into groups.
|
|
1094
|
|
1095 Tips
|
|
1096
|
|
1097 * Style Tips:: Writing clean and robust programs.
|
|
1098 * Compilation Tips:: Making compiled code run fast.
|
|
1099 * Documentation Tips:: Writing readable documentation strings.
|
|
1100 * Comment Tips:: Conventions for writing comments.
|
|
1101 * Library Headers:: Standard headers for library packages.
|
|
1102
|
|
1103 Building XEmacs and Object Allocation
|
|
1104
|
|
1105 * Building XEmacs:: How to preload Lisp libraries into XEmacs.
|
|
1106 * Pure Storage:: A kludge to make preloaded Lisp functions sharable.
|
|
1107 * Garbage Collection:: Reclaiming space for Lisp objects no longer used.
|
|
1108
|
|
1109 @end menu
|
|
1110
|
|
1111 @include intro.texi
|
|
1112 @include objects.texi
|
|
1113 @include numbers.texi
|
|
1114 @include strings.texi
|
|
1115
|
|
1116 @include lists.texi
|
|
1117 @include sequences.texi
|
|
1118 @include symbols.texi
|
|
1119 @include eval.texi
|
|
1120
|
|
1121 @include control.texi
|
|
1122 @include variables.texi
|
|
1123 @include functions.texi
|
|
1124 @include macros.texi
|
|
1125
|
|
1126 @include loading.texi
|
|
1127 @include compile.texi
|
|
1128 @include debugging.texi
|
|
1129 @include streams.texi
|
|
1130
|
|
1131 @include minibuf.texi
|
|
1132 @include commands.texi
|
|
1133 @include keymaps.texi
|
|
1134 @include menus.texi
|
|
1135 @include dialog.texi
|
|
1136 @include toolbar.texi
|
|
1137 @include scrollbars.texi
|
|
1138 @include modes.texi
|
|
1139
|
|
1140 @include help.texi
|
|
1141 @include files.texi
|
|
1142 @include backups.texi
|
|
1143 @include buffers.texi
|
|
1144
|
|
1145 @include windows.texi
|
|
1146 @include frames.texi
|
|
1147 @include consoles-devices.texi
|
|
1148 @include positions.texi
|
|
1149 @include markers.texi
|
|
1150 @include text.texi
|
|
1151
|
|
1152 @include searching.texi
|
|
1153 @include syntax.texi
|
|
1154 @include abbrevs.texi
|
|
1155
|
|
1156 @include extents.texi
|
|
1157 @include specifiers.texi
|
|
1158 @include faces.texi
|
|
1159 @include glyphs.texi
|
|
1160 @include annotations.texi
|
|
1161 @include display.texi
|
|
1162
|
|
1163 @include hash-tables.texi
|
|
1164 @include range-tables.texi
|
|
1165 @include databases.texi
|
|
1166
|
|
1167 @include processes.texi
|
|
1168 @include os.texi
|
|
1169 @include x-windows.texi
|
|
1170 @include tooltalk.texi
|
|
1171 @include internationalization.texi
|
|
1172 @include mule.texi
|
|
1173
|
|
1174 @c MOVE to User's Manual: include calendar.texi
|
|
1175
|
|
1176 @c MOVE to User's Manual: include misc-modes.texi
|
|
1177
|
|
1178 @c appendices
|
|
1179
|
|
1180 @c REMOVE this: include non-hacker.texi
|
|
1181
|
|
1182 @include tips.texi
|
|
1183 @include building.texi
|
|
1184 @include errors.texi
|
|
1185 @include locals.texi
|
|
1186 @include maps.texi
|
|
1187 @include hooks.texi
|
|
1188
|
|
1189 @include index.texi
|
|
1190
|
|
1191 @c Print the tables of contents
|
|
1192 @summarycontents
|
|
1193 @contents
|
|
1194 @c That's all
|
|
1195
|
|
1196 @bye
|
|
1197
|
|
1198
|
|
1199 These words prevent "local variables" above from confusing XEmacs.
|