Give syntax of keywords.
[bpt/emacs.git] / lispref / maps.texi
CommitLineData
a44af9f2
RS
1@c -*-texinfo-*-
2@c This is part of the GNU Emacs Lisp Reference Manual.
3@c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
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
9The following symbols are used as the names for various keymaps.
10Some of these exist when Emacs is first started, others are
5632e6b4 11loaded only when their respective mode is used. This is not
a44af9f2
RS
12an exhaustive list.
13
14Almost all of these maps are used as local maps. Indeed, of the modes
15that presently exist, only Vip mode and Terminal mode ever change the
16global keymap.
17
18@table @code
19@item Buffer-menu-mode-map
20@vindex Buffer-menu-mode-map
21A full keymap used by Buffer Menu mode.
22
23@item c-mode-map
24@vindex c-mode-map
5632e6b4 25A sparse keymap used by C mode.
a44af9f2
RS
26
27@item command-history-map
28@vindex command-history-map
29A full keymap used by Command History mode.
30
31@item ctl-x-4-map
32A sparse keymap for subcommands of the prefix @kbd{C-x 4}.
33
34@item ctl-x-map
35A full keymap for @kbd{C-x} commands.
36
37@item debugger-mode-map
38@vindex debugger-mode-map
39A full keymap used by Debugger mode.
40
41@item dired-mode-map
42@vindex dired-mode-map
43A full keymap for @code{dired-mode} buffers.
44
45@item doctor-mode-map
46@vindex doctor-mode-map
47A sparse keymap used by Doctor mode.
48
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
RS
68
69@item function-key-map
70@vindex function-key-map
71The keymap for translating keypad and function keys.@*
72If there are none, then it contains an empty sparse keymap.
73
74@item fundamental-mode-map
75@vindex fundamental-mode-map
76The local keymap for Fundamental mode.@*
77It is empty and should not be changed.
78
79@item Helper-help-map
80@vindex Helper-help-map
81A full keymap used by the help utility package.@*
82It has the same keymap in its value cell and in its function
83cell.
84
85@item Info-edit-map
86@vindex Info-edit-map
87A sparse keymap used by the @kbd{e} command of Info.
88
89@item Info-mode-map
90@vindex Info-mode-map
91A sparse keymap containing Info commands.
92
93@item isearch-mode-map
94A keymap that defines the characters you can type within incremental
95search.
96
97@item key-translation-map
98@vindex key-translation-map
5632e6b4
RS
99A keymap for translating keys. This one overrides ordinary key
100bindings, unlike @code{function-key-map}.
a44af9f2
RS
101
102@item lisp-interaction-mode-map
103@vindex lisp-interaction-mode-map
5632e6b4 104A sparse keymap used by Lisp mode.
a44af9f2
RS
105
106@item lisp-mode-map
107@vindex lisp-mode-map
5632e6b4 108A sparse keymap used by Lisp mode.
a44af9f2
RS
109
110@item mode-specific-map
111The keymap for characters following @kbd{C-c}. Note, this is in the
112global map. This map is not actually mode specific: its name was chosen
113to be informative for the user in @kbd{C-h b} (@code{display-bindings}),
114where it describes the main use of the @kbd{C-c} prefix key.
115
116@item occur-mode-map
117@vindex occur-mode-map
5632e6b4 118A local keymap used by Occur mode.
a44af9f2
RS
119
120@item query-replace-map
121A local keymap used for responses in @code{query-replace} and related
122commands; also for @code{y-or-n-p} and @code{map-y-or-n-p}. The functions
123that use this map do not support prefix keys; they look up one event at a
124time.
125
126@item text-mode-map
127@vindex text-mode-map
128A sparse keymap used by Text mode.
129
130@item view-mode-map
131@vindex view-mode-map
132A full keymap used by View mode.
133@end table