Update copyright for years from Emacs 21 to present (mainly adding
[bpt/emacs.git] / lispref / maps.texi
CommitLineData
a44af9f2
RS
1@c -*-texinfo-*-
2@c This is part of the GNU Emacs Lisp Reference Manual.
b3d90e46
GM
3@c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004,
4@c 2005, 2006, 2007 Free Software Foundation, Inc.
a44af9f2
RS
5@c See the file elisp.texi for copying conditions.
6@setfilename ../info/maps
7@node Standard Keymaps, Standard Hooks, Standard Buffer-Local Variables, Top
8@appendix Standard Keymaps
9
10The following symbols are used as the names for various keymaps.
11Some of these exist when Emacs is first started, others are
5632e6b4 12loaded only when their respective mode is used. This is not
a44af9f2
RS
13an exhaustive list.
14
19cafe2c
KS
15Several keymaps are used in the minibuffer. @xref{Completion Commands}.
16
a44af9f2
RS
17Almost all of these maps are used as local maps. Indeed, of the modes
18that presently exist, only Vip mode and Terminal mode ever change the
19global keymap.
20
21@table @code
19cafe2c
KS
22@item apropos-mode-map
23@vindex apropos-mode-map
24A sparse keymap for @code{apropos} buffers.
25
a44af9f2
RS
26@item Buffer-menu-mode-map
27@vindex Buffer-menu-mode-map
28A full keymap used by Buffer Menu mode.
29
30@item c-mode-map
31@vindex c-mode-map
5632e6b4 32A sparse keymap used by C mode.
a44af9f2
RS
33
34@item command-history-map
35@vindex command-history-map
36A full keymap used by Command History mode.
37
38@item ctl-x-4-map
39A sparse keymap for subcommands of the prefix @kbd{C-x 4}.
40
bfe721d1 41@item ctl-x-5-map
bfe721d1
KH
42A sparse keymap for subcommands of the prefix @kbd{C-x 5}.
43
a44af9f2
RS
44@item ctl-x-map
45A full keymap for @kbd{C-x} commands.
46
19cafe2c
KS
47@item custom-mode-map
48A full keymap for Custom mode.
49
a44af9f2
RS
50@item debugger-mode-map
51@vindex debugger-mode-map
52A full keymap used by Debugger mode.
53
54@item dired-mode-map
55@vindex dired-mode-map
56A full keymap for @code{dired-mode} buffers.
57
a44af9f2
RS
58@item edit-abbrevs-map
59@vindex edit-abbrevs-map
60A sparse keymap used in @code{edit-abbrevs}.
61
62@item edit-tab-stops-map
63@vindex edit-tab-stops-map
64A sparse keymap used in @code{edit-tab-stops}.
65
66@item electric-buffer-menu-mode-map
67@vindex electric-buffer-menu-mode-map
68A full keymap used by Electric Buffer Menu mode.
69
70@item electric-history-map
71@vindex electric-history-map
72A full keymap used by Electric Command History mode.
73
74@item emacs-lisp-mode-map
75@vindex emacs-lisp-mode-map
5632e6b4 76A sparse keymap used by Emacs Lisp mode.
a44af9f2 77
19cafe2c
KS
78@item esc-map
79@vindex esc-map
80A full keymap for @kbd{ESC} (or @kbd{Meta}) commands.
81
bfe721d1
KH
82@item facemenu-menu
83@vindex facemenu-menu
8241495d 84The sparse keymap that displays the Text Properties menu.
bfe721d1
KH
85
86@item facemenu-background-menu
87@vindex facemenu-background-menu
8241495d 88The sparse keymap that displays the Background Color submenu of the Text
bfe721d1
KH
89Properties menu.
90
91@item facemenu-face-menu
92@vindex facemenu-face-menu
8241495d 93The sparse keymap that displays the Face submenu of the Text Properties menu.
bfe721d1
KH
94
95@item facemenu-foreground-menu
96@vindex facemenu-foreground-menu
8241495d 97The sparse keymap that displays the Foreground Color submenu of the Text
bfe721d1
KH
98Properties menu.
99
100@item facemenu-indentation-menu
101@vindex facemenu-indentation-menu
8241495d
RS
102The sparse keymap that displays the Indentation submenu of the Text
103Properties menu.
bfe721d1
KH
104
105@item facemenu-justification-menu
106@vindex facemenu-justification-menu
8241495d 107The sparse keymap that displays the Justification submenu of the Text
bfe721d1
KH
108Properties menu.
109
110@item facemenu-special-menu
111@vindex facemenu-special-menu
8241495d 112The sparse keymap that displays the Special Props submenu of the Text
bfe721d1
KH
113Properties menu.
114
a44af9f2 115@item function-key-map
a44af9f2
RS
116The keymap for translating keypad and function keys.@*
117If there are none, then it contains an empty sparse keymap.
1352a203 118@xref{Translation Keymaps}.
a44af9f2
RS
119
120@item fundamental-mode-map
121@vindex fundamental-mode-map
8241495d 122The sparse keymap for Fundamental mode.@*
a44af9f2
RS
123It is empty and should not be changed.
124
19cafe2c
KS
125@item global-map
126The full keymap containing default global key bindings.@*
127Modes should not modify the Global map.
128
129@item grep-mode-map
130@vindex grep-mode-map
131The keymap for @code{grep-mode} buffers.
132
133@item help-map
134The sparse keymap for the keys that follow the help character @kbd{C-h}.
135
136@item help-mode-map
137@vindex help-mode-map
138The sparse keymap for Help mode.
139
a44af9f2
RS
140@item Helper-help-map
141@vindex Helper-help-map
142A full keymap used by the help utility package.@*
143It has the same keymap in its value cell and in its function
144cell.
145
146@item Info-edit-map
147@vindex Info-edit-map
148A sparse keymap used by the @kbd{e} command of Info.
149
150@item Info-mode-map
151@vindex Info-mode-map
152A sparse keymap containing Info commands.
153
154@item isearch-mode-map
bfe721d1 155@vindex isearch-mode-map
a44af9f2
RS
156A keymap that defines the characters you can type within incremental
157search.
158
159@item key-translation-map
5632e6b4 160A keymap for translating keys. This one overrides ordinary key
1352a203 161bindings, unlike @code{function-key-map}. @xref{Translation Keymaps}.
a44af9f2 162
19cafe2c
KS
163@item kmacro-map
164@vindex kmacro-map
165A sparse keymap for keys that follows the @kbd{C-x C-k} prefix
166search.
167
a44af9f2
RS
168@item lisp-interaction-mode-map
169@vindex lisp-interaction-mode-map
8241495d 170A sparse keymap used by Lisp Interaction mode.
a44af9f2
RS
171
172@item lisp-mode-map
173@vindex lisp-mode-map
5632e6b4 174A sparse keymap used by Lisp mode.
a44af9f2 175
bfe721d1
KH
176@item menu-bar-edit-menu
177@vindex menu-bar-edit-menu
178The keymap which displays the Edit menu in the menu bar.
179
180@item menu-bar-files-menu
181@vindex menu-bar-files-menu
182The keymap which displays the Files menu in the menu bar.
183
184@item menu-bar-help-menu
185@vindex menu-bar-help-menu
186The keymap which displays the Help menu in the menu bar.
187
969fe9b5
RS
188@item menu-bar-mule-menu
189@vindex menu-bar-mule-menu
190The keymap which displays the Mule menu in the menu bar.
191
bfe721d1
KH
192@item menu-bar-search-menu
193@vindex menu-bar-search-menu
194The keymap which displays the Search menu in the menu bar.
195
196@item menu-bar-tools-menu
197@vindex menu-bar-tools-menu
198The keymap which displays the Tools menu in the menu bar.
199
a44af9f2
RS
200@item mode-specific-map
201The keymap for characters following @kbd{C-c}. Note, this is in the
202global map. This map is not actually mode specific: its name was chosen
203to be informative for the user in @kbd{C-h b} (@code{display-bindings}),
204where it describes the main use of the @kbd{C-c} prefix key.
205
206@item occur-mode-map
207@vindex occur-mode-map
8241495d 208A sparse keymap used by Occur mode.
a44af9f2
RS
209
210@item query-replace-map
8241495d 211A sparse keymap used for responses in @code{query-replace} and related
a44af9f2
RS
212commands; also for @code{y-or-n-p} and @code{map-y-or-n-p}. The functions
213that use this map do not support prefix keys; they look up one event at a
214time.
215
216@item text-mode-map
217@vindex text-mode-map
218A sparse keymap used by Text mode.
219
19cafe2c
KS
220@item tool-bar-map
221The keymap defining the contents of the tool bar.
222
a44af9f2
RS
223@item view-mode-map
224@vindex view-mode-map
225A full keymap used by View mode.
226@end table
ab5796a9
MB
227
228@ignore
229 arch-tag: b741253c-7e23-4a02-b3fa-cffd9e4d72b9
230@end ignore