Mercurial > emacs
annotate lispref/maps.texi @ 68869:443a9b04eefe
* files.el (hack-local-variables): Only set results if they
exist.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 14 Feb 2006 03:47:00 +0000 |
parents | 067115a6e738 |
children | 0afb816dacfa c5406394f567 |
rev | line source |
---|---|
6451 | 1 @c -*-texinfo-*- |
2 @c This is part of the GNU Emacs Lisp Reference Manual. | |
64889
e836425ee789
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
52401
diff
changeset
|
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2002, 2003, 2004, |
68648
067115a6e738
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64889
diff
changeset
|
4 @c 2005, 2006 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 | |
9 | |
10 The following symbols are used as the names for various keymaps. | |
11 Some of these exist when Emacs is first started, others are | |
7600 | 12 loaded only when their respective mode is used. This is not |
6451 | 13 an exhaustive list. |
14 | |
15 Almost all of these maps are used as local maps. Indeed, of the modes | |
16 that presently exist, only Vip mode and Terminal mode ever change the | |
17 global keymap. | |
18 | |
19 @table @code | |
20 @item Buffer-menu-mode-map | |
21 @vindex Buffer-menu-mode-map | |
22 A full keymap used by Buffer Menu mode. | |
23 | |
24 @item c-mode-map | |
25 @vindex c-mode-map | |
7600 | 26 A sparse keymap used by C mode. |
6451 | 27 |
28 @item command-history-map | |
29 @vindex command-history-map | |
30 A full keymap used by Command History mode. | |
31 | |
32 @item ctl-x-4-map | |
33 A sparse keymap for subcommands of the prefix @kbd{C-x 4}. | |
34 | |
12098 | 35 @item ctl-x-5-map |
36 A sparse keymap for subcommands of the prefix @kbd{C-x 5}. | |
37 | |
6451 | 38 @item ctl-x-map |
39 A full keymap for @kbd{C-x} commands. | |
40 | |
41 @item debugger-mode-map | |
42 @vindex debugger-mode-map | |
43 A full keymap used by Debugger mode. | |
44 | |
45 @item dired-mode-map | |
46 @vindex dired-mode-map | |
47 A full keymap for @code{dired-mode} buffers. | |
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 | |
7600 | 67 A sparse keymap used by Emacs Lisp mode. |
6451 | 68 |
12098 | 69 @item facemenu-menu |
70 @vindex facemenu-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
71 The sparse keymap that displays the Text Properties menu. |
12098 | 72 |
73 @item facemenu-background-menu | |
74 @vindex facemenu-background-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
75 The sparse keymap that displays the Background Color submenu of the Text |
12098 | 76 Properties menu. |
77 | |
78 @item facemenu-face-menu | |
79 @vindex facemenu-face-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
80 The sparse keymap that displays the Face submenu of the Text Properties menu. |
12098 | 81 |
82 @item facemenu-foreground-menu | |
83 @vindex facemenu-foreground-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
84 The sparse keymap that displays the Foreground Color submenu of the Text |
12098 | 85 Properties menu. |
86 | |
87 @item facemenu-indentation-menu | |
88 @vindex facemenu-indentation-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
89 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
|
90 Properties menu. |
12098 | 91 |
92 @item facemenu-justification-menu | |
93 @vindex facemenu-justification-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
94 The sparse keymap that displays the Justification submenu of the Text |
12098 | 95 Properties menu. |
96 | |
97 @item facemenu-special-menu | |
98 @vindex facemenu-special-menu | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
99 The sparse keymap that displays the Special Props submenu of the Text |
12098 | 100 Properties menu. |
101 | |
6451 | 102 @item function-key-map |
103 The keymap for translating keypad and function keys.@* | |
104 If there are none, then it contains an empty sparse keymap. | |
21682
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
105 @xref{Translating Input}. |
6451 | 106 |
107 @item fundamental-mode-map | |
108 @vindex fundamental-mode-map | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
109 The sparse keymap for Fundamental mode.@* |
6451 | 110 It is empty and should not be changed. |
111 | |
112 @item Helper-help-map | |
113 @vindex Helper-help-map | |
114 A full keymap used by the help utility package.@* | |
115 It has the same keymap in its value cell and in its function | |
116 cell. | |
117 | |
118 @item Info-edit-map | |
119 @vindex Info-edit-map | |
120 A sparse keymap used by the @kbd{e} command of Info. | |
121 | |
122 @item Info-mode-map | |
123 @vindex Info-mode-map | |
124 A sparse keymap containing Info commands. | |
125 | |
126 @item isearch-mode-map | |
12098 | 127 @vindex isearch-mode-map |
6451 | 128 A keymap that defines the characters you can type within incremental |
129 search. | |
130 | |
131 @item key-translation-map | |
7600 | 132 A keymap for translating keys. This one overrides ordinary key |
21682
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
133 bindings, unlike @code{function-key-map}. @xref{Translating Input}. |
6451 | 134 |
135 @item lisp-interaction-mode-map | |
136 @vindex lisp-interaction-mode-map | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
137 A sparse keymap used by Lisp Interaction mode. |
6451 | 138 |
139 @item lisp-mode-map | |
140 @vindex lisp-mode-map | |
7600 | 141 A sparse keymap used by Lisp mode. |
6451 | 142 |
12098 | 143 @item menu-bar-edit-menu |
144 @vindex menu-bar-edit-menu | |
145 The keymap which displays the Edit menu in the menu bar. | |
146 | |
147 @item menu-bar-files-menu | |
148 @vindex menu-bar-files-menu | |
149 The keymap which displays the Files menu in the menu bar. | |
150 | |
151 @item menu-bar-help-menu | |
152 @vindex menu-bar-help-menu | |
153 The keymap which displays the Help menu in the menu bar. | |
154 | |
22138
d4ac295a98b3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
21682
diff
changeset
|
155 @item menu-bar-mule-menu |
21682
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
156 @vindex menu-bar-mule-menu |
90da2489c498
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
157 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
|
158 |
12098 | 159 @item menu-bar-search-menu |
160 @vindex menu-bar-search-menu | |
161 The keymap which displays the Search menu in the menu bar. | |
162 | |
163 @item menu-bar-tools-menu | |
164 @vindex menu-bar-tools-menu | |
165 The keymap which displays the Tools menu in the menu bar. | |
166 | |
6451 | 167 @item mode-specific-map |
168 The keymap for characters following @kbd{C-c}. Note, this is in the | |
169 global map. This map is not actually mode specific: its name was chosen | |
170 to be informative for the user in @kbd{C-h b} (@code{display-bindings}), | |
171 where it describes the main use of the @kbd{C-c} prefix key. | |
172 | |
173 @item occur-mode-map | |
174 @vindex occur-mode-map | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
175 A sparse keymap used by Occur mode. |
6451 | 176 |
177 @item query-replace-map | |
25751
467b88fab665
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
22138
diff
changeset
|
178 A sparse keymap used for responses in @code{query-replace} and related |
6451 | 179 commands; also for @code{y-or-n-p} and @code{map-y-or-n-p}. The functions |
180 that use this map do not support prefix keys; they look up one event at a | |
181 time. | |
182 | |
183 @item text-mode-map | |
184 @vindex text-mode-map | |
185 A sparse keymap used by Text mode. | |
186 | |
187 @item view-mode-map | |
188 @vindex view-mode-map | |
189 A full keymap used by View mode. | |
190 @end table | |
52401 | 191 |
192 @ignore | |
193 arch-tag: b741253c-7e23-4a02-b3fa-cffd9e4d72b9 | |
194 @end ignore |