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