Commit d24880de authored by Glenn Morris's avatar Glenn Morris

Untabify doc/lispref/*.texi.

* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
parent 2c79f053
2010-06-23 Glenn Morris <rgm@gnu.org>
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-20 Chong Yidong <cyd@stupidchicken.com> 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
* modes.texi (Minor Mode Conventions): Fix typo (Bug#6477). * modes.texi (Minor Mode Conventions): Fix typo (Bug#6477).
......
...@@ -376,10 +376,10 @@ definitions of @code{local-abbrev-table} and @code{text-mode-abbrev-table}. ...@@ -376,10 +376,10 @@ definitions of @code{local-abbrev-table} and @code{text-mode-abbrev-table}.
(funcall expand)))) (funcall expand))))
(add-hook 'foo-mode-hook (add-hook 'foo-mode-hook
#'(lambda () #'(lambda ()
(add-hook 'abbrev-expand-functions (add-hook 'abbrev-expand-functions
'foo-mode-abbrev-expand-function 'foo-mode-abbrev-expand-function
nil t))) nil t)))
@end smallexample @end smallexample
@node Standard Abbrev Tables, Abbrev Properties, Abbrev Expansion, Abbrevs @node Standard Abbrev Tables, Abbrev Properties, Abbrev Expansion, Abbrevs
......
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual. @c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, 2002, @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, 2002,
@c 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. @c 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions. @c See the file elisp.texi for copying conditions.
@setfilename ../../info/commands @setfilename ../../info/commands
@node Command Loop, Keymaps, Minibuffers, Top @node Command Loop, Keymaps, Minibuffers, Top
...@@ -21,7 +22,7 @@ are done, and the subroutines that allow Lisp programs to do them. ...@@ -21,7 +22,7 @@ are done, and the subroutines that allow Lisp programs to do them.
* Distinguish Interactive:: Making a command distinguish interactive calls. * Distinguish Interactive:: Making a command distinguish interactive calls.
* Command Loop Info:: Variables set by the command loop for you to examine. * Command Loop Info:: Variables set by the command loop for you to examine.
* Adjusting Point:: Adjustment of point after a command. * Adjusting Point:: Adjustment of point after a command.
* Input Events:: What input looks like when you read it. * Input Events:: What input looks like when you read it.
* Reading Input:: How to read input events from the keyboard or mouse. * Reading Input:: How to read input events from the keyboard or mouse.
* Special Events:: Events processed immediately and individually. * Special Events:: Events processed immediately and individually.
* Waiting:: Waiting for user input or elapsed time. * Waiting:: Waiting for user input or elapsed time.
...@@ -968,23 +969,23 @@ the current Emacs session. If a symbol has not yet been so used, ...@@ -968,23 +969,23 @@ the current Emacs session. If a symbol has not yet been so used,
@end defun @end defun
@menu @menu
* Keyboard Events:: Ordinary characters--keys with symbols on them. * Keyboard Events:: Ordinary characters--keys with symbols on them.
* Function Keys:: Function keys--keys with names, not symbols. * Function Keys:: Function keys--keys with names, not symbols.
* Mouse Events:: Overview of mouse events. * Mouse Events:: Overview of mouse events.
* Click Events:: Pushing and releasing a mouse button. * Click Events:: Pushing and releasing a mouse button.
* Drag Events:: Moving the mouse before releasing the button. * Drag Events:: Moving the mouse before releasing the button.
* Button-Down Events:: A button was pushed and not yet released. * Button-Down Events:: A button was pushed and not yet released.
* Repeat Events:: Double and triple click (or drag, or down). * Repeat Events:: Double and triple click (or drag, or down).
* Motion Events:: Just moving the mouse, not pushing a button. * Motion Events:: Just moving the mouse, not pushing a button.
* Focus Events:: Moving the mouse between frames. * Focus Events:: Moving the mouse between frames.
* Misc Events:: Other events the system can generate. * Misc Events:: Other events the system can generate.
* Event Examples:: Examples of the lists for mouse events. * Event Examples:: Examples of the lists for mouse events.
* Classifying Events:: Finding the modifier keys in an event symbol. * Classifying Events:: Finding the modifier keys in an event symbol.
Event types. Event types.
* Accessing Mouse:: Functions to extract info from mouse events. * Accessing Mouse:: Functions to extract info from mouse events.
* Accessing Scroll:: Functions to get info from scroll bar events. * Accessing Scroll:: Functions to get info from scroll bar events.
* Strings of Events:: Special considerations for putting * Strings of Events:: Special considerations for putting
keyboard character events in a string. keyboard character events in a string.
@end menu @end menu
@node Keyboard Events @node Keyboard Events
...@@ -2158,12 +2159,12 @@ debugging terminal input. ...@@ -2158,12 +2159,12 @@ debugging terminal input.
For higher-level input facilities, see @ref{Minibuffers}. For higher-level input facilities, see @ref{Minibuffers}.
@menu @menu
* Key Sequence Input:: How to read one key sequence. * Key Sequence Input:: How to read one key sequence.
* Reading One Event:: How to read just one event. * Reading One Event:: How to read just one event.
* Event Mod:: How Emacs modifies events as they are read. * Event Mod:: How Emacs modifies events as they are read.
* Invoking the Input Method:: How reading an event uses the input method. * Invoking the Input Method:: How reading an event uses the input method.
* Quoted Character Input:: Asking the user to specify a character. * Quoted Character Input:: Asking the user to specify a character.
* Event Input Misc:: How to reread or throw away input events. * Event Input Misc:: How to reread or throw away input events.
@end menu @end menu
@node Key Sequence Input @node Key Sequence Input
...@@ -2889,9 +2890,9 @@ normal quitting is permitted after the first character of input. ...@@ -2889,9 +2890,9 @@ normal quitting is permitted after the first character of input.
(while (not done) (while (not done)
(let ((inhibit-quit first) (let ((inhibit-quit first)
@dots{}) @dots{})
(and prompt (message "%s-" prompt)) (and prompt (message "%s-" prompt))
(setq char (read-event)) (setq char (read-event))
(if inhibit-quit (setq quit-flag nil))) (if inhibit-quit (setq quit-flag nil)))
@r{@dots{}set the variable @code{code}@dots{}}) @r{@dots{}set the variable @code{code}@dots{}})
code)) code))
@end example @end example
......
...@@ -47,9 +47,9 @@ byte compilation. ...@@ -47,9 +47,9 @@ byte compilation.
* Compilation Functions:: Byte compilation functions. * Compilation Functions:: Byte compilation functions.
* Docs and Compilation:: Dynamic loading of documentation strings. * Docs and Compilation:: Dynamic loading of documentation strings.
* Dynamic Loading:: Dynamic loading of individual functions. * Dynamic Loading:: Dynamic loading of individual functions.
* Eval During Compile:: Code to be evaluated when you compile. * Eval During Compile:: Code to be evaluated when you compile.
* Compiler Errors:: Handling compiler error messages. * Compiler Errors:: Handling compiler error messages.
* Byte-Code Objects:: The data type used for byte-compiled functions. * Byte-Code Objects:: The data type used for byte-compiled functions.
* Disassembly:: Disassembling byte-code; how to read byte-code. * Disassembly:: Disassembling byte-code; how to read byte-code.
@end menu @end menu
......
...@@ -28,7 +28,7 @@ compiler, you need to know how to examine the compiler's input buffer. ...@@ -28,7 +28,7 @@ compiler, you need to know how to examine the compiler's input buffer.
@menu @menu
* Debugger:: How the Emacs Lisp debugger is implemented. * Debugger:: How the Emacs Lisp debugger is implemented.
* Edebug:: A source-level Emacs Lisp debugger. * Edebug:: A source-level Emacs Lisp debugger.
* Syntax Errors:: How to find syntax errors. * Syntax Errors:: How to find syntax errors.
* Test Coverage:: Ensuring you have tested all branches in your code. * Test Coverage:: Ensuring you have tested all branches in your code.
* Compilation Errors:: How to find errors that show up in byte compilation. * Compilation Errors:: How to find errors that show up in byte compilation.
...@@ -58,7 +58,7 @@ debugger recursively. @xref{Recursive Editing}. ...@@ -58,7 +58,7 @@ debugger recursively. @xref{Recursive Editing}.
@menu @menu
* Error Debugging:: Entering the debugger when an error happens. * Error Debugging:: Entering the debugger when an error happens.
* Infinite Loops:: Stopping and debugging a program that doesn't exit. * Infinite Loops:: Stopping and debugging a program that doesn't exit.
* Function Debugging:: Entering it when a certain function is called. * Function Debugging:: Entering it when a certain function is called.
* Explicit Debug:: Entering it at a certain point in the program. * Explicit Debug:: Entering it at a certain point in the program.
* Using Debugger:: What the debugger does; what you see while in it. * Using Debugger:: What the debugger does; what you see while in it.
......
...@@ -1181,7 +1181,7 @@ inside the overlay or outside, and likewise for the end of the overlay. ...@@ -1181,7 +1181,7 @@ inside the overlay or outside, and likewise for the end of the overlay.
@menu @menu
* Managing Overlays:: Creating and moving overlays. * Managing Overlays:: Creating and moving overlays.
* Overlay Properties:: How to read and set properties. * Overlay Properties:: How to read and set properties.
What properties do to the screen display. What properties do to the screen display.
* Finding Overlays:: Searching for overlays. * Finding Overlays:: Searching for overlays.
@end menu @end menu
......
...@@ -59,24 +59,24 @@ The first three sections below should tell you enough about Edebug to ...@@ -59,24 +59,24 @@ The first three sections below should tell you enough about Edebug to
start using it. start using it.
@menu @menu
* Using Edebug:: Introduction to use of Edebug. * Using Edebug:: Introduction to use of Edebug.
* Instrumenting:: You must instrument your code * Instrumenting:: You must instrument your code
in order to debug it with Edebug. in order to debug it with Edebug.
* Modes: Edebug Execution Modes. Execution modes, stopping more or less often. * Modes: Edebug Execution Modes. Execution modes, stopping more or less often.
* Jumping:: Commands to jump to a specified place. * Jumping:: Commands to jump to a specified place.
* Misc: Edebug Misc. Miscellaneous commands. * Misc: Edebug Misc. Miscellaneous commands.
* Breaks:: Setting breakpoints to make the program stop. * Breaks:: Setting breakpoints to make the program stop.
* Trapping Errors:: Trapping errors with Edebug. * Trapping Errors:: Trapping errors with Edebug.
* Views: Edebug Views. Views inside and outside of Edebug. * Views: Edebug Views. Views inside and outside of Edebug.
* Eval: Edebug Eval. Evaluating expressions within Edebug. * Eval: Edebug Eval. Evaluating expressions within Edebug.
* Eval List:: Expressions whose values are displayed * Eval List:: Expressions whose values are displayed
each time you enter Edebug. each time you enter Edebug.
* Printing in Edebug:: Customization of printing. * Printing in Edebug:: Customization of printing.
* Trace Buffer:: How to produce trace output in a buffer. * Trace Buffer:: How to produce trace output in a buffer.
* Coverage Testing:: How to test evaluation coverage. * Coverage Testing:: How to test evaluation coverage.
* The Outside Context:: Data that Edebug saves and restores. * The Outside Context:: Data that Edebug saves and restores.
* Edebug and Macros:: Specifying how to handle macro calls. * Edebug and Macros:: Specifying how to handle macro calls.
* Options: Edebug Options. Option variables for customizing Edebug. * Options: Edebug Options. Option variables for customizing Edebug.
@end menu @end menu
@node Using Edebug @node Using Edebug
...@@ -429,8 +429,8 @@ breakpoints, the global break condition, and source breakpoints. ...@@ -429,8 +429,8 @@ breakpoints, the global break condition, and source breakpoints.
@menu @menu
* Breakpoints:: Breakpoints at stop points. * Breakpoints:: Breakpoints at stop points.
* Global Break Condition:: Breaking on an event. * Global Break Condition:: Breaking on an event.
* Source Breakpoints:: Embedding breakpoints in source code. * Source Breakpoints:: Embedding breakpoints in source code.
@end menu @end menu
@node Breakpoints @node Breakpoints
...@@ -940,9 +940,9 @@ explains precisely what context Edebug restores, and how Edebug fails to ...@@ -940,9 +940,9 @@ explains precisely what context Edebug restores, and how Edebug fails to
be completely transparent. be completely transparent.
@menu @menu
* Checking Whether to Stop:: When Edebug decides what to do. * Checking Whether to Stop:: When Edebug decides what to do.
* Edebug Display Update:: When Edebug updates the display. * Edebug Display Update:: When Edebug updates the display.
* Edebug Recursive Edit:: When Edebug stops execution. * Edebug Recursive Edit:: When Edebug stops execution.
@end menu @end menu
@node Checking Whether to Stop @node Checking Whether to Stop
...@@ -1074,9 +1074,9 @@ extra care is needed. This subsection explains the details. ...@@ -1074,9 +1074,9 @@ extra care is needed. This subsection explains the details.
@menu @menu
* Instrumenting Macro Calls:: The basic problem. * Instrumenting Macro Calls:: The basic problem.
* Specification List:: How to specify complex patterns of evaluation. * Specification List:: How to specify complex patterns of evaluation.
* Backtracking:: What Edebug does when matching fails. * Backtracking:: What Edebug does when matching fails.
* Specification Examples:: To help understand specifications. * Specification Examples:: To help understand specifications.
@end menu @end menu
@node Instrumenting Macro Calls @node Instrumenting Macro Calls
......
This diff is collapsed.
...@@ -110,7 +110,7 @@ forms. ...@@ -110,7 +110,7 @@ forms.
* Symbol Forms:: Symbols evaluate as variables. * Symbol Forms:: Symbols evaluate as variables.
* Classifying Lists:: How to distinguish various sorts of list forms. * Classifying Lists:: How to distinguish various sorts of list forms.
* Function Indirection:: When a symbol appears as the car of a list, * Function Indirection:: When a symbol appears as the car of a list,
we find the real function via the symbol. we find the real function via the symbol.
* Function Forms:: Forms that call functions. * Function Forms:: Forms that call functions.
* Macro Forms:: Forms that call macros. * Macro Forms:: Forms that call macros.
* Special Forms:: "Special forms" are idiosyncratic primitives, * Special Forms:: "Special forms" are idiosyncratic primitives,
......
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual. @c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001,
@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions. @c See the file elisp.texi for copying conditions.
@setfilename ../../info/files @setfilename ../../info/files
@node Files, Backups and Auto-Saving, Documentation, Top @node Files, Backups and Auto-Saving, Documentation, Top
...@@ -38,9 +39,9 @@ to locale @code{system-message-locale}, and decoded using coding system ...@@ -38,9 +39,9 @@ to locale @code{system-message-locale}, and decoded using coding system
* Changing Files:: Renaming files, changing protection, etc. * Changing Files:: Renaming files, changing protection, etc.
* File Names:: Decomposing and expanding file names. * File Names:: Decomposing and expanding file names.
* Contents of Directories:: Getting a list of the files in a directory. * Contents of Directories:: Getting a list of the files in a directory.
* Create/Delete Dirs:: Creating and Deleting Directories. * Create/Delete Dirs:: Creating and Deleting Directories.
* Magic File Names:: Defining "magic" special handling * Magic File Names:: Defining "magic" special handling
for certain file names. for certain file names.
* Format Conversion:: Conversion to and from various file formats. * Format Conversion:: Conversion to and from various file formats.
@end menu @end menu
...@@ -755,7 +756,7 @@ otherwise noted. ...@@ -755,7 +756,7 @@ otherwise noted.
@menu @menu
* Testing Accessibility:: Is a given file readable? Writable? * Testing Accessibility:: Is a given file readable? Writable?
* Kinds of Files:: Is it a directory? A symbolic link? * Kinds of Files:: Is it a directory? A symbolic link?
* Truenames:: Eliminating symbolic links from a file name. * Truenames:: Eliminating symbolic links from a file name.
* File Attributes:: How large is it? Any other names? Etc. * File Attributes:: How large is it? Any other names? Etc.
* Locating Files:: How to find a file in standard places. * Locating Files:: How to find a file in standard places.
@end menu @end menu
......
...@@ -85,26 +85,26 @@ is the same as for @code{framep} above. ...@@ -85,26 +85,26 @@ is the same as for @code{framep} above.
* Frame Parameters:: Controlling frame size, position, font, etc. * Frame Parameters:: Controlling frame size, position, font, etc.
* Terminal Parameters:: Parameters common for all frames on terminal. * Terminal Parameters:: Parameters common for all frames on terminal.
* Frame Titles:: Automatic updating of frame titles. * Frame Titles:: Automatic updating of frame titles.
* Deleting Frames:: Frames last until explicitly deleted. * Deleting Frames:: Frames last until explicitly deleted.
* Finding All Frames:: How to examine all existing frames. * Finding All Frames:: How to examine all existing frames.
* Frames and Windows:: A frame contains windows; * Frames and Windows:: A frame contains windows;
display of text always works through windows. display of text always works through windows.
* Minibuffers and Frames:: How a frame finds the minibuffer to use. * Minibuffers and Frames:: How a frame finds the minibuffer to use.
* Input Focus:: Specifying the selected frame. * Input Focus:: Specifying the selected frame.
* Visibility of Frames:: Frames may be visible or invisible, or icons. * Visibility of Frames:: Frames may be visible or invisible, or icons.
* Raising and Lowering:: Raising a frame makes it hide other windows; * Raising and Lowering:: Raising a frame makes it hide other windows;
lowering it makes the others hide it. lowering it makes the others hide it.
* Frame Configurations:: Saving the state of all frames. * Frame Configurations:: Saving the state of all frames.
* Mouse Tracking:: Getting events that say when the mouse moves. * Mouse Tracking:: Getting events that say when the mouse moves.
* Mouse Position:: Asking where the mouse is, or moving it. * Mouse Position:: Asking where the mouse is, or moving it.
* Pop-Up Menus:: Displaying a menu for the user to select from. * Pop-Up Menus:: Displaying a menu for the user to select from.
* Dialog Boxes:: Displaying a box to ask yes or no. * Dialog Boxes:: Displaying a box to ask yes or no.
* Pointer Shape:: Specifying the shape of the mouse pointer. * Pointer Shape:: Specifying the shape of the mouse pointer.
* Window System Selections:: Transferring text to and from other X clients. * Window System Selections:: Transferring text to and from other X clients.
* Drag and Drop:: Internals of Drag-and-Drop implementation. * Drag and Drop:: Internals of Drag-and-Drop implementation.
* Color Names:: Getting the definitions of color names. * Color Names:: Getting the definitions of color names.
* Text Terminal Colors:: Defining colors for text-only terminals. * Text Terminal Colors:: Defining colors for text-only terminals.
* Resources:: Getting resource values from the server. * Resources:: Getting resource values from the server.
* Display Feature Testing:: Determining the features of a terminal. * Display Feature Testing:: Determining the features of a terminal.
@end menu @end menu
...@@ -343,7 +343,7 @@ variables. @xref{Frame-Local Variables}. ...@@ -343,7 +343,7 @@ variables. @xref{Frame-Local Variables}.
@menu @menu
* Parameter Access:: How to change a frame's parameters. * Parameter Access:: How to change a frame's parameters.
* Initial Parameters:: Specifying frame parameters when you make a frame. * Initial Parameters:: Specifying frame parameters when you make a frame.
* Window Frame Parameters:: List of frame parameters for window systems. * Window Frame Parameters:: List of frame parameters for window systems.
* Size and Position:: Changing the size and position of a frame. * Size and Position:: Changing the size and position of a frame.
* Geometry:: Parsing geometry specifications. * Geometry:: Parsing geometry specifications.
......
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual. @c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001,
@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions. @c See the file elisp.texi for copying conditions.
@setfilename ../../info/functions @setfilename ../../info/functions
@node Functions, Macros, Variables, Top @node Functions, Macros, Variables, Top
...@@ -22,7 +23,7 @@ define them. ...@@ -22,7 +23,7 @@ define them.
* Function Cells:: Accessing or setting the function definition * Function Cells:: Accessing or setting the function definition
of a symbol. of a symbol.
* Obsolete Functions:: Declaring functions obsolete. * Obsolete Functions:: Declaring functions obsolete.
* Inline Functions:: Defining functions that the compiler will open code. * Inline Functions:: Defining functions that the compiler will open code.
* Declaring Functions:: Telling the compiler that a function is defined. * Declaring Functions:: Telling the compiler that a function is defined.
* Function Safety:: Determining whether a function is safe to call. * Function Safety:: Determining whether a function is safe to call.
* Related Topics:: Cross-references to specific Lisp primitives * Related Topics:: Cross-references to specific Lisp primitives
......
...@@ -761,22 +761,22 @@ If they are on the border between WINDOW and its right sibling,\n\ ...@@ -761,22 +761,22 @@ If they are on the border between WINDOW and its right sibling,\n\
@group @group
switch (coordinates_in_window (XWINDOW (window), &x, &y)) switch (coordinates_in_window (XWINDOW (window), &x, &y))
@{ @{
case 0: /* NOT in window at all. */ case 0: /* NOT in window at all. */
return Qnil; return Qnil;
@end group @end group
@group @group
case 1: /* In text part of window. */ case 1: /* In text part of window. */
return Fcons (make_number (x), make_number (y)); return Fcons (make_number (x), make_number (y));
@end group @end group
@group @group
case 2: /* In mode line of window. */ case 2: /* In mode line of window. */
return Qmode_line; return Qmode_line;
@end group @end group
@group @group
case 3: /* On right border of window. */ case 3: /* On right border of window. */
return Qvertical_line; return Qvertical_line;
@end group @end group
......
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual. @c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1998, 1999, 2000, 2001, @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1998, 1999, 2000, 2001,
@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions. @c See the file elisp.texi for copying conditions.
@setfilename ../../info/keymaps @setfilename ../../info/keymaps
@node Keymaps, Modes, Command Loop, Top @node Keymaps, Modes, Command Loop, Top
...@@ -16,19 +17,19 @@ used to look up the next input event; this continues until a command ...@@ -16,19 +17,19 @@ used to look up the next input event; this continues until a command
is found. The whole process is called @dfn{key lookup}. is found. The whole process is called @dfn{key lookup}.
@menu @menu
* Key Sequences:: Key sequences as Lisp objects. * Key Sequences:: Key sequences as Lisp objects.
* Keymap Basics:: Basic concepts of keymaps. * Keymap Basics:: Basic concepts of keymaps.
* Format of Keymaps:: What a keymap looks like as a Lisp object. * Format of Keymaps:: What a keymap looks like as a Lisp object.
* Creating Keymaps:: Functions to create and copy keymaps. * Creating Keymaps:: Functions to create and copy keymaps.
* Inheritance and Keymaps:: How one keymap can inherit the bindings * Inheritance and Keymaps:: How one keymap can inherit the bindings
of another keymap. of another keymap.
* Prefix Keys:: Defining a key with a keymap as its definition. * Prefix Keys:: Defining a key with a keymap as its definition.
* Active Keymaps:: How Emacs searches the active keymaps * Active Keymaps:: How Emacs searches the active keymaps
for a key binding. for a key binding.
* Searching Keymaps:: A pseudo-Lisp summary of searching active maps. * Searching Keymaps:: A pseudo-Lisp summary of searching active maps.
* Controlling Active Maps:: Each buffer has a local keymap * Controlling Active Maps:: Each buffer has a local keymap
to override the standard (global) bindings. to override the standard (global) bindings.
A minor mode can also override them. A minor mode can also override them.
* Key Lookup:: Finding a key's binding in one keymap. * Key Lookup:: Finding a key's binding in one keymap.
* Functions for Key Lookup:: How to request key lookup. * Functions for Key Lookup:: How to request key lookup.
* Changing Key Bindings:: Redefining a key in a keymap. * Changing Key Bindings:: Redefining a key in a keymap.
...@@ -36,7 +37,7 @@ is found. The whole process is called @dfn{key lookup}. ...@@ -36,7 +37,7 @@ is found. The whole process is called @dfn{key lookup}.
* Translation Keymaps:: Keymaps for translating sequences of events. * Translation Keymaps:: Keymaps for translating sequences of events.
* Key Binding Commands:: Interactive interfaces for redefining keys. * Key Binding Commands:: Interactive interfaces for redefining keys.
* Scanning Keymaps:: Looking through all keymaps, for printing help. * Scanning Keymaps:: Looking through all keymaps, for printing help.
* Menu Keymaps:: Defining a menu as a keymap. * Menu Keymaps:: Defining a menu as a keymap.
@end menu @end menu
@node Key Sequences @node Key Sequences
...@@ -1959,11 +1960,11 @@ is active for the next input event, that activates the keyboard menu ...@@ -1959,11 +1960,11 @@ is active for the next input event, that activates the keyboard menu
feature. feature.
@menu @menu
* Defining Menus:: How to make a keymap that defines a menu. * Defining Menus:: How to make a keymap that defines a menu.
* Mouse Menus:: How users actuate the menu with the mouse. * Mouse Menus:: How users actuate the menu with the mouse.
* Keyboard Menus:: How users actuate the menu with the keyboard. * Keyboard Menus:: How users actuate the menu with the keyboard.
* Menu Example:: Making a simple menu. * Menu Example:: Making a simple menu.
* Menu Bar:: How to customize the menu bar. * Menu Bar:: How to customize the menu bar.
* Tool Bar:: A tool bar is a row of images. * Tool Bar:: A tool bar is a row of images.
* Modifying Menus:: How to add new items to a menu. * Modifying Menus:: How to add new items to a menu.
@end menu @end menu
...@@ -2413,10 +2414,10 @@ Next we define the menu items: ...@@ -2413,10 +2414,10 @@ Next we define the menu items:
@smallexample @smallexample
(define-key menu-bar-replace-menu [tags-repl-continue] (define-key menu-bar-replace-menu [tags-repl-continue]
'(menu-item "Continue Replace" tags-loop-continue '(menu-item "Continue Replace" tags-loop-continue
:help "Continue last tags replace operation")) :help "Continue last tags replace operation"))
(define-key menu-bar-replace-menu [tags-repl] (define-key menu-bar-replace-menu [tags-repl]
'(menu-item "Replace in tagged files" tags-query-replace '(menu-item "Replace in tagged files" tags-query-replace
:help "Interactively replace a regexp in all tagged files")) :help "Interactively replace a regexp in all tagged files"))
(define-key menu-bar-replace-menu [separator-replace-tags] (define-key menu-bar-replace-menu [separator-replace-tags]
'(menu-item "--")) '(menu-item "--"))
;; @r{@dots{}} ;; @r{@dots{}}
...@@ -2656,8 +2657,8 @@ using an indirection through @code{tool-bar-map}. ...@@ -2656,8 +2657,8 @@ using an indirection through @code{tool-bar-map}.
By default, the global map binds @code{[tool-bar]} as follows: By default, the global map binds @code{[tool-bar]} as follows:
@example @example
(global-set-key [tool-bar] (global-set-key [tool-bar]
'(menu-item "tool bar" ignore '(menu-item "tool bar" ignore
:filter (lambda (ignore) tool-bar-map))) :filter (lambda (ignore) tool-bar-map)))
@end example @end example
@noindent @noindent
Thus the tool bar map is derived dynamically from the value of variable Thus the tool bar map is derived dynamically from the value of variable
......
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual. @c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001,
@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions. @c See the file elisp.texi for copying conditions.
@setfilename ../../info/loading @setfilename ../../info/loading
@node Loading, Byte Compilation, Customization, Top @node Loading, Byte Compilation, Customization, Top
...@@ -43,9 +44,9 @@ containing Lisp code. ...@@ -43,9 +44,9 @@ containing Lisp code.
* Repeated Loading:: Precautions about loading a file twice. * Repeated Loading:: Precautions about loading a file twice.
* Named Features:: Loading a library if it isn't already loaded. * Named Features:: Loading a library if it isn't already loaded.
* Where Defined:: Finding which file defined a certain symbol. * Where Defined:: Finding which file defined a certain symbol.
* Unloading:: How to "unload" a library that was loaded. * Unloading:: How to "unload" a library that was loaded.
* Hooks for Loading:: Providing code to be run when * Hooks for Loading:: Providing code to be run when
particular libraries are loaded. particular libraries are loaded.
@end menu @end menu
@node How Programs Do Loading @node How Programs Do Loading
......
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual. @c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, 2002, @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, 2002,
@c 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. @c 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions. @c See the file elisp.texi for copying conditions.
@setfilename ../../info/minibuf @setfilename ../../info/minibuf
@node Minibuffers, Command Loop, Read and Print, Top