Change explicit uses of the Unix directory separator
[bpt/emacs.git] / lispref / maps.texi
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
9 The following symbols are used as the names for various keymaps.
10 Some of these exist when Emacs is first started, others are
11 loaded only when their respective mode is used. This is not
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
25 A sparse keymap used by C mode.
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
34 @item ctl-x-map
35 A full keymap for @kbd{C-x} commands.
36
37 @item debugger-mode-map
38 @vindex debugger-mode-map
39 A full keymap used by Debugger mode.
40
41 @item dired-mode-map
42 @vindex dired-mode-map
43 A full keymap for @code{dired-mode} buffers.
44
45 @item doctor-mode-map
46 @vindex doctor-mode-map
47 A sparse keymap used by Doctor mode.
48
49 @item edit-abbrevs-map
50 @vindex edit-abbrevs-map
51 A sparse keymap used in @code{edit-abbrevs}.
52
53 @item edit-tab-stops-map
54 @vindex edit-tab-stops-map
55 A sparse keymap used in @code{edit-tab-stops}.
56
57 @item electric-buffer-menu-mode-map
58 @vindex electric-buffer-menu-mode-map
59 A full keymap used by Electric Buffer Menu mode.
60
61 @item electric-history-map
62 @vindex electric-history-map
63 A full keymap used by Electric Command History mode.
64
65 @item emacs-lisp-mode-map
66 @vindex emacs-lisp-mode-map
67 A sparse keymap used by Emacs Lisp mode.
68
69 @item function-key-map
70 @vindex function-key-map
71 The keymap for translating keypad and function keys.@*
72 If there are none, then it contains an empty sparse keymap.
73
74 @item fundamental-mode-map
75 @vindex fundamental-mode-map
76 The local keymap for Fundamental mode.@*
77 It is empty and should not be changed.
78
79 @item Helper-help-map
80 @vindex Helper-help-map
81 A full keymap used by the help utility package.@*
82 It has the same keymap in its value cell and in its function
83 cell.
84
85 @item Info-edit-map
86 @vindex Info-edit-map
87 A sparse keymap used by the @kbd{e} command of Info.
88
89 @item Info-mode-map
90 @vindex Info-mode-map
91 A sparse keymap containing Info commands.
92
93 @item isearch-mode-map
94 A keymap that defines the characters you can type within incremental
95 search.
96
97 @item key-translation-map
98 @vindex key-translation-map
99 A keymap for translating keys. This one overrides ordinary key
100 bindings, unlike @code{function-key-map}.
101
102 @item lisp-interaction-mode-map
103 @vindex lisp-interaction-mode-map
104 A sparse keymap used by Lisp mode.
105
106 @item lisp-mode-map
107 @vindex lisp-mode-map
108 A sparse keymap used by Lisp mode.
109
110 @item mode-specific-map
111 The keymap for characters following @kbd{C-c}. Note, this is in the
112 global map. This map is not actually mode specific: its name was chosen
113 to be informative for the user in @kbd{C-h b} (@code{display-bindings}),
114 where it describes the main use of the @kbd{C-c} prefix key.
115
116 @item occur-mode-map
117 @vindex occur-mode-map
118 A local keymap used by Occur mode.
119
120 @item query-replace-map
121 A local keymap used for responses in @code{query-replace} and related
122 commands; also for @code{y-or-n-p} and @code{map-y-or-n-p}. The functions
123 that use this map do not support prefix keys; they look up one event at a
124 time.
125
126 @item text-mode-map
127 @vindex text-mode-map
128 A sparse keymap used by Text mode.
129
130 @item view-mode-map
131 @vindex view-mode-map
132 A full keymap used by View mode.
133 @end table