Mercurial > emacs
annotate lispref/maps.texi @ 76928:e9a67d6e120b
(gnus-inews-yank-articles): Fix bug: After
message-yank-original, make sure (< mark TEXT point).
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Tue, 03 Apr 2007 23:24:22 +0000 |
parents | 8c3661f15764 |
children | 2122b5496349 |
rev | line source |
---|---|
6451 | 1 @c -*-texinfo-*- |
2 @c This is part of the GNU Emacs Lisp Reference Manual. | |
75250
6d19c76d81c5
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
72211
diff
changeset
|
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004, |
6d19c76d81c5
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
72211
diff
changeset
|
4 @c 2005, 2006, 2007 Free Software Foundation, Inc. |
6451 | 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 | |
76833 | 9 @cindex standard keymaps |
6451 | 10 |
11 The following symbols are used as the names for various keymaps. | |
12 Some of these exist when Emacs is first started, others are | |
7600 | 13 loaded only when their respective mode is used. This is not |
6451 | 14 an exhaustive list. |
15 | |
71912
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
16 Several keymaps are used in the minibuffer. @xref{Completion Commands}. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
17 |
6451 | 18 Almost all of these maps are used as local maps. Indeed, of the modes |
19 that presently exist, only Vip mode and Terminal mode ever change the | |
20 global keymap. | |
21 | |
22 @table @code | |
71912
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
23 @item apropos-mode-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
24 @vindex apropos-mode-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
25 A sparse keymap for @code{apropos} buffers. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
26 |
6451 | 27 @item Buffer-menu-mode-map |
28 @vindex Buffer-menu-mode-map | |
29 A full keymap used by Buffer Menu mode. | |
30 | |
31 @item c-mode-map | |
32 @vindex c-mode-map | |
7600 | 33 A sparse keymap used by C mode. |
6451 | 34 |
35 @item command-history-map | |
36 @vindex command-history-map | |
37 A full keymap used by Command History mode. | |
38 | |
39 @item ctl-x-4-map | |
40 A sparse keymap for subcommands of the prefix @kbd{C-x 4}. | |
41 | |
12098 | 42 @item ctl-x-5-map |
43 A sparse keymap for subcommands of the prefix @kbd{C-x 5}. | |
44 | |
6451 | 45 @item ctl-x-map |
46 A full keymap for @kbd{C-x} commands. | |
47 | |
71912
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
48 @item custom-mode-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
49 A full keymap for Custom mode. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
50 |
6451 | 51 @item debugger-mode-map |
52 @vindex debugger-mode-map | |
53 A full keymap used by Debugger mode. | |
54 | |
55 @item dired-mode-map | |
56 @vindex dired-mode-map | |
57 A full keymap for @code{dired-mode} buffers. | |
58 | |
59 @item edit-abbrevs-map | |
60 @vindex edit-abbrevs-map | |
61 A sparse keymap used in @code{edit-abbrevs}. | |
62 | |
63 @item edit-tab-stops-map | |
64 @vindex edit-tab-stops-map | |
65 A sparse keymap used in @code{edit-tab-stops}. | |
66 | |
67 @item electric-buffer-menu-mode-map | |
68 @vindex electric-buffer-menu-mode-map | |
69 A full keymap used by Electric Buffer Menu mode. | |
70 | |
71 @item electric-history-map | |
72 @vindex electric-history-map | |
73 A full keymap used by Electric Command History mode. | |
74 | |
75 @item emacs-lisp-mode-map | |
76 @vindex emacs-lisp-mode-map | |
7600 | 77 A sparse keymap used by Emacs Lisp mode. |
6451 | 78 |
71912
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
79 @item esc-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
80 @vindex esc-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
81 A full keymap for @kbd{ESC} (or @kbd{Meta}) commands. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
82 |
12098 | 83 @item facemenu-menu |
84 @vindex facemenu-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
85 The sparse keymap that displays the Text Properties menu. |
12098 | 86 |
87 @item facemenu-background-menu | |
88 @vindex facemenu-background-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
89 The sparse keymap that displays the Background Color submenu of the Text |
12098 | 90 Properties menu. |
91 | |
92 @item facemenu-face-menu | |
93 @vindex facemenu-face-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
94 The sparse keymap that displays the Face submenu of the Text Properties menu. |
12098 | 95 |
96 @item facemenu-foreground-menu | |
97 @vindex facemenu-foreground-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
98 The sparse keymap that displays the Foreground Color submenu of the Text |
12098 | 99 Properties menu. |
100 | |
101 @item facemenu-indentation-menu | |
102 @vindex facemenu-indentation-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
103 The sparse keymap that displays the Indentation submenu of the Text |
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
104 Properties menu. |
12098 | 105 |
106 @item facemenu-justification-menu | |
107 @vindex facemenu-justification-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
108 The sparse keymap that displays the Justification submenu of the Text |
12098 | 109 Properties menu. |
110 | |
111 @item facemenu-special-menu | |
112 @vindex facemenu-special-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
113 The sparse keymap that displays the Special Props submenu of the Text |
12098 | 114 Properties menu. |
115 | |
6451 | 116 @item function-key-map |
117 The keymap for translating keypad and function keys.@* | |
118 If there are none, then it contains an empty sparse keymap. | |
72211
c2484c5211e4
Update xrefs from Translating Input to Translation Keymaps.
Richard M. Stallman <rms@gnu.org>
parents:
71912
diff
changeset
|
119 @xref{Translation Keymaps}. |
6451 | 120 |
121 @item fundamental-mode-map | |
122 @vindex fundamental-mode-map | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
123 The sparse keymap for Fundamental mode.@* |
6451 | 124 It is empty and should not be changed. |
125 | |
71912
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
126 @item global-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
127 The full keymap containing default global key bindings.@* |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
128 Modes should not modify the Global map. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
129 |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
130 @item grep-mode-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
131 @vindex grep-mode-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
132 The keymap for @code{grep-mode} buffers. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
133 |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
134 @item help-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
135 The sparse keymap for the keys that follow the help character @kbd{C-h}. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
136 |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
137 @item help-mode-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
138 @vindex help-mode-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
139 The sparse keymap for Help mode. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
140 |
6451 | 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 | |
145 cell. | |
146 | |
147 @item Info-edit-map | |
148 @vindex Info-edit-map | |
149 A sparse keymap used by the @kbd{e} command of Info. | |
150 | |
151 @item Info-mode-map | |
152 @vindex Info-mode-map | |
153 A sparse keymap containing Info commands. | |
154 | |
155 @item isearch-mode-map | |
12098 | 156 @vindex isearch-mode-map |
6451 | 157 A keymap that defines the characters you can type within incremental |
158 search. | |
159 | |
160 @item key-translation-map | |
7600 | 161 A keymap for translating keys. This one overrides ordinary key |
72211
c2484c5211e4
Update xrefs from Translating Input to Translation Keymaps.
Richard M. Stallman <rms@gnu.org>
parents:
71912
diff
changeset
|
162 bindings, unlike @code{function-key-map}. @xref{Translation Keymaps}. |
6451 | 163 |
71912
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
164 @item kmacro-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
165 @vindex kmacro-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
166 A sparse keymap for keys that follows the @kbd{C-x C-k} prefix |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
167 search. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
168 |
6451 | 169 @item lisp-interaction-mode-map |
170 @vindex lisp-interaction-mode-map | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
171 A sparse keymap used by Lisp Interaction mode. |
6451 | 172 |
173 @item lisp-mode-map | |
174 @vindex lisp-mode-map | |
7600 | 175 A sparse keymap used by Lisp mode. |
6451 | 176 |
12098 | 177 @item menu-bar-edit-menu |
178 @vindex menu-bar-edit-menu | |
179 The keymap which displays the Edit menu in the menu bar. | |
180 | |
181 @item menu-bar-files-menu | |
182 @vindex menu-bar-files-menu | |
183 The keymap which displays the Files menu in the menu bar. | |
184 | |
185 @item menu-bar-help-menu | |
186 @vindex menu-bar-help-menu | |
187 The keymap which displays the Help menu in the menu bar. | |
188 | |
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21682
diff
changeset
|
189 @item menu-bar-mule-menu |
21682
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
190 @vindex menu-bar-mule-menu |
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
191 The keymap which displays the Mule menu in the menu bar. |
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
192 |
12098 | 193 @item menu-bar-search-menu |
194 @vindex menu-bar-search-menu | |
195 The keymap which displays the Search menu in the menu bar. | |
196 | |
197 @item menu-bar-tools-menu | |
198 @vindex menu-bar-tools-menu | |
199 The keymap which displays the Tools menu in the menu bar. | |
200 | |
6451 | 201 @item mode-specific-map |
202 The keymap for characters following @kbd{C-c}. Note, this is in the | |
203 global map. This map is not actually mode specific: its name was chosen | |
204 to be informative for the user in @kbd{C-h b} (@code{display-bindings}), | |
205 where it describes the main use of the @kbd{C-c} prefix key. | |
206 | |
207 @item occur-mode-map | |
208 @vindex occur-mode-map | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
209 A sparse keymap used by Occur mode. |
6451 | 210 |
211 @item query-replace-map | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
212 A sparse keymap used for responses in @code{query-replace} and related |
6451 | 213 commands; also for @code{y-or-n-p} and @code{map-y-or-n-p}. The functions |
214 that use this map do not support prefix keys; they look up one event at a | |
215 time. | |
216 | |
217 @item text-mode-map | |
218 @vindex text-mode-map | |
219 A sparse keymap used by Text mode. | |
220 | |
71912
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
221 @item tool-bar-map |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
222 The keymap defining the contents of the tool bar. |
0afb816dacfa
(Standard Keymaps): Add xref for minibuffer maps.
Kim F. Storm <storm@cua.dk>
parents:
68648
diff
changeset
|
223 |
6451 | 224 @item view-mode-map |
225 @vindex view-mode-map | |
226 A full keymap used by View mode. | |
227 @end table | |
52401 | 228 |
229 @ignore | |
230 arch-tag: b741253c-7e23-4a02-b3fa-cffd9e4d72b9 | |
231 @end ignore |