Mercurial > emacs
annotate lispref/maps.texi @ 42811:cf0c0ef57504
*** empty log message ***
| author | Jason Rumney <jasonr@gnu.org> |
|---|---|
| date | Thu, 17 Jan 2002 19:29:24 +0000 |
| parents | d2e5f1b7d8e2 |
| children | 23a1cea22d13 |
| rev | line source |
|---|---|
| 6451 | 1 @c -*-texinfo-*- |
| 2 @c This is part of the GNU Emacs Lisp Reference Manual. | |
| 27189 | 3 @c Copyright (C) 1990, 1991, 1992, 1993, 1999 Free Software Foundation, Inc. |
| 6451 | 4 @c See the file elisp.texi for copying conditions. |
| 5 @setfilename ../info/maps | |
| 6 @node Standard Keymaps, Standard Hooks, Standard Buffer-Local Variables, Top | |
| 7 @appendix Standard Keymaps | |
| 8 | |
| 9 The following symbols are used as the names for various keymaps. | |
| 10 Some of these exist when Emacs is first started, others are | |
| 7600 | 11 loaded only when their respective mode is used. This is not |
| 6451 | 12 an exhaustive list. |
| 13 | |
| 14 Almost all of these maps are used as local maps. Indeed, of the modes | |
| 15 that presently exist, only Vip mode and Terminal mode ever change the | |
| 16 global keymap. | |
| 17 | |
| 18 @table @code | |
| 19 @item Buffer-menu-mode-map | |
| 20 @vindex Buffer-menu-mode-map | |
| 21 A full keymap used by Buffer Menu mode. | |
| 22 | |
| 23 @item c-mode-map | |
| 24 @vindex c-mode-map | |
| 7600 | 25 A sparse keymap used by C mode. |
| 6451 | 26 |
| 27 @item command-history-map | |
| 28 @vindex command-history-map | |
| 29 A full keymap used by Command History mode. | |
| 30 | |
| 31 @item ctl-x-4-map | |
| 32 A sparse keymap for subcommands of the prefix @kbd{C-x 4}. | |
| 33 | |
| 12098 | 34 @item ctl-x-5-map |
| 35 A sparse keymap for subcommands of the prefix @kbd{C-x 5}. | |
| 36 | |
| 6451 | 37 @item ctl-x-map |
| 38 A full keymap for @kbd{C-x} commands. | |
| 39 | |
| 40 @item debugger-mode-map | |
| 41 @vindex debugger-mode-map | |
| 42 A full keymap used by Debugger mode. | |
| 43 | |
| 44 @item dired-mode-map | |
| 45 @vindex dired-mode-map | |
| 46 A full keymap for @code{dired-mode} buffers. | |
| 47 | |
| 48 @item edit-abbrevs-map | |
| 49 @vindex edit-abbrevs-map | |
| 50 A sparse keymap used in @code{edit-abbrevs}. | |
| 51 | |
| 52 @item edit-tab-stops-map | |
| 53 @vindex edit-tab-stops-map | |
| 54 A sparse keymap used in @code{edit-tab-stops}. | |
| 55 | |
| 56 @item electric-buffer-menu-mode-map | |
| 57 @vindex electric-buffer-menu-mode-map | |
| 58 A full keymap used by Electric Buffer Menu mode. | |
| 59 | |
| 60 @item electric-history-map | |
| 61 @vindex electric-history-map | |
| 62 A full keymap used by Electric Command History mode. | |
| 63 | |
| 64 @item emacs-lisp-mode-map | |
| 65 @vindex emacs-lisp-mode-map | |
| 7600 | 66 A sparse keymap used by Emacs Lisp mode. |
| 6451 | 67 |
| 12098 | 68 @item facemenu-menu |
| 69 @vindex facemenu-menu | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
70 The sparse keymap that displays the Text Properties menu. |
| 12098 | 71 |
| 72 @item facemenu-background-menu | |
| 73 @vindex facemenu-background-menu | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
74 The sparse keymap that displays the Background Color submenu of the Text |
| 12098 | 75 Properties menu. |
| 76 | |
| 77 @item facemenu-face-menu | |
| 78 @vindex facemenu-face-menu | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
79 The sparse keymap that displays the Face submenu of the Text Properties menu. |
| 12098 | 80 |
| 81 @item facemenu-foreground-menu | |
| 82 @vindex facemenu-foreground-menu | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
83 The sparse keymap that displays the Foreground Color submenu of the Text |
| 12098 | 84 Properties menu. |
| 85 | |
| 86 @item facemenu-indentation-menu | |
| 87 @vindex facemenu-indentation-menu | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
88 The sparse keymap that displays the Indentation submenu of the Text |
|
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
89 Properties menu. |
| 12098 | 90 |
| 91 @item facemenu-justification-menu | |
| 92 @vindex facemenu-justification-menu | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
93 The sparse keymap that displays the Justification submenu of the Text |
| 12098 | 94 Properties menu. |
| 95 | |
| 96 @item facemenu-special-menu | |
| 97 @vindex facemenu-special-menu | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
98 The sparse keymap that displays the Special Props submenu of the Text |
| 12098 | 99 Properties menu. |
| 100 | |
| 6451 | 101 @item function-key-map |
| 102 The keymap for translating keypad and function keys.@* | |
| 103 If there are none, then it contains an empty sparse keymap. | |
|
21682
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
104 @xref{Translating Input}. |
| 6451 | 105 |
| 106 @item fundamental-mode-map | |
| 107 @vindex fundamental-mode-map | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
108 The sparse keymap for Fundamental mode.@* |
| 6451 | 109 It is empty and should not be changed. |
| 110 | |
| 111 @item Helper-help-map | |
| 112 @vindex Helper-help-map | |
| 113 A full keymap used by the help utility package.@* | |
| 114 It has the same keymap in its value cell and in its function | |
| 115 cell. | |
| 116 | |
| 117 @item Info-edit-map | |
| 118 @vindex Info-edit-map | |
| 119 A sparse keymap used by the @kbd{e} command of Info. | |
| 120 | |
| 121 @item Info-mode-map | |
| 122 @vindex Info-mode-map | |
| 123 A sparse keymap containing Info commands. | |
| 124 | |
| 125 @item isearch-mode-map | |
| 12098 | 126 @vindex isearch-mode-map |
| 6451 | 127 A keymap that defines the characters you can type within incremental |
| 128 search. | |
| 129 | |
| 130 @item key-translation-map | |
| 7600 | 131 A keymap for translating keys. This one overrides ordinary key |
|
21682
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
132 bindings, unlike @code{function-key-map}. @xref{Translating Input}. |
| 6451 | 133 |
| 134 @item lisp-interaction-mode-map | |
| 135 @vindex lisp-interaction-mode-map | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
136 A sparse keymap used by Lisp Interaction mode. |
| 6451 | 137 |
| 138 @item lisp-mode-map | |
| 139 @vindex lisp-mode-map | |
| 7600 | 140 A sparse keymap used by Lisp mode. |
| 6451 | 141 |
| 12098 | 142 @item menu-bar-edit-menu |
| 143 @vindex menu-bar-edit-menu | |
| 144 The keymap which displays the Edit menu in the menu bar. | |
| 145 | |
| 146 @item menu-bar-files-menu | |
| 147 @vindex menu-bar-files-menu | |
| 148 The keymap which displays the Files menu in the menu bar. | |
| 149 | |
| 150 @item menu-bar-help-menu | |
| 151 @vindex menu-bar-help-menu | |
| 152 The keymap which displays the Help menu in the menu bar. | |
| 153 | |
|
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21682
diff
changeset
|
154 @item menu-bar-mule-menu |
|
21682
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
155 @vindex menu-bar-mule-menu |
|
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
156 The keymap which displays the Mule menu in the menu bar. |
|
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
157 |
| 12098 | 158 @item menu-bar-search-menu |
| 159 @vindex menu-bar-search-menu | |
| 160 The keymap which displays the Search menu in the menu bar. | |
| 161 | |
| 162 @item menu-bar-tools-menu | |
| 163 @vindex menu-bar-tools-menu | |
| 164 The keymap which displays the Tools menu in the menu bar. | |
| 165 | |
| 6451 | 166 @item mode-specific-map |
| 167 The keymap for characters following @kbd{C-c}. Note, this is in the | |
| 168 global map. This map is not actually mode specific: its name was chosen | |
| 169 to be informative for the user in @kbd{C-h b} (@code{display-bindings}), | |
| 170 where it describes the main use of the @kbd{C-c} prefix key. | |
| 171 | |
| 172 @item occur-mode-map | |
| 173 @vindex occur-mode-map | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
174 A sparse keymap used by Occur mode. |
| 6451 | 175 |
| 176 @item query-replace-map | |
|
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
177 A sparse keymap used for responses in @code{query-replace} and related |
| 6451 | 178 commands; also for @code{y-or-n-p} and @code{map-y-or-n-p}. The functions |
| 179 that use this map do not support prefix keys; they look up one event at a | |
| 180 time. | |
| 181 | |
| 182 @item text-mode-map | |
| 183 @vindex text-mode-map | |
| 184 A sparse keymap used by Text mode. | |
| 185 | |
| 186 @item view-mode-map | |
| 187 @vindex view-mode-map | |
| 188 A full keymap used by View mode. | |
| 189 @end table |
