diff options
| author | Fabián Ezequiel Gallina | 2014-12-27 13:21:17 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2014-12-27 13:21:17 -0300 |
| commit | 411c1c65313aa4e22730ba9762e073881f4e299a (patch) | |
| tree | 14833e398a5ce64db5124afafe992d47e51b70e8 /doc | |
| parent | c3c51ec274f423cf8044cd5b9bc0bbc5bda1f6aa (diff) | |
| parent | 216c6aadf22bfb9d209b6ce9a469499fd6e1b78f (diff) | |
| download | emacs-411c1c65313aa4e22730ba9762e073881f4e299a.tar.gz emacs-411c1c65313aa4e22730ba9762e073881f4e299a.zip | |
Merge from origin/emacs-24
216c6aa * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use `tramp-rsh-end-of-line', it ought to be more robust.
20cfd24 Improve indexing on the chapter/section/subsection levels.
14c3739 * lisp/progmodes/js.el (js-syntax-propertize): "return" can't be divided.
ea78112 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n" as end-of-line delimeter for passwords, when running on MS Windows.
012479a * lisp/progmodes/sh-script.el: Don't set global indent-line-function
75e114f Fix line numbers on Python shell.
d0fd23c doc/emacs/buffers.texi (Kill Buffer): Improve indexing.
8e818d1 Keep maximized when going fullscreen.
749813e python.el: Fix electric colon behavior
936d5e5 Fix last patch.
74d3b20 Fixes: debbugs:18623
Conflicts:
doc/emacs/ChangeLog
doc/lispref/ChangeLog
doc/lispref/functions.texi
lisp/ChangeLog
src/ChangeLog
src/xterm.c
test/ChangeLog
Diffstat (limited to 'doc')
33 files changed, 287 insertions, 4 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 7081c19c3f0..b9ca8b39fd3 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-12-27 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * buffers.texi (Kill Buffer): Improve indexing. | ||
| 4 | |||
| 5 | 2014-12-27 Paul Eggert <eggert@cs.ucla.edu> | ||
| 1 | 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org> | 6 | 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org> |
| 2 | 7 | ||
| 3 | * trouble.texi: Move user-level information from CONTRIBUTE here. | 8 | * trouble.texi: Move user-level information from CONTRIBUTE here. |
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index 54a84989e2e..f036d856fbe 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi | |||
| @@ -269,11 +269,16 @@ can also be used to copy text from one buffer to another. | |||
| 269 | @section Killing Buffers | 269 | @section Killing Buffers |
| 270 | 270 | ||
| 271 | @cindex killing buffers | 271 | @cindex killing buffers |
| 272 | @cindex close buffer | ||
| 273 | @cindex close file | ||
| 272 | If you continue an Emacs session for a while, you may accumulate a | 274 | If you continue an Emacs session for a while, you may accumulate a |
| 273 | large number of buffers. You may then find it convenient to @dfn{kill} | 275 | large number of buffers. You may then find it convenient to @dfn{kill} |
| 274 | the buffers you no longer need. On most operating systems, killing a | 276 | the buffers you no longer need. (Some other editors call this |
| 275 | buffer releases its space back to the operating system so that other | 277 | operation @dfn{close}, and talk about ``closing the buffer'' or |
| 276 | programs can use it. Here are some commands for killing buffers: | 278 | ``closing the file'' visited in the buffer.) On most operating |
| 279 | systems, killing a buffer releases its space back to the operating | ||
| 280 | system so that other programs can use it. Here are some commands for | ||
| 281 | killing buffers: | ||
| 277 | 282 | ||
| 278 | @table @kbd | 283 | @table @kbd |
| 279 | @item C-x k @var{bufname} @key{RET} | 284 | @item C-x k @var{bufname} @key{RET} |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 2d964cf6505..66f1d3a1785 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,105 @@ | |||
| 1 | 2014-12-27 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * windows.texi (Recombining Windows): Index subject of sections. | ||
| 4 | |||
| 5 | * variables.texi (Variables with Restricted Values) | ||
| 6 | (Generalized Variables): Index subject of sections. | ||
| 7 | |||
| 8 | * text.texi (Buffer Contents, Examining Properties) | ||
| 9 | (Changing Properties, Property Search, Substitution): Index | ||
| 10 | subject of sections. | ||
| 11 | |||
| 12 | * syntax.texi (Motion and Syntax, Parsing Expressions) | ||
| 13 | (Motion via Parsing, Position Parse, Control Parsing): Index | ||
| 14 | subject of sections. | ||
| 15 | |||
| 16 | * strings.texi (Predicates for Strings, Creating Strings) | ||
| 17 | (Modifying Strings, Text Comparison): Index subject of sections. | ||
| 18 | |||
| 19 | * searching.texi (Syntax of Regexps, Regexp Special) | ||
| 20 | (Regexp Functions, Regexp Functions): Index subject of sections. | ||
| 21 | |||
| 22 | * processes.texi (Subprocess Creation, Process Information): Index | ||
| 23 | subject of sections. | ||
| 24 | |||
| 25 | * positions.texi (Screen Lines): Index subject of sections. | ||
| 26 | |||
| 27 | * nonascii.texi (Scanning Charsets, Specifying Coding Systems): | ||
| 28 | Index subject of sections. | ||
| 29 | |||
| 30 | * minibuf.texi (Text from Minibuffer, Object from Minibuffer) | ||
| 31 | (Multiple Queries, Minibuffer Contents): Index subject of | ||
| 32 | sections. | ||
| 33 | |||
| 34 | * markers.texi (Predicates on Markers, Creating Markers) | ||
| 35 | (Information from Markers, Moving Markers): Index subject of | ||
| 36 | sections. | ||
| 37 | |||
| 38 | * macros.texi (Defining Macros, Problems with Macros): Index | ||
| 39 | subject of sections. | ||
| 40 | |||
| 41 | * loading.texi (Loading Non-ASCII, Where Defined): Index subject | ||
| 42 | of sections. | ||
| 43 | |||
| 44 | * lists.texi (List-related Predicates, List Variables, Setcar) | ||
| 45 | (Setcdr, Plist Access): Index subject of sections. | ||
| 46 | |||
| 47 | * keymaps.texi (Controlling Active Maps, Scanning Keymaps) | ||
| 48 | (Modifying Menus): Index subject of sections. | ||
| 49 | |||
| 50 | * help.texi (Accessing Documentation, Help Functions): Index | ||
| 51 | subject of sections. | ||
| 52 | |||
| 53 | * hash.texi (Hash Access): Index subject of sections. | ||
| 54 | |||
| 55 | * functions.texi (Core Advising Primitives) | ||
| 56 | (Advising Named Functions, Porting old advices): Index subject of | ||
| 57 | sections. | ||
| 58 | |||
| 59 | * frames.texi (Creating Frames, Initial Parameters) | ||
| 60 | (Position Parameters, Buffer Parameters, Minibuffers and Frames) | ||
| 61 | (Pop-Up Menus, Drag and Drop): Index subject of sections. | ||
| 62 | |||
| 63 | * files.texi (Visiting Functions, Kinds of Files) | ||
| 64 | (Unique File Names): Index subject of sections. | ||
| 65 | |||
| 66 | * display.texi (Refresh Screen, Echo Area Customization) | ||
| 67 | (Warning Variables, Warning Options, Delayed Warnings) | ||
| 68 | (Temporary Displays, Managing Overlays, Overlay Properties) | ||
| 69 | (Finding Overlays, Size of Displayed Text, Defining Faces) | ||
| 70 | (Attribute Functions, Displaying Faces, Face Remapping) | ||
| 71 | (Basic Faces, Font Lookup, Fontsets, Replacing Specs) | ||
| 72 | (Defining Images, Showing Images): Index subject of sections. | ||
| 73 | |||
| 74 | * debugging.texi (Debugging, Explicit Debug) | ||
| 75 | (Invoking the Debugger, Excess Open, Excess Close): Index subject | ||
| 76 | of sections. | ||
| 77 | |||
| 78 | * customize.texi (Defining New Types, Applying Customizations) | ||
| 79 | (Custom Themes): Index subject of sections. | ||
| 80 | |||
| 81 | * control.texi (Sequencing, Combining Conditions) | ||
| 82 | (Processing of Errors, Cleanups): Index subject of sections. | ||
| 83 | |||
| 84 | * compile.texi (Eval During Compile): Index subject of sections. | ||
| 85 | |||
| 86 | * commands.texi (Using Interactive, Distinguish Interactive) | ||
| 87 | (Command Loop Info, Classifying Events, Event Mod) | ||
| 88 | (Invoking the Input Method): Index subject of sections. | ||
| 89 | |||
| 90 | * buffers.texi (Buffer List, Buffer Gap): Index subject of sections. | ||
| 91 | |||
| 92 | * backups.texi (Making Backups, Numbered Backups, Backup Names) | ||
| 93 | (Reverting): Index subject of sections. | ||
| 94 | |||
| 95 | * abbrevs.texi (Abbrev Tables, Defining Abbrevs, Abbrev Files) | ||
| 96 | (Abbrev Expansion, Standard Abbrev Tables, Abbrev Properties) | ||
| 97 | (Abbrev Table Properties): Index subject of sections. | ||
| 98 | |||
| 99 | * os.texi (Time of Day, Time Conversion, Time Parsing) | ||
| 100 | (Time Calculations, Idle Timers): Index subject of sections. | ||
| 101 | |||
| 102 | 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 1 | 2014-12-25 Martin Rudalics <rudalics@gmx.at> | 103 | 2014-12-25 Martin Rudalics <rudalics@gmx.at> |
| 2 | 104 | ||
| 3 | * windows.texi (Windows): Resync @menu order with @node order. | 105 | * windows.texi (Windows): Resync @menu order with @node order. |
diff --git a/doc/lispref/abbrevs.texi b/doc/lispref/abbrevs.texi index 73a3f5f1e05..c00af616240 100644 --- a/doc/lispref/abbrevs.texi +++ b/doc/lispref/abbrevs.texi | |||
| @@ -59,6 +59,7 @@ expanded in the buffer. For the user-level commands for abbrevs, see | |||
| 59 | 59 | ||
| 60 | @node Abbrev Tables | 60 | @node Abbrev Tables |
| 61 | @section Abbrev Tables | 61 | @section Abbrev Tables |
| 62 | @cindex abbrev tables | ||
| 62 | 63 | ||
| 63 | This section describes how to create and manipulate abbrev tables. | 64 | This section describes how to create and manipulate abbrev tables. |
| 64 | 65 | ||
| @@ -126,6 +127,7 @@ to add these to @var{name} separately.) | |||
| 126 | 127 | ||
| 127 | @node Defining Abbrevs | 128 | @node Defining Abbrevs |
| 128 | @section Defining Abbrevs | 129 | @section Defining Abbrevs |
| 130 | @cindex defining abbrevs | ||
| 129 | 131 | ||
| 130 | @code{define-abbrev} is the low-level basic function for defining an | 132 | @code{define-abbrev} is the low-level basic function for defining an |
| 131 | abbrev in an abbrev table. | 133 | abbrev in an abbrev table. |
| @@ -181,6 +183,7 @@ callers. | |||
| 181 | 183 | ||
| 182 | @node Abbrev Files | 184 | @node Abbrev Files |
| 183 | @section Saving Abbrevs in Files | 185 | @section Saving Abbrevs in Files |
| 186 | @cindex save abbrevs in files | ||
| 184 | 187 | ||
| 185 | A file of saved abbrev definitions is actually a file of Lisp code. | 188 | A file of saved abbrev definitions is actually a file of Lisp code. |
| 186 | The abbrevs are saved in the form of a Lisp program to define the same | 189 | The abbrevs are saved in the form of a Lisp program to define the same |
| @@ -232,6 +235,9 @@ define the same abbrevs. If @var{filename} is @code{nil} or omitted, | |||
| 232 | 235 | ||
| 233 | @node Abbrev Expansion | 236 | @node Abbrev Expansion |
| 234 | @section Looking Up and Expanding Abbreviations | 237 | @section Looking Up and Expanding Abbreviations |
| 238 | @cindex looking up abbrevs | ||
| 239 | @cindex expanding abbrevs | ||
| 240 | @cindex abbrevs, looking up and expanding | ||
| 235 | 241 | ||
| 236 | Abbrevs are usually expanded by certain interactive commands, | 242 | Abbrevs are usually expanded by certain interactive commands, |
| 237 | including @code{self-insert-command}. This section describes the | 243 | including @code{self-insert-command}. This section describes the |
| @@ -367,6 +373,7 @@ definitions of @code{local-abbrev-table} and @code{text-mode-abbrev-table}. | |||
| 367 | 373 | ||
| 368 | @node Standard Abbrev Tables | 374 | @node Standard Abbrev Tables |
| 369 | @section Standard Abbrev Tables | 375 | @section Standard Abbrev Tables |
| 376 | @cindex standard abbrev tables | ||
| 370 | 377 | ||
| 371 | Here we list the variables that hold the abbrev tables for the | 378 | Here we list the variables that hold the abbrev tables for the |
| 372 | preloaded major modes of Emacs. | 379 | preloaded major modes of Emacs. |
| @@ -409,6 +416,7 @@ Properties}. | |||
| 409 | 416 | ||
| 410 | @node Abbrev Properties | 417 | @node Abbrev Properties |
| 411 | @section Abbrev Properties | 418 | @section Abbrev Properties |
| 419 | @cindex abbrev properties | ||
| 412 | 420 | ||
| 413 | Abbrevs have properties, some of which influence the way they work. | 421 | Abbrevs have properties, some of which influence the way they work. |
| 414 | You can provide them as arguments to @code{define-abbrev}, and | 422 | You can provide them as arguments to @code{define-abbrev}, and |
| @@ -449,6 +457,7 @@ modifies the capitalization of the expansion. | |||
| 449 | 457 | ||
| 450 | @node Abbrev Table Properties | 458 | @node Abbrev Table Properties |
| 451 | @section Abbrev Table Properties | 459 | @section Abbrev Table Properties |
| 460 | @cindex abbrev table properties | ||
| 452 | 461 | ||
| 453 | Like abbrevs, abbrev tables have properties, some of which influence | 462 | Like abbrevs, abbrev tables have properties, some of which influence |
| 454 | the way they work. You can provide them as arguments to | 463 | the way they work. You can provide them as arguments to |
diff --git a/doc/lispref/backups.texi b/doc/lispref/backups.texi index 63f8f227c84..ca30f3e17ca 100644 --- a/doc/lispref/backups.texi +++ b/doc/lispref/backups.texi | |||
| @@ -50,6 +50,7 @@ don't want them any more, or Emacs can delete them automatically. | |||
| 50 | 50 | ||
| 51 | @node Making Backups | 51 | @node Making Backups |
| 52 | @subsection Making Backup Files | 52 | @subsection Making Backup Files |
| 53 | @cindex making backup files | ||
| 53 | 54 | ||
| 54 | @defun backup-buffer | 55 | @defun backup-buffer |
| 55 | This function makes a backup of the file visited by the current | 56 | This function makes a backup of the file visited by the current |
| @@ -238,6 +239,7 @@ The default is 200. | |||
| 238 | 239 | ||
| 239 | @node Numbered Backups | 240 | @node Numbered Backups |
| 240 | @subsection Making and Deleting Numbered Backup Files | 241 | @subsection Making and Deleting Numbered Backup Files |
| 242 | @cindex numbered backups | ||
| 241 | 243 | ||
| 242 | If a file's name is @file{foo}, the names of its numbered backup | 244 | If a file's name is @file{foo}, the names of its numbered backup |
| 243 | versions are @file{foo.~@var{v}~}, for various integers @var{v}, like | 245 | versions are @file{foo.~@var{v}~}, for various integers @var{v}, like |
| @@ -299,6 +301,7 @@ file. The default is@tie{}2. | |||
| 299 | 301 | ||
| 300 | @node Backup Names | 302 | @node Backup Names |
| 301 | @subsection Naming Backup Files | 303 | @subsection Naming Backup Files |
| 304 | @cindex naming backup files | ||
| 302 | 305 | ||
| 303 | The functions in this section are documented mainly because you can | 306 | The functions in this section are documented mainly because you can |
| 304 | customize the naming conventions for backup files by redefining them. | 307 | customize the naming conventions for backup files by redefining them. |
| @@ -668,6 +671,7 @@ not initialize @code{auto-save-list-file-name}. | |||
| 668 | 671 | ||
| 669 | @node Reverting | 672 | @node Reverting |
| 670 | @section Reverting | 673 | @section Reverting |
| 674 | @cindex reverting buffers | ||
| 671 | 675 | ||
| 672 | If you have made extensive changes to a file and then change your mind | 676 | If you have made extensive changes to a file and then change your mind |
| 673 | about them, you can get rid of them by reading in the previous version | 677 | about them, you can get rid of them by reading in the previous version |
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index 5ac2d6786e8..7c4fb876135 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi | |||
| @@ -762,6 +762,7 @@ signal an error if the current buffer is read-only. | |||
| 762 | @node Buffer List | 762 | @node Buffer List |
| 763 | @section The Buffer List | 763 | @section The Buffer List |
| 764 | @cindex buffer list | 764 | @cindex buffer list |
| 765 | @cindex listing all buffers | ||
| 765 | 766 | ||
| 766 | The @dfn{buffer list} is a list of all live buffers. The order of the | 767 | The @dfn{buffer list} is a list of all live buffers. The order of the |
| 767 | buffers in this list is based primarily on how recently each buffer has | 768 | buffers in this list is based primarily on how recently each buffer has |
| @@ -1215,6 +1216,7 @@ in the text it is swapped with will not interfere with auto-saving. | |||
| 1215 | 1216 | ||
| 1216 | @node Buffer Gap | 1217 | @node Buffer Gap |
| 1217 | @section The Buffer Gap | 1218 | @section The Buffer Gap |
| 1219 | @cindex buffer gap | ||
| 1218 | 1220 | ||
| 1219 | Emacs buffers are implemented using an invisible @dfn{gap} to make | 1221 | Emacs buffers are implemented using an invisible @dfn{gap} to make |
| 1220 | insertion and deletion faster. Insertion works by filling in part of | 1222 | insertion and deletion faster. Insertion works by filling in part of |
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index e5db4d87539..c2b7038e2ec 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -147,6 +147,7 @@ code. | |||
| 147 | @node Using Interactive | 147 | @node Using Interactive |
| 148 | @subsection Using @code{interactive} | 148 | @subsection Using @code{interactive} |
| 149 | @cindex arguments, interactive entry | 149 | @cindex arguments, interactive entry |
| 150 | @cindex interactive spec, using | ||
| 150 | 151 | ||
| 151 | This section describes how to write the @code{interactive} form that | 152 | This section describes how to write the @code{interactive} form that |
| 152 | makes a Lisp function an interactively-callable command, and how to | 153 | makes a Lisp function an interactively-callable command, and how to |
| @@ -747,6 +748,8 @@ part of the prompt. | |||
| 747 | 748 | ||
| 748 | @node Distinguish Interactive | 749 | @node Distinguish Interactive |
| 749 | @section Distinguish Interactive Calls | 750 | @section Distinguish Interactive Calls |
| 751 | @cindex distinguish interactive calls | ||
| 752 | @cindex is this call interactive | ||
| 750 | 753 | ||
| 751 | Sometimes a command should display additional visual feedback (such | 754 | Sometimes a command should display additional visual feedback (such |
| 752 | as an informative message in the echo area) for interactive calls | 755 | as an informative message in the echo area) for interactive calls |
| @@ -835,6 +838,7 @@ Here is another example that contrasts direct and indirect calls to | |||
| 835 | 838 | ||
| 836 | @node Command Loop Info | 839 | @node Command Loop Info |
| 837 | @section Information from the Command Loop | 840 | @section Information from the Command Loop |
| 841 | @cindex command loop variables | ||
| 838 | 842 | ||
| 839 | The editor command loop sets several Lisp variables to keep status | 843 | The editor command loop sets several Lisp variables to keep status |
| 840 | records for itself and for commands that are run. With the exception of | 844 | records for itself and for commands that are run. With the exception of |
| @@ -1859,6 +1863,7 @@ bind it to the @code{signal usr1} event sequence: | |||
| 1859 | @node Classifying Events | 1863 | @node Classifying Events |
| 1860 | @subsection Classifying Events | 1864 | @subsection Classifying Events |
| 1861 | @cindex event type | 1865 | @cindex event type |
| 1866 | @cindex classifying events | ||
| 1862 | 1867 | ||
| 1863 | Every event has an @dfn{event type}, which classifies the event for | 1868 | Every event has an @dfn{event type}, which classifies the event for |
| 1864 | key binding purposes. For a keyboard event, the event type equals the | 1869 | key binding purposes. For a keyboard event, the event type equals the |
| @@ -2584,6 +2589,9 @@ then continues to wait for a valid input character, or keyboard-quit. | |||
| 2584 | 2589 | ||
| 2585 | @node Event Mod | 2590 | @node Event Mod |
| 2586 | @subsection Modifying and Translating Input Events | 2591 | @subsection Modifying and Translating Input Events |
| 2592 | @cindex modifiers of events | ||
| 2593 | @cindex translating input events | ||
| 2594 | @cindex event translation | ||
| 2587 | 2595 | ||
| 2588 | Emacs modifies every event it reads according to | 2596 | Emacs modifies every event it reads according to |
| 2589 | @code{extra-keyboard-modifiers}, then translates it through | 2597 | @code{extra-keyboard-modifiers}, then translates it through |
| @@ -2665,6 +2673,7 @@ at the level of @code{read-key-sequence}. | |||
| 2665 | 2673 | ||
| 2666 | @node Invoking the Input Method | 2674 | @node Invoking the Input Method |
| 2667 | @subsection Invoking the Input Method | 2675 | @subsection Invoking the Input Method |
| 2676 | @cindex invoking input method | ||
| 2668 | 2677 | ||
| 2669 | The event-reading functions invoke the current input method, if any | 2678 | The event-reading functions invoke the current input method, if any |
| 2670 | (@pxref{Input Methods}). If the value of @code{input-method-function} | 2679 | (@pxref{Input Methods}). If the value of @code{input-method-function} |
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi index fe492df1d94..cb6cba99c11 100644 --- a/doc/lispref/compile.texi +++ b/doc/lispref/compile.texi | |||
| @@ -347,6 +347,7 @@ it does nothing. It always returns @var{function}. | |||
| 347 | 347 | ||
| 348 | @node Eval During Compile | 348 | @node Eval During Compile |
| 349 | @section Evaluation During Compilation | 349 | @section Evaluation During Compilation |
| 350 | @cindex eval during compilation | ||
| 350 | 351 | ||
| 351 | These features permit you to write code to be evaluated during | 352 | These features permit you to write code to be evaluated during |
| 352 | compilation of a program. | 353 | compilation of a program. |
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi index ea212337c96..fa760c45d6a 100644 --- a/doc/lispref/control.texi +++ b/doc/lispref/control.texi | |||
| @@ -44,6 +44,8 @@ structure constructs (@pxref{Macros}). | |||
| 44 | 44 | ||
| 45 | @node Sequencing | 45 | @node Sequencing |
| 46 | @section Sequencing | 46 | @section Sequencing |
| 47 | @cindex sequencing | ||
| 48 | @cindex sequential execution | ||
| 47 | 49 | ||
| 48 | Evaluating forms in the order they appear is the most common way | 50 | Evaluating forms in the order they appear is the most common way |
| 49 | control passes from one form to another. In some contexts, such as in a | 51 | control passes from one form to another. In some contexts, such as in a |
| @@ -405,6 +407,7 @@ the variable @code{x}. | |||
| 405 | 407 | ||
| 406 | @node Combining Conditions | 408 | @node Combining Conditions |
| 407 | @section Constructs for Combining Conditions | 409 | @section Constructs for Combining Conditions |
| 410 | @cindex combining conditions | ||
| 408 | 411 | ||
| 409 | This section describes three constructs that are often used together | 412 | This section describes three constructs that are often used together |
| 410 | with @code{if} and @code{cond} to express complicated conditions. The | 413 | with @code{if} and @code{cond} to express complicated conditions. The |
| @@ -962,6 +965,7 @@ concept of continuable errors. | |||
| 962 | 965 | ||
| 963 | @node Processing of Errors | 966 | @node Processing of Errors |
| 964 | @subsubsection How Emacs Processes Errors | 967 | @subsubsection How Emacs Processes Errors |
| 968 | @cindex processing of errors | ||
| 965 | 969 | ||
| 966 | When an error is signaled, @code{signal} searches for an active | 970 | When an error is signaled, @code{signal} searches for an active |
| 967 | @dfn{handler} for the error. A handler is a sequence of Lisp | 971 | @dfn{handler} for the error. A handler is a sequence of Lisp |
| @@ -1367,6 +1371,7 @@ and their conditions. | |||
| 1367 | 1371 | ||
| 1368 | @node Cleanups | 1372 | @node Cleanups |
| 1369 | @subsection Cleaning Up from Nonlocal Exits | 1373 | @subsection Cleaning Up from Nonlocal Exits |
| 1374 | @cindex nonlocal exits, cleaning up | ||
| 1370 | 1375 | ||
| 1371 | The @code{unwind-protect} construct is essential whenever you | 1376 | The @code{unwind-protect} construct is essential whenever you |
| 1372 | temporarily put a data structure in an inconsistent state; it permits | 1377 | temporarily put a data structure in an inconsistent state; it permits |
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index 0c6497fb4ef..cdf599b8f16 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi | |||
| @@ -1227,6 +1227,8 @@ arguments, which will be used when creating the @code{radio-button} or | |||
| 1227 | 1227 | ||
| 1228 | @node Defining New Types | 1228 | @node Defining New Types |
| 1229 | @subsection Defining New Types | 1229 | @subsection Defining New Types |
| 1230 | @cindex customization types, define new | ||
| 1231 | @cindex define new customization types | ||
| 1230 | 1232 | ||
| 1231 | In the previous sections we have described how to construct elaborate | 1233 | In the previous sections we have described how to construct elaborate |
| 1232 | type specifications for @code{defcustom}. In some cases you may want | 1234 | type specifications for @code{defcustom}. In some cases you may want |
| @@ -1296,6 +1298,7 @@ its @code{:type} argument only when needed. | |||
| 1296 | 1298 | ||
| 1297 | @node Applying Customizations | 1299 | @node Applying Customizations |
| 1298 | @section Applying Customizations | 1300 | @section Applying Customizations |
| 1301 | @cindex applying customizations | ||
| 1299 | 1302 | ||
| 1300 | The following functions are responsible for installing the user's | 1303 | The following functions are responsible for installing the user's |
| 1301 | customization settings for variables and faces, respectively. When | 1304 | customization settings for variables and faces, respectively. When |
| @@ -1353,6 +1356,7 @@ evaluated. @var{comment} is a string describing the customization. | |||
| 1353 | @node Custom Themes | 1356 | @node Custom Themes |
| 1354 | @section Custom Themes | 1357 | @section Custom Themes |
| 1355 | 1358 | ||
| 1359 | @cindex custom themes | ||
| 1356 | @dfn{Custom themes} are collections of settings that can be enabled | 1360 | @dfn{Custom themes} are collections of settings that can be enabled |
| 1357 | or disabled as a unit. @xref{Custom Themes,,, emacs, The GNU Emacs | 1361 | or disabled as a unit. @xref{Custom Themes,,, emacs, The GNU Emacs |
| 1358 | Manual}. Each Custom theme is defined by an Emacs Lisp source file, | 1362 | Manual}. Each Custom theme is defined by an Emacs Lisp source file, |
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 66f12a022cb..0b3c47f4339 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | @c See the file elisp.texi for copying conditions. | 5 | @c See the file elisp.texi for copying conditions. |
| 6 | @node Debugging | 6 | @node Debugging |
| 7 | @chapter Debugging Lisp Programs | 7 | @chapter Debugging Lisp Programs |
| 8 | @cindex debugging lisp programs | ||
| 8 | 9 | ||
| 9 | There are several ways to find and investigate problems in an Emacs | 10 | There are several ways to find and investigate problems in an Emacs |
| 10 | Lisp program. | 11 | Lisp program. |
| @@ -284,6 +285,8 @@ not currently set up to break on entry. | |||
| 284 | 285 | ||
| 285 | @node Explicit Debug | 286 | @node Explicit Debug |
| 286 | @subsection Explicit Entry to the Debugger | 287 | @subsection Explicit Entry to the Debugger |
| 288 | @cindex debugger, explicit entry | ||
| 289 | @cindex force entry to debugger | ||
| 287 | 290 | ||
| 288 | You can cause the debugger to be called at a certain point in your | 291 | You can cause the debugger to be called at a certain point in your |
| 289 | program by writing the expression @code{(debug)} at that point. To do | 292 | program by writing the expression @code{(debug)} at that point. To do |
| @@ -456,6 +459,7 @@ Toggle the display of local variables of the current stack frame. | |||
| 456 | 459 | ||
| 457 | @node Invoking the Debugger | 460 | @node Invoking the Debugger |
| 458 | @subsection Invoking the Debugger | 461 | @subsection Invoking the Debugger |
| 462 | @cindex invoking lisp debugger | ||
| 459 | 463 | ||
| 460 | Here we describe in full detail the function @code{debug} that is used | 464 | Here we describe in full detail the function @code{debug} that is used |
| 461 | to invoke the debugger. | 465 | to invoke the debugger. |
| @@ -707,6 +711,7 @@ find the mismatch.) | |||
| 707 | 711 | ||
| 708 | @node Excess Open | 712 | @node Excess Open |
| 709 | @subsection Excess Open Parentheses | 713 | @subsection Excess Open Parentheses |
| 714 | @cindex excess open parentheses | ||
| 710 | 715 | ||
| 711 | The first step is to find the defun that is unbalanced. If there is | 716 | The first step is to find the defun that is unbalanced. If there is |
| 712 | an excess open parenthesis, the way to do this is to go to the end of | 717 | an excess open parenthesis, the way to do this is to go to the end of |
| @@ -741,6 +746,7 @@ anything. | |||
| 741 | 746 | ||
| 742 | @node Excess Close | 747 | @node Excess Close |
| 743 | @subsection Excess Close Parentheses | 748 | @subsection Excess Close Parentheses |
| 749 | @cindex excess close parentheses | ||
| 744 | 750 | ||
| 745 | To deal with an excess close parenthesis, first go to the beginning | 751 | To deal with an excess close parenthesis, first go to the beginning |
| 746 | of the file, then type @kbd{C-u -1 C-M-u} to find the end of the first | 752 | of the file, then type @kbd{C-u -1 C-M-u} to find the end of the first |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 48860c8ebef..e26d6491850 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -39,6 +39,8 @@ that Emacs presents to the user. | |||
| 39 | 39 | ||
| 40 | @node Refresh Screen | 40 | @node Refresh Screen |
| 41 | @section Refreshing the Screen | 41 | @section Refreshing the Screen |
| 42 | @cindex refresh the screen | ||
| 43 | @cindex screen refresh | ||
| 42 | 44 | ||
| 43 | The function @code{redraw-frame} clears and redisplays the entire | 45 | The function @code{redraw-frame} clears and redisplays the entire |
| 44 | contents of a given frame (@pxref{Frames}). This is useful if the | 46 | contents of a given frame (@pxref{Frames}). This is useful if the |
| @@ -534,6 +536,7 @@ are logged that share a common prefix ending in @samp{...}. | |||
| 534 | 536 | ||
| 535 | @node Echo Area Customization | 537 | @node Echo Area Customization |
| 536 | @subsection Echo Area Customization | 538 | @subsection Echo Area Customization |
| 539 | @cindex echo area customization | ||
| 537 | 540 | ||
| 538 | These variables control details of how the echo area works. | 541 | These variables control details of how the echo area works. |
| 539 | 542 | ||
| @@ -661,6 +664,7 @@ specify a specific warning type. | |||
| 661 | 664 | ||
| 662 | @node Warning Variables | 665 | @node Warning Variables |
| 663 | @subsection Warning Variables | 666 | @subsection Warning Variables |
| 667 | @cindex warning variables | ||
| 664 | 668 | ||
| 665 | Programs can customize how their warnings appear by binding | 669 | Programs can customize how their warnings appear by binding |
| 666 | the variables described in this section. | 670 | the variables described in this section. |
| @@ -738,6 +742,7 @@ all. | |||
| 738 | 742 | ||
| 739 | @node Warning Options | 743 | @node Warning Options |
| 740 | @subsection Warning Options | 744 | @subsection Warning Options |
| 745 | @cindex warning options | ||
| 741 | 746 | ||
| 742 | These variables are used by users to control what happens | 747 | These variables are used by users to control what happens |
| 743 | when a Lisp program reports a warning. | 748 | when a Lisp program reports a warning. |
| @@ -771,6 +776,7 @@ that warning is not logged. | |||
| 771 | 776 | ||
| 772 | @node Delayed Warnings | 777 | @node Delayed Warnings |
| 773 | @subsection Delayed Warnings | 778 | @subsection Delayed Warnings |
| 779 | @cindex delayed warnings | ||
| 774 | 780 | ||
| 775 | Sometimes, you may wish to avoid showing a warning while a command is | 781 | Sometimes, you may wish to avoid showing a warning while a command is |
| 776 | running, and only show it only after the end of the command. You can | 782 | running, and only show it only after the end of the command. You can |
| @@ -1094,6 +1100,8 @@ You can use a display table to substitute other text for the ellipsis | |||
| 1094 | 1100 | ||
| 1095 | @node Temporary Displays | 1101 | @node Temporary Displays |
| 1096 | @section Temporary Displays | 1102 | @section Temporary Displays |
| 1103 | @cindex temporary display | ||
| 1104 | @cindex temporary buffer display | ||
| 1097 | 1105 | ||
| 1098 | Temporary displays are used by Lisp programs to put output into a | 1106 | Temporary displays are used by Lisp programs to put output into a |
| 1099 | buffer and then present it to the user for perusal rather than for | 1107 | buffer and then present it to the user for perusal rather than for |
| @@ -1305,6 +1313,8 @@ inside the overlay or outside, and likewise for the end of the overlay. | |||
| 1305 | 1313 | ||
| 1306 | @node Managing Overlays | 1314 | @node Managing Overlays |
| 1307 | @subsection Managing Overlays | 1315 | @subsection Managing Overlays |
| 1316 | @cindex managing overlays | ||
| 1317 | @cindex overlays, managing | ||
| 1308 | 1318 | ||
| 1309 | This section describes the functions to create, delete and move | 1319 | This section describes the functions to create, delete and move |
| 1310 | overlays, and to examine their contents. Overlay changes are not | 1320 | overlays, and to examine their contents. Overlay changes are not |
| @@ -1465,6 +1475,7 @@ faster if you do @code{(overlay-recenter (point-max))} first. | |||
| 1465 | 1475 | ||
| 1466 | @node Overlay Properties | 1476 | @node Overlay Properties |
| 1467 | @subsection Overlay Properties | 1477 | @subsection Overlay Properties |
| 1478 | @cindex overlay properties | ||
| 1468 | 1479 | ||
| 1469 | Overlay properties are like text properties in that the properties that | 1480 | Overlay properties are like text properties in that the properties that |
| 1470 | alter how a character is displayed can come from either source. But in | 1481 | alter how a character is displayed can come from either source. But in |
| @@ -1717,6 +1728,8 @@ Properties}. | |||
| 1717 | 1728 | ||
| 1718 | @node Finding Overlays | 1729 | @node Finding Overlays |
| 1719 | @subsection Searching for Overlays | 1730 | @subsection Searching for Overlays |
| 1731 | @cindex searching for overlays | ||
| 1732 | @cindex overlays, searching for | ||
| 1720 | 1733 | ||
| 1721 | @defun overlays-at pos &optional sorted | 1734 | @defun overlays-at pos &optional sorted |
| 1722 | This function returns a list of all the overlays that cover the character at | 1735 | This function returns a list of all the overlays that cover the character at |
| @@ -1784,6 +1797,8 @@ changes. | |||
| 1784 | 1797 | ||
| 1785 | @node Size of Displayed Text | 1798 | @node Size of Displayed Text |
| 1786 | @section Size of Displayed Text | 1799 | @section Size of Displayed Text |
| 1800 | @cindex size of text on display | ||
| 1801 | @cindex character width on display | ||
| 1787 | 1802 | ||
| 1788 | Since not all characters have the same width, these functions let you | 1803 | Since not all characters have the same width, these functions let you |
| 1789 | check the width of a character. @xref{Primitive Indent}, and | 1804 | check the width of a character. @xref{Primitive Indent}, and |
| @@ -2274,6 +2289,7 @@ suitable for use with @code{:stipple} (see above). It returns | |||
| 2274 | 2289 | ||
| 2275 | @node Defining Faces | 2290 | @node Defining Faces |
| 2276 | @subsection Defining Faces | 2291 | @subsection Defining Faces |
| 2292 | @cindex defining faces | ||
| 2277 | 2293 | ||
| 2278 | @cindex face spec | 2294 | @cindex face spec |
| 2279 | The usual way to define a face is through the @code{defface} macro. | 2295 | The usual way to define a face is through the @code{defface} macro. |
| @@ -2448,6 +2464,7 @@ Any other value of @var{spec-type} is reserved for internal use. | |||
| 2448 | 2464 | ||
| 2449 | @node Attribute Functions | 2465 | @node Attribute Functions |
| 2450 | @subsection Face Attribute Functions | 2466 | @subsection Face Attribute Functions |
| 2467 | @cindex face attributes, access and modification | ||
| 2451 | 2468 | ||
| 2452 | This section describes functions for directly accessing and | 2469 | This section describes functions for directly accessing and |
| 2453 | modifying the attributes of a named face. | 2470 | modifying the attributes of a named face. |
| @@ -2649,6 +2666,8 @@ a non-@code{nil} @code{:inverse-video} attribute. | |||
| 2649 | 2666 | ||
| 2650 | @node Displaying Faces | 2667 | @node Displaying Faces |
| 2651 | @subsection Displaying Faces | 2668 | @subsection Displaying Faces |
| 2669 | @cindex displaying faces | ||
| 2670 | @cindex face merging | ||
| 2652 | 2671 | ||
| 2653 | When Emacs displays a given piece of text, the visual appearance of | 2672 | When Emacs displays a given piece of text, the visual appearance of |
| 2654 | the text may be determined by faces drawn from different sources. If | 2673 | the text may be determined by faces drawn from different sources. If |
| @@ -2704,6 +2723,7 @@ at the next level of face merging. | |||
| 2704 | 2723 | ||
| 2705 | @node Face Remapping | 2724 | @node Face Remapping |
| 2706 | @subsection Face Remapping | 2725 | @subsection Face Remapping |
| 2726 | @cindex face remapping | ||
| 2707 | 2727 | ||
| 2708 | The variable @code{face-remapping-alist} is used for buffer-local or | 2728 | The variable @code{face-remapping-alist} is used for buffer-local or |
| 2709 | global changes in the appearance of a face. For instance, it is used | 2729 | global changes in the appearance of a face. For instance, it is used |
| @@ -2901,6 +2921,7 @@ usually assign faces to around 400 to 600 characters at each call. | |||
| 2901 | 2921 | ||
| 2902 | @node Basic Faces | 2922 | @node Basic Faces |
| 2903 | @subsection Basic Faces | 2923 | @subsection Basic Faces |
| 2924 | @cindex basic faces | ||
| 2904 | 2925 | ||
| 2905 | If your Emacs Lisp program needs to assign some faces to text, it is | 2926 | If your Emacs Lisp program needs to assign some faces to text, it is |
| 2906 | often a good idea to use certain existing faces or inherit from them, | 2927 | often a good idea to use certain existing faces or inherit from them, |
| @@ -3067,6 +3088,8 @@ nominal heights and widths would suggest. | |||
| 3067 | 3088 | ||
| 3068 | @node Font Lookup | 3089 | @node Font Lookup |
| 3069 | @subsection Looking Up Fonts | 3090 | @subsection Looking Up Fonts |
| 3091 | @cindex font lookup | ||
| 3092 | @cindex looking up fonts | ||
| 3070 | 3093 | ||
| 3071 | @defun x-list-fonts name &optional reference-face frame maximum width | 3094 | @defun x-list-fonts name &optional reference-face frame maximum width |
| 3072 | This function returns a list of available font names that match | 3095 | This function returns a list of available font names that match |
| @@ -3124,6 +3147,7 @@ encoding of the font. | |||
| 3124 | 3147 | ||
| 3125 | @node Fontsets | 3148 | @node Fontsets |
| 3126 | @subsection Fontsets | 3149 | @subsection Fontsets |
| 3150 | @cindex fontset | ||
| 3127 | 3151 | ||
| 3128 | A @dfn{fontset} is a list of fonts, each assigned to a range of | 3152 | A @dfn{fontset} is a list of fonts, each assigned to a range of |
| 3129 | character codes. An individual font cannot display the whole range of | 3153 | character codes. An individual font cannot display the whole range of |
| @@ -4237,6 +4261,7 @@ display specifications and what they mean. | |||
| 4237 | 4261 | ||
| 4238 | @node Replacing Specs | 4262 | @node Replacing Specs |
| 4239 | @subsection Display Specs That Replace The Text | 4263 | @subsection Display Specs That Replace The Text |
| 4264 | @cindex replacing display specs | ||
| 4240 | 4265 | ||
| 4241 | Some kinds of display specifications specify something to display | 4266 | Some kinds of display specifications specify something to display |
| 4242 | instead of the text that has the property. These are called | 4267 | instead of the text that has the property. These are called |
| @@ -5113,6 +5138,7 @@ Supports the @code{:index} property. @xref{Multi-Frame Images}. | |||
| 5113 | 5138 | ||
| 5114 | @node Defining Images | 5139 | @node Defining Images |
| 5115 | @subsection Defining Images | 5140 | @subsection Defining Images |
| 5141 | @cindex define image | ||
| 5116 | 5142 | ||
| 5117 | The functions @code{create-image}, @code{defimage} and | 5143 | The functions @code{create-image}, @code{defimage} and |
| 5118 | @code{find-image} provide convenient ways to create image descriptors. | 5144 | @code{find-image} provide convenient ways to create image descriptors. |
| @@ -5240,6 +5266,7 @@ Here is an example of using @code{image-load-path-for-library}: | |||
| 5240 | 5266 | ||
| 5241 | @node Showing Images | 5267 | @node Showing Images |
| 5242 | @subsection Showing Images | 5268 | @subsection Showing Images |
| 5269 | @cindex show image | ||
| 5243 | 5270 | ||
| 5244 | You can use an image descriptor by setting up the @code{display} | 5271 | You can use an image descriptor by setting up the @code{display} |
| 5245 | property yourself, but it is easier to use the functions in this | 5272 | property yourself, but it is easier to use the functions in this |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index b79d5df67c8..55da631a3f7 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -81,6 +81,8 @@ computer program, however, it is good to keep the distinction in mind. | |||
| 81 | 81 | ||
| 82 | @node Visiting Functions | 82 | @node Visiting Functions |
| 83 | @subsection Functions for Visiting Files | 83 | @subsection Functions for Visiting Files |
| 84 | @cindex visiting files, functions for | ||
| 85 | @cindex how to visit files | ||
| 84 | 86 | ||
| 85 | This section describes the functions normally used to visit files. | 87 | This section describes the functions normally used to visit files. |
| 86 | For historical reasons, these functions have names starting with | 88 | For historical reasons, these functions have names starting with |
| @@ -948,6 +950,8 @@ Unix. These conventions are also followed by @code{file-attributes} | |||
| 948 | 950 | ||
| 949 | @node Kinds of Files | 951 | @node Kinds of Files |
| 950 | @subsection Distinguishing Kinds of Files | 952 | @subsection Distinguishing Kinds of Files |
| 953 | @cindex file classification | ||
| 954 | @cindex classification of file types | ||
| 951 | 955 | ||
| 952 | This section describes how to distinguish various kinds of files, such | 956 | This section describes how to distinguish various kinds of files, such |
| 953 | as directories, symbolic links, and ordinary files. | 957 | as directories, symbolic links, and ordinary files. |
| @@ -2300,6 +2304,8 @@ through the immediately preceding @samp{/}). | |||
| 2300 | 2304 | ||
| 2301 | @node Unique File Names | 2305 | @node Unique File Names |
| 2302 | @subsection Generating Unique File Names | 2306 | @subsection Generating Unique File Names |
| 2307 | @cindex unique file names | ||
| 2308 | @cindex temporary files | ||
| 2303 | 2309 | ||
| 2304 | Some programs need to write temporary files. Here is the usual way to | 2310 | Some programs need to write temporary files. Here is the usual way to |
| 2305 | construct a name for such a file: | 2311 | construct a name for such a file: |
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 0bded22eade..c1da337c6cc 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -106,6 +106,7 @@ for @code{framep} above. | |||
| 106 | 106 | ||
| 107 | @node Creating Frames | 107 | @node Creating Frames |
| 108 | @section Creating Frames | 108 | @section Creating Frames |
| 109 | @cindex frame creation | ||
| 109 | 110 | ||
| 110 | To create a new frame, call the function @code{make-frame}. | 111 | To create a new frame, call the function @code{make-frame}. |
| 111 | 112 | ||
| @@ -484,6 +485,7 @@ parameter values to frames that will be created henceforth. | |||
| 484 | 485 | ||
| 485 | @node Initial Parameters | 486 | @node Initial Parameters |
| 486 | @subsection Initial Frame Parameters | 487 | @subsection Initial Frame Parameters |
| 488 | @cindex parameters of initial frame | ||
| 487 | 489 | ||
| 488 | You can specify the parameters for the initial startup frame by | 490 | You can specify the parameters for the initial startup frame by |
| 489 | setting @code{initial-frame-alist} in your init file (@pxref{Init | 491 | setting @code{initial-frame-alist} in your init file (@pxref{Init |
| @@ -623,6 +625,7 @@ named, this parameter will be @code{nil}. | |||
| 623 | @node Position Parameters | 625 | @node Position Parameters |
| 624 | @subsubsection Position Parameters | 626 | @subsubsection Position Parameters |
| 625 | @cindex window position on display | 627 | @cindex window position on display |
| 628 | @cindex frame position | ||
| 626 | 629 | ||
| 627 | Position parameters' values are normally measured in pixels, but on | 630 | Position parameters' values are normally measured in pixels, but on |
| 628 | text terminals they count characters or lines instead. | 631 | text terminals they count characters or lines instead. |
| @@ -833,6 +836,8 @@ integer). @xref{Line Height}, for more information. | |||
| 833 | 836 | ||
| 834 | @node Buffer Parameters | 837 | @node Buffer Parameters |
| 835 | @subsubsection Buffer Parameters | 838 | @subsubsection Buffer Parameters |
| 839 | @cindex frame, which buffers to display | ||
| 840 | @cindex buffers to display on frame | ||
| 836 | 841 | ||
| 837 | These frame parameters, meaningful on all kinds of terminals, deal | 842 | These frame parameters, meaningful on all kinds of terminals, deal |
| 838 | with which buffers have been, or should, be displayed in the frame. | 843 | with which buffers have been, or should, be displayed in the frame. |
| @@ -1663,6 +1668,7 @@ is used whenever that frame is selected. If the frame has a minibuffer, | |||
| 1663 | you can get it with @code{minibuffer-window} (@pxref{Definition of | 1668 | you can get it with @code{minibuffer-window} (@pxref{Definition of |
| 1664 | minibuffer-window}). | 1669 | minibuffer-window}). |
| 1665 | 1670 | ||
| 1671 | @cindex frame without a minibuffer | ||
| 1666 | However, you can also create a frame with no minibuffer. Such a frame | 1672 | However, you can also create a frame with no minibuffer. Such a frame |
| 1667 | must use the minibuffer window of some other frame. When you create the | 1673 | must use the minibuffer window of some other frame. When you create the |
| 1668 | frame, you can explicitly specify the minibuffer window to use (in some | 1674 | frame, you can explicitly specify the minibuffer window to use (in some |
| @@ -2070,6 +2076,7 @@ allows to know if the pointer has been hidden. | |||
| 2070 | 2076 | ||
| 2071 | @node Pop-Up Menus | 2077 | @node Pop-Up Menus |
| 2072 | @section Pop-Up Menus | 2078 | @section Pop-Up Menus |
| 2079 | @cindex menus, popup | ||
| 2073 | 2080 | ||
| 2074 | A Lisp program can pop up a menu so that the user can choose an | 2081 | A Lisp program can pop up a menu so that the user can choose an |
| 2075 | alternative with the mouse. On a text terminal, if the mouse is not | 2082 | alternative with the mouse. On a text terminal, if the mouse is not |
| @@ -2334,6 +2341,7 @@ clipboard as empty. | |||
| 2334 | 2341 | ||
| 2335 | @node Drag and Drop | 2342 | @node Drag and Drop |
| 2336 | @section Drag and Drop | 2343 | @section Drag and Drop |
| 2344 | @cindex drag and drop | ||
| 2337 | 2345 | ||
| 2338 | @vindex x-dnd-test-function | 2346 | @vindex x-dnd-test-function |
| 2339 | @vindex x-dnd-known-types | 2347 | @vindex x-dnd-known-types |
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 0ac084b668e..9555c218da5 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -1214,7 +1214,8 @@ ways to do it. The added function is also called a piece of @emph{advice}. | |||
| 1214 | @end menu | 1214 | @end menu |
| 1215 | 1215 | ||
| 1216 | @node Core Advising Primitives | 1216 | @node Core Advising Primitives |
| 1217 | @subsection Primitives to manipulate advice | 1217 | @subsection Primitives to manipulate advices |
| 1218 | @cindex advice, add and remove | ||
| 1218 | 1219 | ||
| 1219 | @defmac add-function where place function &optional props | 1220 | @defmac add-function where place function &optional props |
| 1220 | This macro is the handy way to add the advice @var{function} to the function | 1221 | This macro is the handy way to add the advice @var{function} to the function |
| @@ -1316,6 +1317,7 @@ the current prefix argument. | |||
| 1316 | 1317 | ||
| 1317 | @node Advising Named Functions | 1318 | @node Advising Named Functions |
| 1318 | @subsection Advising Named Functions | 1319 | @subsection Advising Named Functions |
| 1320 | @cindex advising named functions | ||
| 1319 | 1321 | ||
| 1320 | A common use of advice is for named functions and macros. | 1322 | A common use of advice is for named functions and macros. |
| 1321 | You could just use @code{add-function} as in: | 1323 | You could just use @code{add-function} as in: |
| @@ -1508,6 +1510,7 @@ More specifically, the composition of the two functions behaves like: | |||
| 1508 | 1510 | ||
| 1509 | @node Porting old advice | 1511 | @node Porting old advice |
| 1510 | @subsection Adapting code using the old defadvice | 1512 | @subsection Adapting code using the old defadvice |
| 1513 | @cindex old advices, porting | ||
| 1511 | 1514 | ||
| 1512 | A lot of code uses the old @code{defadvice} mechanism, which is largely made | 1515 | A lot of code uses the old @code{defadvice} mechanism, which is largely made |
| 1513 | obsolete by the new @code{advice-add}, whose implementation and semantics is | 1516 | obsolete by the new @code{advice-add}, whose implementation and semantics is |
diff --git a/doc/lispref/hash.texi b/doc/lispref/hash.texi index 536777add72..323a2edca12 100644 --- a/doc/lispref/hash.texi +++ b/doc/lispref/hash.texi | |||
| @@ -188,6 +188,8 @@ Such objects may be added to the hash table after it is created. | |||
| 188 | 188 | ||
| 189 | @node Hash Access | 189 | @node Hash Access |
| 190 | @section Hash Table Access | 190 | @section Hash Table Access |
| 191 | @cindex accessing hash tables | ||
| 192 | @cindex hash table access | ||
| 191 | 193 | ||
| 192 | This section describes the functions for accessing and storing | 194 | This section describes the functions for accessing and storing |
| 193 | associations in a hash table. In general, any Lisp object can be used | 195 | associations in a hash table. In general, any Lisp object can be used |
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index 20fb0e651f9..2e3b51e28e2 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -90,6 +90,7 @@ hyperlinks in the @file{*Help*} buffer.) | |||
| 90 | 90 | ||
| 91 | @node Accessing Documentation | 91 | @node Accessing Documentation |
| 92 | @section Access to Documentation Strings | 92 | @section Access to Documentation Strings |
| 93 | @cindex accessing documentation strings | ||
| 93 | 94 | ||
| 94 | @defun documentation-property symbol property &optional verbatim | 95 | @defun documentation-property symbol property &optional verbatim |
| 95 | This function returns the documentation string recorded in | 96 | This function returns the documentation string recorded in |
| @@ -507,6 +508,7 @@ non-@code{nil}, the return value is always a vector. | |||
| 507 | 508 | ||
| 508 | @node Help Functions | 509 | @node Help Functions |
| 509 | @section Help Functions | 510 | @section Help Functions |
| 511 | @cindex help functions | ||
| 510 | 512 | ||
| 511 | Emacs provides a variety of built-in help functions, all accessible to | 513 | Emacs provides a variety of built-in help functions, all accessible to |
| 512 | the user as subcommands of the prefix @kbd{C-h}. For more information | 514 | the user as subcommands of the prefix @kbd{C-h}. For more information |
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index e652da03385..91dc5ea464e 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -782,6 +782,7 @@ Lookup}. | |||
| 782 | 782 | ||
| 783 | @node Controlling Active Maps | 783 | @node Controlling Active Maps |
| 784 | @section Controlling the Active Keymaps | 784 | @section Controlling the Active Keymaps |
| 785 | @cindex active keymap, controlling | ||
| 785 | 786 | ||
| 786 | @defvar global-map | 787 | @defvar global-map |
| 787 | This variable contains the default global keymap that maps Emacs | 788 | This variable contains the default global keymap that maps Emacs |
| @@ -1806,6 +1807,8 @@ local map. | |||
| 1806 | 1807 | ||
| 1807 | @node Scanning Keymaps | 1808 | @node Scanning Keymaps |
| 1808 | @section Scanning Keymaps | 1809 | @section Scanning Keymaps |
| 1810 | @cindex scanning keymaps | ||
| 1811 | @cindex keymaps, scanning | ||
| 1809 | 1812 | ||
| 1810 | This section describes functions used to scan all the current keymaps | 1813 | This section describes functions used to scan all the current keymaps |
| 1811 | for the sake of printing help information. | 1814 | for the sake of printing help information. |
| @@ -2775,6 +2778,7 @@ function keys. | |||
| 2775 | 2778 | ||
| 2776 | @node Modifying Menus | 2779 | @node Modifying Menus |
| 2777 | @subsection Modifying Menus | 2780 | @subsection Modifying Menus |
| 2781 | @cindex menu modification | ||
| 2778 | 2782 | ||
| 2779 | When you insert a new item in an existing menu, you probably want to | 2783 | When you insert a new item in an existing menu, you probably want to |
| 2780 | put it in a particular place among the menu's existing items. If you | 2784 | put it in a particular place among the menu's existing items. If you |
diff --git a/doc/lispref/lists.texi b/doc/lispref/lists.texi index 21be5cca4fc..e4383354f6f 100644 --- a/doc/lispref/lists.texi +++ b/doc/lispref/lists.texi | |||
| @@ -84,6 +84,8 @@ structure made out of cons cells as a @dfn{list structure}. | |||
| 84 | 84 | ||
| 85 | @node List-related Predicates | 85 | @node List-related Predicates |
| 86 | @section Predicates on Lists | 86 | @section Predicates on Lists |
| 87 | @cindex predicates for lists | ||
| 88 | @cindex list predicates | ||
| 87 | 89 | ||
| 88 | The following predicates test whether a Lisp object is an atom, | 90 | The following predicates test whether a Lisp object is an atom, |
| 89 | whether it is a cons cell or is a list, or whether it is the | 91 | whether it is a cons cell or is a list, or whether it is the |
| @@ -662,6 +664,8 @@ Some examples: | |||
| 662 | 664 | ||
| 663 | @node List Variables | 665 | @node List Variables |
| 664 | @section Modifying List Variables | 666 | @section Modifying List Variables |
| 667 | @cindex modify a list | ||
| 668 | @cindex list modification | ||
| 665 | 669 | ||
| 666 | These functions, and one macro, provide convenient ways | 670 | These functions, and one macro, provide convenient ways |
| 667 | to modify a list which is stored in a variable. | 671 | to modify a list which is stored in a variable. |
| @@ -818,6 +822,8 @@ new @sc{car} or @sc{cdr}. | |||
| 818 | 822 | ||
| 819 | @node Setcar | 823 | @node Setcar |
| 820 | @subsection Altering List Elements with @code{setcar} | 824 | @subsection Altering List Elements with @code{setcar} |
| 825 | @cindex replace list element | ||
| 826 | @cindex list, replace element | ||
| 821 | 827 | ||
| 822 | Changing the @sc{car} of a cons cell is done with @code{setcar}. When | 828 | Changing the @sc{car} of a cons cell is done with @code{setcar}. When |
| 823 | used on a list, @code{setcar} replaces one element of a list with a | 829 | used on a list, @code{setcar} replaces one element of a list with a |
| @@ -923,6 +929,7 @@ x2: | | |||
| 923 | 929 | ||
| 924 | @node Setcdr | 930 | @node Setcdr |
| 925 | @subsection Altering the CDR of a List | 931 | @subsection Altering the CDR of a List |
| 932 | @cindex replace part of list | ||
| 926 | 933 | ||
| 927 | The lowest-level primitive for modifying a @sc{cdr} is @code{setcdr}: | 934 | The lowest-level primitive for modifying a @sc{cdr} is @code{setcdr}: |
| 928 | 935 | ||
| @@ -1759,6 +1766,8 @@ and later discarded; this is not possible with a property list. | |||
| 1759 | 1766 | ||
| 1760 | @node Plist Access | 1767 | @node Plist Access |
| 1761 | @subsection Property Lists Outside Symbols | 1768 | @subsection Property Lists Outside Symbols |
| 1769 | @cindex plist access | ||
| 1770 | @cindex accessing plist properties | ||
| 1762 | 1771 | ||
| 1763 | The following functions can be used to manipulate property lists. | 1772 | The following functions can be used to manipulate property lists. |
| 1764 | They all compare property names using @code{eq}. | 1773 | They all compare property names using @code{eq}. |
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi index a07c2e8a792..a0393c957d4 100644 --- a/doc/lispref/loading.texi +++ b/doc/lispref/loading.texi | |||
| @@ -419,6 +419,8 @@ the shadowed files as a string. | |||
| 419 | 419 | ||
| 420 | @node Loading Non-ASCII | 420 | @node Loading Non-ASCII |
| 421 | @section Loading Non-@acronym{ASCII} Characters | 421 | @section Loading Non-@acronym{ASCII} Characters |
| 422 | @cindex loading, and non-ASCII characters | ||
| 423 | @cindex non-ASCII characters in loaded files | ||
| 422 | 424 | ||
| 423 | When Emacs Lisp programs contain string constants with non-@acronym{ASCII} | 425 | When Emacs Lisp programs contain string constants with non-@acronym{ASCII} |
| 424 | characters, these can be represented within Emacs either as unibyte | 426 | characters, these can be represented within Emacs either as unibyte |
| @@ -907,6 +909,8 @@ with a call to @code{provide}. The order of the elements in the | |||
| 907 | 909 | ||
| 908 | @node Where Defined | 910 | @node Where Defined |
| 909 | @section Which File Defined a Certain Symbol | 911 | @section Which File Defined a Certain Symbol |
| 912 | @cindex symbol, where defined | ||
| 913 | @cindex where was a symbol defined | ||
| 910 | 914 | ||
| 911 | @defun symbol-file symbol &optional type | 915 | @defun symbol-file symbol &optional type |
| 912 | This function returns the name of the file that defined @var{symbol}. | 916 | This function returns the name of the file that defined @var{symbol}. |
diff --git a/doc/lispref/macros.texi b/doc/lispref/macros.texi index 9be12fa431b..8a4741c2ff1 100644 --- a/doc/lispref/macros.texi +++ b/doc/lispref/macros.texi | |||
| @@ -194,6 +194,8 @@ During Compile}). | |||
| 194 | 194 | ||
| 195 | @node Defining Macros | 195 | @node Defining Macros |
| 196 | @section Defining Macros | 196 | @section Defining Macros |
| 197 | @cindex defining macros | ||
| 198 | @cindex macro, how to define | ||
| 197 | 199 | ||
| 198 | A Lisp macro object is a list whose @sc{car} is @code{macro}, and | 200 | A Lisp macro object is a list whose @sc{car} is @code{macro}, and |
| 199 | whose @sc{cdr} is a function. Expansion of the macro works | 201 | whose @sc{cdr} is a function. Expansion of the macro works |
| @@ -253,6 +255,7 @@ Form}. | |||
| 253 | 255 | ||
| 254 | @node Problems with Macros | 256 | @node Problems with Macros |
| 255 | @section Common Problems Using Macros | 257 | @section Common Problems Using Macros |
| 258 | @cindex macro caveats | ||
| 256 | 259 | ||
| 257 | Macro expansion can have counterintuitive consequences. This | 260 | Macro expansion can have counterintuitive consequences. This |
| 258 | section describes some important consequences that can lead to | 261 | section describes some important consequences that can lead to |
diff --git a/doc/lispref/markers.texi b/doc/lispref/markers.texi index 51b87ab1e5b..5902a3a836f 100644 --- a/doc/lispref/markers.texi +++ b/doc/lispref/markers.texi | |||
| @@ -118,6 +118,8 @@ m1 | |||
| 118 | 118 | ||
| 119 | @node Predicates on Markers | 119 | @node Predicates on Markers |
| 120 | @section Predicates on Markers | 120 | @section Predicates on Markers |
| 121 | @cindex predicates for markers | ||
| 122 | @cindex markers, predicates for | ||
| 121 | 123 | ||
| 122 | You can test an object to see whether it is a marker, or whether it is | 124 | You can test an object to see whether it is a marker, or whether it is |
| 123 | either an integer or a marker. The latter test is useful in connection | 125 | either an integer or a marker. The latter test is useful in connection |
| @@ -141,6 +143,8 @@ integer or floating point) or a marker, @code{nil} otherwise. | |||
| 141 | 143 | ||
| 142 | @node Creating Markers | 144 | @node Creating Markers |
| 143 | @section Functions that Create Markers | 145 | @section Functions that Create Markers |
| 146 | @cindex creating markers | ||
| 147 | @cindex marker creation | ||
| 144 | 148 | ||
| 145 | When you create a new marker, you can make it point nowhere, or point | 149 | When you create a new marker, you can make it point nowhere, or point |
| 146 | to the present position of point, or to the beginning or end of the | 150 | to the present position of point, or to the beginning or end of the |
| @@ -269,6 +273,7 @@ if they both point nowhere. | |||
| 269 | 273 | ||
| 270 | @node Information from Markers | 274 | @node Information from Markers |
| 271 | @section Information from Markers | 275 | @section Information from Markers |
| 276 | @cindex marker information | ||
| 272 | 277 | ||
| 273 | This section describes the functions for accessing the components of a | 278 | This section describes the functions for accessing the components of a |
| 274 | marker object. | 279 | marker object. |
| @@ -342,6 +347,8 @@ specify the insertion type, create them with insertion type | |||
| 342 | 347 | ||
| 343 | @node Moving Markers | 348 | @node Moving Markers |
| 344 | @section Moving Marker Positions | 349 | @section Moving Marker Positions |
| 350 | @cindex moving markers | ||
| 351 | @cindex marker, how to move position | ||
| 345 | 352 | ||
| 346 | This section describes how to change the position of an existing | 353 | This section describes how to change the position of an existing |
| 347 | marker. When you do this, be sure you know whether the marker is used | 354 | marker. When you do this, be sure you know whether the marker is used |
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 57ae0e999b4..e6d6ad001e5 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -107,6 +107,7 @@ are available in batch mode. | |||
| 107 | 107 | ||
| 108 | @node Text from Minibuffer | 108 | @node Text from Minibuffer |
| 109 | @section Reading Text Strings with the Minibuffer | 109 | @section Reading Text Strings with the Minibuffer |
| 110 | @cindex minibuffer input, reading text strings | ||
| 110 | 111 | ||
| 111 | The most basic primitive for minibuffer input is | 112 | The most basic primitive for minibuffer input is |
| 112 | @code{read-from-minibuffer}, which can be used to read either a string | 113 | @code{read-from-minibuffer}, which can be used to read either a string |
| @@ -390,6 +391,7 @@ following bindings, in addition to those of @code{minibuffer-local-map}: | |||
| 390 | 391 | ||
| 391 | @node Object from Minibuffer | 392 | @node Object from Minibuffer |
| 392 | @section Reading Lisp Objects with the Minibuffer | 393 | @section Reading Lisp Objects with the Minibuffer |
| 394 | @cindex minibuffer input, reading lisp objects | ||
| 393 | 395 | ||
| 394 | This section describes functions for reading Lisp objects with the | 396 | This section describes functions for reading Lisp objects with the |
| 395 | minibuffer. | 397 | minibuffer. |
| @@ -2044,6 +2046,7 @@ Do you really want to remove everything? (yes or no) | |||
| 2044 | 2046 | ||
| 2045 | @node Multiple Queries | 2047 | @node Multiple Queries |
| 2046 | @section Asking Multiple Y-or-N Questions | 2048 | @section Asking Multiple Y-or-N Questions |
| 2049 | @cindex multiple yes-or-no questions | ||
| 2047 | 2050 | ||
| 2048 | When you have a series of similar questions to ask, such as ``Do you | 2051 | When you have a series of similar questions to ask, such as ``Do you |
| 2049 | want to save this buffer'' for each buffer in turn, you should use | 2052 | want to save this buffer'' for each buffer in turn, you should use |
| @@ -2285,6 +2288,8 @@ default value is 0.25. | |||
| 2285 | 2288 | ||
| 2286 | @node Minibuffer Contents | 2289 | @node Minibuffer Contents |
| 2287 | @section Minibuffer Contents | 2290 | @section Minibuffer Contents |
| 2291 | @cindex access minibuffer contents | ||
| 2292 | @cindex minibuffer contents, accessing | ||
| 2288 | 2293 | ||
| 2289 | These functions access the minibuffer prompt and contents. | 2294 | These functions access the minibuffer prompt and contents. |
| 2290 | 2295 | ||
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 902eb405411..fedf933b2d9 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -783,6 +783,8 @@ of them is @code{nil}, it defaults to the first or last codepoint of | |||
| 783 | 783 | ||
| 784 | @node Scanning Charsets | 784 | @node Scanning Charsets |
| 785 | @section Scanning for Character Sets | 785 | @section Scanning for Character Sets |
| 786 | @cindex scanning for character sets | ||
| 787 | @cindex character set, searching | ||
| 786 | 788 | ||
| 787 | Sometimes it is useful to find out which character set a particular | 789 | Sometimes it is useful to find out which character set a particular |
| 788 | character belongs to. One use for this is in determining which coding | 790 | character belongs to. One use for this is in determining which coding |
| @@ -1620,6 +1622,9 @@ contents (as it usually does), it should examine the contents of | |||
| 1620 | 1622 | ||
| 1621 | @node Specifying Coding Systems | 1623 | @node Specifying Coding Systems |
| 1622 | @subsection Specifying a Coding System for One Operation | 1624 | @subsection Specifying a Coding System for One Operation |
| 1625 | @cindex specify coding system | ||
| 1626 | @cindex force coding system for operation | ||
| 1627 | @cindex coding system for operation | ||
| 1623 | 1628 | ||
| 1624 | You can specify the coding system for a specific operation by binding | 1629 | You can specify the coding system for a specific operation by binding |
| 1625 | the variables @code{coding-system-for-read} and/or | 1630 | the variables @code{coding-system-for-read} and/or |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index b7094479db2..e3e5613025d 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -1208,6 +1208,7 @@ return value is @code{nil}. | |||
| 1208 | 1208 | ||
| 1209 | @node Time of Day | 1209 | @node Time of Day |
| 1210 | @section Time of Day | 1210 | @section Time of Day |
| 1211 | @cindex time of day | ||
| 1211 | 1212 | ||
| 1212 | This section explains how to determine the current time and time | 1213 | This section explains how to determine the current time and time |
| 1213 | zone. | 1214 | zone. |
| @@ -1320,6 +1321,7 @@ time zone. | |||
| 1320 | @node Time Conversion | 1321 | @node Time Conversion |
| 1321 | @section Time Conversion | 1322 | @section Time Conversion |
| 1322 | @cindex calendrical information | 1323 | @cindex calendrical information |
| 1324 | @cindex time conversion | ||
| 1323 | 1325 | ||
| 1324 | These functions convert time values (@pxref{Time of Day}) into | 1326 | These functions convert time values (@pxref{Time of Day}) into |
| 1325 | calendrical information and vice versa. | 1327 | calendrical information and vice versa. |
| @@ -1415,6 +1417,9 @@ on others, years as early as 1901 do work. | |||
| 1415 | 1417 | ||
| 1416 | @node Time Parsing | 1418 | @node Time Parsing |
| 1417 | @section Parsing and Formatting Times | 1419 | @section Parsing and Formatting Times |
| 1420 | @cindex time parsing | ||
| 1421 | @cindex time formatting | ||
| 1422 | @cindex formatting time values | ||
| 1418 | 1423 | ||
| 1419 | These functions convert time values to text in a string, and vice versa. | 1424 | These functions convert time values to text in a string, and vice versa. |
| 1420 | Time values are lists of two to four integers (@pxref{Time of Day}). | 1425 | Time values are lists of two to four integers (@pxref{Time of Day}). |
| @@ -1643,6 +1648,9 @@ interactively, it prints the duration in the echo area. | |||
| 1643 | 1648 | ||
| 1644 | @node Time Calculations | 1649 | @node Time Calculations |
| 1645 | @section Time Calculations | 1650 | @section Time Calculations |
| 1651 | @cindex time calculations | ||
| 1652 | @cindex comparing time values | ||
| 1653 | @cindex calendrical computations | ||
| 1646 | 1654 | ||
| 1647 | These functions perform calendrical computations using time values | 1655 | These functions perform calendrical computations using time values |
| 1648 | (@pxref{Time of Day}). | 1656 | (@pxref{Time of Day}). |
| @@ -1823,6 +1831,7 @@ cause anything special to happen. | |||
| 1823 | 1831 | ||
| 1824 | @node Idle Timers | 1832 | @node Idle Timers |
| 1825 | @section Idle Timers | 1833 | @section Idle Timers |
| 1834 | @cindex idle timers | ||
| 1826 | 1835 | ||
| 1827 | Here is how to set up a timer that runs when Emacs is idle for a | 1836 | Here is how to set up a timer that runs when Emacs is idle for a |
| 1828 | certain length of time. Aside from how to set them up, idle timers | 1837 | certain length of time. Aside from how to set them up, idle timers |
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index 032baa9d2e3..24ff5d8c86b 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi | |||
| @@ -465,6 +465,7 @@ beginning or end of a line. | |||
| 465 | 465 | ||
| 466 | @node Screen Lines | 466 | @node Screen Lines |
| 467 | @subsection Motion by Screen Lines | 467 | @subsection Motion by Screen Lines |
| 468 | @cindex screen lines, moving by | ||
| 468 | 469 | ||
| 469 | The line functions in the previous section count text lines, delimited | 470 | The line functions in the previous section count text lines, delimited |
| 470 | only by newline characters. By contrast, these functions count screen | 471 | only by newline characters. By contrast, these functions count screen |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 0952cc15f03..856831d16c6 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -63,6 +63,8 @@ Processes}. | |||
| 63 | 63 | ||
| 64 | @node Subprocess Creation | 64 | @node Subprocess Creation |
| 65 | @section Functions that Create Subprocesses | 65 | @section Functions that Create Subprocesses |
| 66 | @cindex create subprocess | ||
| 67 | @cindex process creation | ||
| 66 | 68 | ||
| 67 | There are three primitives that create a new subprocess in which to run | 69 | There are three primitives that create a new subprocess in which to run |
| 68 | a program. One of them, @code{start-process}, creates an asynchronous | 70 | a program. One of them, @code{start-process}, creates an asynchronous |
| @@ -734,6 +736,7 @@ happen sooner or later). | |||
| 734 | 736 | ||
| 735 | @node Process Information | 737 | @node Process Information |
| 736 | @section Process Information | 738 | @section Process Information |
| 739 | @cindex process information | ||
| 737 | 740 | ||
| 738 | Several functions return information about processes. | 741 | Several functions return information about processes. |
| 739 | 742 | ||
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 992ad001fe7..19c515f3ca2 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -257,6 +257,8 @@ it easier to verify even very complex regexps. | |||
| 257 | 257 | ||
| 258 | @node Syntax of Regexps | 258 | @node Syntax of Regexps |
| 259 | @subsection Syntax of Regular Expressions | 259 | @subsection Syntax of Regular Expressions |
| 260 | @cindex regexp syntax | ||
| 261 | @cindex syntax of regular expressions | ||
| 260 | 262 | ||
| 261 | Regular expressions have a syntax in which a few characters are | 263 | Regular expressions have a syntax in which a few characters are |
| 262 | special constructs and the rest are @dfn{ordinary}. An ordinary | 264 | special constructs and the rest are @dfn{ordinary}. An ordinary |
| @@ -294,6 +296,7 @@ need to use one of the special regular expression constructs. | |||
| 294 | 296 | ||
| 295 | @node Regexp Special | 297 | @node Regexp Special |
| 296 | @subsubsection Special Characters in Regular Expressions | 298 | @subsubsection Special Characters in Regular Expressions |
| 299 | @cindex regexp, special characters in | ||
| 297 | 300 | ||
| 298 | Here is a list of the characters that are special in a regular | 301 | Here is a list of the characters that are special in a regular |
| 299 | expression. | 302 | expression. |
| @@ -894,6 +897,7 @@ beyond the minimum needed to end a sentence. | |||
| 894 | 897 | ||
| 895 | These functions operate on regular expressions. | 898 | These functions operate on regular expressions. |
| 896 | 899 | ||
| 900 | @cindex quote special characters in regexp | ||
| 897 | @defun regexp-quote string | 901 | @defun regexp-quote string |
| 898 | This function returns a regular expression whose only exact match is | 902 | This function returns a regular expression whose only exact match is |
| 899 | @var{string}. Using this regular expression in @code{looking-at} will | 903 | @var{string}. Using this regular expression in @code{looking-at} will |
| @@ -924,6 +928,7 @@ whitespace: | |||
| 924 | @end example | 928 | @end example |
| 925 | @end defun | 929 | @end defun |
| 926 | 930 | ||
| 931 | @cindex optimize regexp | ||
| 927 | @defun regexp-opt strings &optional paren | 932 | @defun regexp-opt strings &optional paren |
| 928 | This function returns an efficient regular expression that will match | 933 | This function returns an efficient regular expression that will match |
| 929 | any of the strings in the list @var{strings}. This is useful when you | 934 | any of the strings in the list @var{strings}. This is useful when you |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 1ecc5671a90..026c7a77df2 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -92,6 +92,8 @@ representations and to encode and decode character codes. | |||
| 92 | 92 | ||
| 93 | @node Predicates for Strings | 93 | @node Predicates for Strings |
| 94 | @section Predicates for Strings | 94 | @section Predicates for Strings |
| 95 | @cindex predicates for strings | ||
| 96 | @cindex string predicates | ||
| 95 | 97 | ||
| 96 | For more information about general sequence and array predicates, | 98 | For more information about general sequence and array predicates, |
| 97 | see @ref{Sequences Arrays Vectors}, and @ref{Arrays}. | 99 | see @ref{Sequences Arrays Vectors}, and @ref{Arrays}. |
| @@ -113,6 +115,8 @@ character (i.e., an integer), @code{nil} otherwise. | |||
| 113 | 115 | ||
| 114 | @node Creating Strings | 116 | @node Creating Strings |
| 115 | @section Creating Strings | 117 | @section Creating Strings |
| 118 | @cindex creating strings | ||
| 119 | @cindex string creation | ||
| 116 | 120 | ||
| 117 | The following functions create strings, either from scratch, or by | 121 | The following functions create strings, either from scratch, or by |
| 118 | putting strings together, or by taking them apart. | 122 | putting strings together, or by taking them apart. |
| @@ -367,6 +371,8 @@ usual value is @w{@code{"[ \f\t\n\r\v]+"}}. | |||
| 367 | 371 | ||
| 368 | @node Modifying Strings | 372 | @node Modifying Strings |
| 369 | @section Modifying Strings | 373 | @section Modifying Strings |
| 374 | @cindex modifying strings | ||
| 375 | @cindex string modification | ||
| 370 | 376 | ||
| 371 | The most basic way to alter the contents of an existing string is with | 377 | The most basic way to alter the contents of an existing string is with |
| 372 | @code{aset} (@pxref{Array Functions}). @code{(aset @var{string} | 378 | @code{aset} (@pxref{Array Functions}). @code{(aset @var{string} |
| @@ -400,6 +406,7 @@ zeros. It may also change @var{string}'s length. | |||
| 400 | @node Text Comparison | 406 | @node Text Comparison |
| 401 | @section Comparison of Characters and Strings | 407 | @section Comparison of Characters and Strings |
| 402 | @cindex string equality | 408 | @cindex string equality |
| 409 | @cindex text comparison | ||
| 403 | 410 | ||
| 404 | @defun char-equal character1 character2 | 411 | @defun char-equal character1 character2 |
| 405 | This function returns @code{t} if the arguments represent the same | 412 | This function returns @code{t} if the arguments represent the same |
diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi index 25e6089491e..33577e74157 100644 --- a/doc/lispref/syntax.texi +++ b/doc/lispref/syntax.texi | |||
| @@ -592,6 +592,8 @@ in turn, repeatedly, until they all return @code{nil}. | |||
| 592 | 592 | ||
| 593 | @node Motion and Syntax | 593 | @node Motion and Syntax |
| 594 | @section Motion and Syntax | 594 | @section Motion and Syntax |
| 595 | @cindex moving across syntax classes | ||
| 596 | @cindex skipping characters of certain syntax | ||
| 595 | 597 | ||
| 596 | This section describes functions for moving across characters that | 598 | This section describes functions for moving across characters that |
| 597 | have certain syntax classes. | 599 | have certain syntax classes. |
| @@ -631,6 +633,8 @@ expression prefix syntax class, and characters with the @samp{p} flag. | |||
| 631 | 633 | ||
| 632 | @node Parsing Expressions | 634 | @node Parsing Expressions |
| 633 | @section Parsing Expressions | 635 | @section Parsing Expressions |
| 636 | @cindex parsing expressions | ||
| 637 | @cindex scanning expressions | ||
| 634 | 638 | ||
| 635 | This section describes functions for parsing and scanning balanced | 639 | This section describes functions for parsing and scanning balanced |
| 636 | expressions. We will refer to such expressions as @dfn{sexps}, | 640 | expressions. We will refer to such expressions as @dfn{sexps}, |
| @@ -673,6 +677,7 @@ result, Emacs treats them as four consecutive empty string constants. | |||
| 673 | 677 | ||
| 674 | @node Motion via Parsing | 678 | @node Motion via Parsing |
| 675 | @subsection Motion Commands Based on Parsing | 679 | @subsection Motion Commands Based on Parsing |
| 680 | @cindex motion based on parsing | ||
| 676 | 681 | ||
| 677 | This section describes simple point-motion functions that operate | 682 | This section describes simple point-motion functions that operate |
| 678 | based on parsing expressions. | 683 | based on parsing expressions. |
| @@ -738,6 +743,7 @@ cannot exceed that many. | |||
| 738 | 743 | ||
| 739 | @node Position Parse | 744 | @node Position Parse |
| 740 | @subsection Finding the Parse State for a Position | 745 | @subsection Finding the Parse State for a Position |
| 746 | @cindex parse state for a position | ||
| 741 | 747 | ||
| 742 | For syntactic analysis, such as in indentation, often the useful | 748 | For syntactic analysis, such as in indentation, often the useful |
| 743 | thing is to compute the syntactic state corresponding to a given buffer | 749 | thing is to compute the syntactic state corresponding to a given buffer |
| @@ -919,6 +925,7 @@ nicely. | |||
| 919 | 925 | ||
| 920 | @node Control Parsing | 926 | @node Control Parsing |
| 921 | @subsection Parameters to Control Parsing | 927 | @subsection Parameters to Control Parsing |
| 928 | @cindex parsing, control parameters | ||
| 922 | 929 | ||
| 923 | @defvar multibyte-syntax-as-symbol | 930 | @defvar multibyte-syntax-as-symbol |
| 924 | If this variable is non-@code{nil}, @code{scan-sexps} treats all | 931 | If this variable is non-@code{nil}, @code{scan-sexps} treats all |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 06d1381278c..379fb295654 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -162,6 +162,7 @@ the end of a line. | |||
| 162 | 162 | ||
| 163 | @node Buffer Contents | 163 | @node Buffer Contents |
| 164 | @section Examining Buffer Contents | 164 | @section Examining Buffer Contents |
| 165 | @cindex buffer portion as string | ||
| 165 | 166 | ||
| 166 | This section describes functions that allow a Lisp program to | 167 | This section describes functions that allow a Lisp program to |
| 167 | convert any portion of the text in the buffer into a string. | 168 | convert any portion of the text in the buffer into a string. |
| @@ -2679,6 +2680,8 @@ along with the characters; this includes such diverse functions as | |||
| 2679 | 2680 | ||
| 2680 | @node Examining Properties | 2681 | @node Examining Properties |
| 2681 | @subsection Examining Text Properties | 2682 | @subsection Examining Text Properties |
| 2683 | @cindex examining text properties | ||
| 2684 | @cindex text properties, examining | ||
| 2682 | 2685 | ||
| 2683 | The simplest way to examine text properties is to ask for the value of | 2686 | The simplest way to examine text properties is to ask for the value of |
| 2684 | a particular property of a particular character. For that, use | 2687 | a particular property of a particular character. For that, use |
| @@ -2770,6 +2773,8 @@ used instead. Here is an example: | |||
| 2770 | 2773 | ||
| 2771 | @node Changing Properties | 2774 | @node Changing Properties |
| 2772 | @subsection Changing Text Properties | 2775 | @subsection Changing Text Properties |
| 2776 | @cindex changing text properties | ||
| 2777 | @cindex text properties, changing | ||
| 2773 | 2778 | ||
| 2774 | The primitives for changing properties apply to a specified range of | 2779 | The primitives for changing properties apply to a specified range of |
| 2775 | text in a buffer or string. The function @code{set-text-properties} | 2780 | text in a buffer or string. The function @code{set-text-properties} |
| @@ -2933,6 +2938,8 @@ buffer but does not copy its properties. | |||
| 2933 | 2938 | ||
| 2934 | @node Property Search | 2939 | @node Property Search |
| 2935 | @subsection Text Property Search Functions | 2940 | @subsection Text Property Search Functions |
| 2941 | @cindex searching text properties | ||
| 2942 | @cindex text properties, searching | ||
| 2936 | 2943 | ||
| 2937 | In typical use of text properties, most of the time several or many | 2944 | In typical use of text properties, most of the time several or many |
| 2938 | consecutive characters have the same value for a property. Rather than | 2945 | consecutive characters have the same value for a property. Rather than |
| @@ -3991,6 +3998,8 @@ coalesced whenever possible. @xref{Property Search}. | |||
| 3991 | 3998 | ||
| 3992 | @node Substitution | 3999 | @node Substitution |
| 3993 | @section Substituting for a Character Code | 4000 | @section Substituting for a Character Code |
| 4001 | @cindex replace characters in region | ||
| 4002 | @cindex substitute characters | ||
| 3994 | 4003 | ||
| 3995 | The following functions replace characters within a specified region | 4004 | The following functions replace characters within a specified region |
| 3996 | based on their character codes. | 4005 | based on their character codes. |
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index e890dbce359..b3466e60c4e 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -1951,6 +1951,7 @@ foo | |||
| 1951 | 1951 | ||
| 1952 | @node Variables with Restricted Values | 1952 | @node Variables with Restricted Values |
| 1953 | @section Variables with Restricted Values | 1953 | @section Variables with Restricted Values |
| 1954 | @cindex lisp variables defined in C, restrictions | ||
| 1954 | 1955 | ||
| 1955 | Ordinary Lisp variables can be assigned any value that is a valid | 1956 | Ordinary Lisp variables can be assigned any value that is a valid |
| 1956 | Lisp object. However, certain Lisp variables are not defined in Lisp, | 1957 | Lisp object. However, certain Lisp variables are not defined in Lisp, |
| @@ -1987,6 +1988,8 @@ Attempting to assign them any other value will result in an error: | |||
| 1987 | @node Generalized Variables | 1988 | @node Generalized Variables |
| 1988 | @section Generalized Variables | 1989 | @section Generalized Variables |
| 1989 | 1990 | ||
| 1991 | @cindex generalized variable | ||
| 1992 | @cindex place form | ||
| 1990 | A @dfn{generalized variable} or @dfn{place form} is one of the many places | 1993 | A @dfn{generalized variable} or @dfn{place form} is one of the many places |
| 1991 | in Lisp memory where values can be stored. The simplest place form is | 1994 | in Lisp memory where values can be stored. The simplest place form is |
| 1992 | a regular Lisp variable. But the @sc{car}s and @sc{cdr}s of lists, elements | 1995 | a regular Lisp variable. But the @sc{car}s and @sc{cdr}s of lists, elements |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 7c8d0b084b5..a172a4a4d87 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -1252,6 +1252,8 @@ are the opposite of what they are in those other functions. | |||
| 1252 | 1252 | ||
| 1253 | @node Recombining Windows | 1253 | @node Recombining Windows |
| 1254 | @section Recombining Windows | 1254 | @section Recombining Windows |
| 1255 | @cindex recombining windows | ||
| 1256 | @cindex windows, recombining | ||
| 1255 | 1257 | ||
| 1256 | When deleting the last sibling of a window @var{W}, its parent window | 1258 | When deleting the last sibling of a window @var{W}, its parent window |
| 1257 | is deleted too, with @var{W} replacing it in the window tree. This | 1259 | is deleted too, with @var{W} replacing it in the window tree. This |