*** empty log message ***
[bpt/emacs.git] / lispref / maps.texi
CommitLineData
a44af9f2
RS
1@c -*-texinfo-*-
2@c This is part of the GNU Emacs Lisp Reference Manual.
651f374c 3@c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2002, 2003, 2004,
ceb4c4d3 4@c 2005, 2006 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
15Almost all of these maps are used as local maps. Indeed, of the modes
16that presently exist, only Vip mode and Terminal mode ever change the
17global keymap.
18
19@table @code
20@item Buffer-menu-mode-map
21@vindex Buffer-menu-mode-map
22A full keymap used by Buffer Menu mode.
23
24@item c-mode-map
25@vindex c-mode-map
5632e6b4 26A sparse keymap used by C mode.
a44af9f2
RS
27
28@item command-history-map
29@vindex command-history-map
30A full keymap used by Command History mode.
31
32@item ctl-x-4-map
33A sparse keymap for subcommands of the prefix @kbd{C-x 4}.
34
bfe721d1 35@item ctl-x-5-map
bfe721d1
KH
36A sparse keymap for subcommands of the prefix @kbd{C-x 5}.
37
a44af9f2
RS
38@item ctl-x-map
39A full keymap for @kbd{C-x} commands.
40
41@item debugger-mode-map
42@vindex debugger-mode-map
43A full keymap used by Debugger mode.
44
45@item dired-mode-map
46@vindex dired-mode-map
47A full keymap for @code{dired-mode} buffers.
48
a44af9f2
RS
49@item edit-abbrevs-map
50@vindex edit-abbrevs-map
51A sparse keymap used in @code{edit-abbrevs}.
52
53@item edit-tab-stops-map
54@vindex edit-tab-stops-map
55A sparse keymap used in @code{edit-tab-stops}.
56
57@item electric-buffer-menu-mode-map
58@vindex electric-buffer-menu-mode-map
59A full keymap used by Electric Buffer Menu mode.
60
61@item electric-history-map
62@vindex electric-history-map
63A full keymap used by Electric Command History mode.
64
65@item emacs-lisp-mode-map
66@vindex emacs-lisp-mode-map
5632e6b4 67A sparse keymap used by Emacs Lisp mode.
a44af9f2 68
bfe721d1
KH
69@item facemenu-menu
70@vindex facemenu-menu
8241495d 71The sparse keymap that displays the Text Properties menu.
bfe721d1
KH
72
73@item facemenu-background-menu
74@vindex facemenu-background-menu
8241495d 75The sparse keymap that displays the Background Color submenu of the Text
bfe721d1
KH
76Properties menu.
77
78@item facemenu-face-menu
79@vindex facemenu-face-menu
8241495d 80The sparse keymap that displays the Face submenu of the Text Properties menu.
bfe721d1
KH
81
82@item facemenu-foreground-menu
83@vindex facemenu-foreground-menu
8241495d 84The sparse keymap that displays the Foreground Color submenu of the Text
bfe721d1
KH
85Properties menu.
86
87@item facemenu-indentation-menu
88@vindex facemenu-indentation-menu
8241495d
RS
89The sparse keymap that displays the Indentation submenu of the Text
90Properties menu.
bfe721d1
KH
91
92@item facemenu-justification-menu
93@vindex facemenu-justification-menu
8241495d 94The sparse keymap that displays the Justification submenu of the Text
bfe721d1
KH
95Properties menu.
96
97@item facemenu-special-menu
98@vindex facemenu-special-menu
8241495d 99The sparse keymap that displays the Special Props submenu of the Text
bfe721d1
KH
100Properties menu.
101
a44af9f2 102@item function-key-map
a44af9f2
RS
103The keymap for translating keypad and function keys.@*
104If there are none, then it contains an empty sparse keymap.
969fe9b5 105@xref{Translating Input}.
a44af9f2
RS
106
107@item fundamental-mode-map
108@vindex fundamental-mode-map
8241495d 109The sparse keymap for Fundamental mode.@*
a44af9f2
RS
110It is empty and should not be changed.
111
112@item Helper-help-map
113@vindex Helper-help-map
114A full keymap used by the help utility package.@*
115It has the same keymap in its value cell and in its function
116cell.
117
118@item Info-edit-map
119@vindex Info-edit-map
120A sparse keymap used by the @kbd{e} command of Info.
121
122@item Info-mode-map
123@vindex Info-mode-map
124A sparse keymap containing Info commands.
125
126@item isearch-mode-map
bfe721d1 127@vindex isearch-mode-map
a44af9f2
RS
128A keymap that defines the characters you can type within incremental
129search.
130
131@item key-translation-map
5632e6b4 132A keymap for translating keys. This one overrides ordinary key
969fe9b5 133bindings, unlike @code{function-key-map}. @xref{Translating Input}.
a44af9f2
RS
134
135@item lisp-interaction-mode-map
136@vindex lisp-interaction-mode-map
8241495d 137A sparse keymap used by Lisp Interaction mode.
a44af9f2
RS
138
139@item lisp-mode-map
140@vindex lisp-mode-map
5632e6b4 141A sparse keymap used by Lisp mode.
a44af9f2 142
bfe721d1
KH
143@item menu-bar-edit-menu
144@vindex menu-bar-edit-menu
145The keymap which displays the Edit menu in the menu bar.
146
147@item menu-bar-files-menu
148@vindex menu-bar-files-menu
149The keymap which displays the Files menu in the menu bar.
150
151@item menu-bar-help-menu
152@vindex menu-bar-help-menu
153The keymap which displays the Help menu in the menu bar.
154
969fe9b5
RS
155@item menu-bar-mule-menu
156@vindex menu-bar-mule-menu
157The keymap which displays the Mule menu in the menu bar.
158
bfe721d1
KH
159@item menu-bar-search-menu
160@vindex menu-bar-search-menu
161The keymap which displays the Search menu in the menu bar.
162
163@item menu-bar-tools-menu
164@vindex menu-bar-tools-menu
165The keymap which displays the Tools menu in the menu bar.
166
a44af9f2
RS
167@item mode-specific-map
168The keymap for characters following @kbd{C-c}. Note, this is in the
169global map. This map is not actually mode specific: its name was chosen
170to be informative for the user in @kbd{C-h b} (@code{display-bindings}),
171where it describes the main use of the @kbd{C-c} prefix key.
172
173@item occur-mode-map
174@vindex occur-mode-map
8241495d 175A sparse keymap used by Occur mode.
a44af9f2
RS
176
177@item query-replace-map
8241495d 178A sparse keymap used for responses in @code{query-replace} and related
a44af9f2
RS
179commands; also for @code{y-or-n-p} and @code{map-y-or-n-p}. The functions
180that use this map do not support prefix keys; they look up one event at a
181time.
182
183@item text-mode-map
184@vindex text-mode-map
185A sparse keymap used by Text mode.
186
187@item view-mode-map
188@vindex view-mode-map
189A full keymap used by View mode.
190@end table
ab5796a9
MB
191
192@ignore
193 arch-tag: b741253c-7e23-4a02-b3fa-cffd9e4d72b9
194@end ignore