2 @c This is part of the GNU Emacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004,
4 @c 2005, 2006, 2007, 2008, 2009, 2010, 2011
5 @c Free Software Foundation, Inc.
6 @c See the file elisp.texi for copying conditions.
7 @setfilename ../../info/maps
8 @node Standard Keymaps, Standard Hooks, Standard Buffer-Local Variables, Top
9 @appendix Standard Keymaps
10 @cindex standard keymaps
12 The following symbols are used as the names for various keymaps.
13 Some of these exist when Emacs is first started, others are
14 loaded only when their respective mode is used. This is not
17 Several keymaps are used in the minibuffer. @xref{Completion Commands}.
19 Almost all of these maps are used as local maps. Indeed, of the modes
20 that presently exist, only Vip mode and Terminal mode ever change the
24 @item apropos-mode-map
25 @vindex apropos-mode-map
26 A sparse keymap for @code{apropos} buffers.
28 @item Buffer-menu-mode-map
29 @vindex Buffer-menu-mode-map
30 A full keymap used by Buffer Menu mode.
34 A sparse keymap used by C mode.
36 @item command-history-map
37 @vindex command-history-map
38 A full keymap used by Command History mode.
41 A sparse keymap for subcommands of the prefix @kbd{C-x 4}.
44 A sparse keymap for subcommands of the prefix @kbd{C-x 5}.
47 A full keymap for @kbd{C-x} commands.
50 A full keymap for Custom mode.
52 @item debugger-mode-map
53 @vindex debugger-mode-map
54 A full keymap used by Debugger mode.
57 @vindex dired-mode-map
58 A full keymap for @code{dired-mode} buffers.
60 @item edit-abbrevs-map
61 @vindex edit-abbrevs-map
62 A sparse keymap used in @code{edit-abbrevs}.
64 @item edit-tab-stops-map
65 @vindex edit-tab-stops-map
66 A sparse keymap used in @code{edit-tab-stops}.
68 @item electric-buffer-menu-mode-map
69 @vindex electric-buffer-menu-mode-map
70 A full keymap used by Electric Buffer Menu mode.
72 @item electric-history-map
73 @vindex electric-history-map
74 A full keymap used by Electric Command History mode.
76 @item emacs-lisp-mode-map
77 @vindex emacs-lisp-mode-map
78 A sparse keymap used by Emacs Lisp mode.
81 A full keymap for @kbd{ESC} (or @kbd{Meta}) commands.
85 The sparse keymap that displays the Text Properties menu.
87 @item facemenu-background-menu
88 @vindex facemenu-background-menu
89 The sparse keymap that displays the Background Color submenu of the Text
92 @item facemenu-face-menu
93 @vindex facemenu-face-menu
94 The sparse keymap that displays the Face submenu of the Text Properties menu.
96 @item facemenu-foreground-menu
97 @vindex facemenu-foreground-menu
98 The sparse keymap that displays the Foreground Color submenu of the Text
101 @item facemenu-indentation-menu
102 @vindex facemenu-indentation-menu
103 The sparse keymap that displays the Indentation submenu of the Text
106 @item facemenu-justification-menu
107 @vindex facemenu-justification-menu
108 The sparse keymap that displays the Justification submenu of the Text
111 @item facemenu-special-menu
112 @vindex facemenu-special-menu
113 The sparse keymap that displays the Special Props submenu of the Text
116 @item local-function-key-map
117 The keymap for translating key sequences to preferred alternatives.@*
118 If there are none, then it contains an empty sparse keymap.
119 @xref{Translation Keymaps}.
121 @item fundamental-mode-map
122 @vindex fundamental-mode-map
123 The sparse keymap for Fundamental mode.@*
124 It is empty and should not be changed.
127 The full keymap containing default global key bindings.@*
128 Modes should not modify the Global map.
131 @vindex grep-mode-map
132 The keymap for @code{grep-mode} buffers.
135 The sparse keymap for the keys that follow the help character @kbd{C-h}.
138 @vindex help-mode-map
139 The sparse keymap for Help mode.
141 @item Helper-help-map
142 @vindex Helper-help-map
143 A full keymap used by the help utility package.@*
144 It has the same keymap in its value cell and in its function
148 @vindex Info-edit-map
149 A sparse keymap used by the @kbd{e} command of Info.
152 @vindex Info-mode-map
153 A sparse keymap containing Info commands.
155 @item input-decode-map
156 The keymap for translating keypad and function keys.@*
157 If there are none, then it contains an empty sparse keymap.
158 @xref{Translation Keymaps}.
160 @item isearch-mode-map
161 @vindex isearch-mode-map
162 A keymap that defines the characters you can type within incremental
165 @item key-translation-map
166 A keymap for translating keys. This one overrides ordinary key
167 bindings, unlike @code{local-function-key-map}. @xref{Translation
172 A sparse keymap for keys that follows the @kbd{C-x C-k} prefix
175 @item lisp-interaction-mode-map
176 @vindex lisp-interaction-mode-map
177 A sparse keymap used by Lisp Interaction mode.
180 @vindex lisp-mode-map
181 A sparse keymap used by Lisp mode.
183 @item menu-bar-edit-menu
184 @vindex menu-bar-edit-menu
185 The keymap which displays the Edit menu in the menu bar.
187 @item menu-bar-file-menu
188 @vindex menu-bar-file-menu
189 The keymap which displays the File menu in the menu bar.
191 @item menu-bar-help-menu
192 @vindex menu-bar-help-menu
193 The keymap which displays the Help menu in the menu bar.
195 @item menu-bar-mule-menu
196 @vindex menu-bar-mule-menu
197 The keymap which displays the Mule menu in the menu bar.
199 @item menu-bar-search-menu
200 @vindex menu-bar-search-menu
201 The keymap which displays the Search menu in the menu bar.
203 @item menu-bar-tools-menu
204 @vindex menu-bar-tools-menu
205 The keymap which displays the Tools menu in the menu bar.
207 @item mode-specific-map
208 The keymap for characters following @kbd{C-c}. Note, this is in the
209 global map. This map is not actually mode specific: its name was chosen
210 to be informative for the user in @kbd{C-h b} (@code{display-bindings}),
211 where it describes the main use of the @kbd{C-c} prefix key.
213 @item multi-query-replace-map
214 A sparse keymap that extends @code{query-replace-map} for multi-buffer
215 replacements. @xref{Search and Replace, query-replace-map}.
218 @vindex occur-mode-map
219 A sparse keymap used by Occur mode.
221 @item query-replace-map
222 A sparse keymap used for responses in @code{query-replace} and related
223 commands; also for @code{y-or-n-p} and @code{map-y-or-n-p}. The functions
224 that use this map do not support prefix keys; they look up one event at a
228 A sparse keymap that provides global bindings for search-related
232 @vindex text-mode-map
233 A sparse keymap used by Text mode.
236 The keymap defining the contents of the tool bar.
239 @vindex view-mode-map
240 A full keymap used by View mode.