aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-03-10 11:27:10 +0800
committerChong Yidong2012-03-10 11:27:10 +0800
commit83ef8187f4841c160d3ef656149ed1ee14461867 (patch)
treec87d1582b193470a6987eb13914f82e824f66693
parenta53925272ef3021c4536eff5ddb8b27b64d2b93b (diff)
downloademacs-83ef8187f4841c160d3ef656149ed1ee14461867.tar.gz
emacs-83ef8187f4841c160d3ef656149ed1ee14461867.zip
Fixes for Mouse Menu node.
* doc/lispref/keymaps.texi (Mouse Menus): Describe non-toolkit behavior as the non-default situation. Describe one-submenu exception. * doc/lispref/nonascii.texi (Character Properties): Copyedits. Fixes: debbugs:7695
-rw-r--r--admin/FOR-RELEASE4
-rw-r--r--doc/lispref/ChangeLog7
-rw-r--r--doc/lispref/keymaps.texi37
-rw-r--r--doc/lispref/nonascii.texi15
4 files changed, 35 insertions, 28 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE
index bfe831fa07f..fe3bab7feb0 100644
--- a/admin/FOR-RELEASE
+++ b/admin/FOR-RELEASE
@@ -214,7 +214,7 @@ maps.texi rgm
214markers.texi rgm 214markers.texi rgm
215minibuf.texi 215minibuf.texi
216modes.texi cyd 216modes.texi cyd
217nonascii.texi 217nonascii.texi cyd
218numbers.texi cyd 218numbers.texi cyd
219objects.texi cyd 219objects.texi cyd
220os.texi 220os.texi
@@ -227,7 +227,7 @@ streams.texi cyd
227strings.texi cyd 227strings.texi cyd
228symbols.texi cyd 228symbols.texi cyd
229syntax.texi cyd 229syntax.texi cyd
230text.texi 230text.texi cyd
231tips.texi rgm 231tips.texi rgm
232variables.texi cyd 232variables.texi cyd
233windows.texi 233windows.texi
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 16291e144d3..4a36d4939df 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,10 @@
12012-03-10 Chong Yidong <cyd@gnu.org>
2
3 * keymaps.texi (Mouse Menus): Describe non-toolkit behavior as the
4 non-default situation. Describe one-submenu exception (Bug#7695).
5
6 * nonascii.texi (Character Properties): Copyedits.
7
12012-03-08 Chong Yidong <cyd@gnu.org> 82012-03-08 Chong Yidong <cyd@gnu.org>
2 9
3 * text.texi (Mode-Specific Indent): Document new behavior of 10 * text.texi (Mode-Specific Indent): Document new behavior of
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 669f058ef13..5dd57ccb4ac 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -2345,24 +2345,25 @@ multiple levels or comes from the menu bar.)
2345 It's often best to use a button-down event to trigger the menu. Then 2345 It's often best to use a button-down event to trigger the menu. Then
2346the user can select a menu item by releasing the button. 2346the user can select a menu item by releasing the button.
2347 2347
2348 A single keymap can appear as multiple menu panes, if you explicitly 2348@cindex submenu
2349arrange for this. The way to do this is to make a keymap for each pane, 2349 If the menu keymap contains a binding to a nested keymap, the nested
2350then create a binding for each of those maps in the main keymap of the 2350keymap specifies a @dfn{submenu}. There will be a menu item, labeled
2351menu. Give each of these bindings an item string that starts with 2351by the nested keymap's item string, and clicking on this item
2352@samp{@@}. The rest of the item string becomes the name of the pane. 2352automatically pops up the specified submenu. As a special exception,
2353See the file @file{lisp/mouse.el} for an example of this. Any ordinary 2353if the menu keymap contains a single nested keymap and no other menu
2354bindings with @samp{@@}-less item strings are grouped into one pane, 2354items, the menu shows the contents of the nested keymap directly, not
2355which appears along with the other panes explicitly created for the 2355as a submenu.
2356submaps. 2356
2357 2357 However, if Emacs is compiled without X toolkit support, submenus
2358 X toolkit menus don't have panes; instead, they can have submenus. 2358are not supported. Each nested keymap is shown as a menu item, but
2359Every nested keymap becomes a submenu, whether the item string starts 2359clicking on it does not automatically pop up the submenu. If you wish
2360with @samp{@@} or not. In a toolkit version of Emacs, the only thing 2360to imitate the effect of submenus, you can do that by giving a nested
2361special about @samp{@@} at the beginning of an item string is that the 2361keymap an item string which starts with @samp{@@}. This causes Emacs
2362@samp{@@} doesn't appear in the menu item. 2362to display the nested keymap using a separate @dfn{menu pane}; the
2363 2363rest of the item string after the @samp{@@} is the pane label. If
2364 Multiple keymaps that define the same menu prefix key produce 2364Emacs is compiled without X toolkit support, menu panes are not used;
2365separate panes or separate submenus. 2365in that case, a @samp{@@} at the beginning of an item string is
2366omitted when the menu label is displayed, and has no other effect.
2366 2367
2367@node Keyboard Menus 2368@node Keyboard Menus
2368@subsection Menus and the Keyboard 2369@subsection Menus and the Keyboard
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 19c72981174..c97cd099328 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -412,14 +412,13 @@ or @code{R} (strong R).
412Corresponds to the Unicode @code{Decomposition_Type} and 412Corresponds to the Unicode @code{Decomposition_Type} and
413@code{Decomposition_Value} properties. The value is a list, whose 413@code{Decomposition_Value} properties. The value is a list, whose
414first element may be a symbol representing a compatibility formatting 414first element may be a symbol representing a compatibility formatting
415tag, such as @code{small}@footnote{ 415tag, such as @code{small}@footnote{The Unicode specification writes
416Note that the Unicode spec writes these tag names inside 416these tag names inside @samp{<..>} brackets, but the tag names in
417@samp{<..>} brackets. The tag names in Emacs do not include the 417Emacs do not include the brackets; e.g.@: Unicode specifies
418brackets; e.g., Unicode specifies @samp{<small>} where Emacs uses 418@samp{<small>} where Emacs uses @samp{small}. }; the other elements
419@samp{small}. 419are characters that give the compatibility decomposition sequence of
420}; the other elements are characters that give the compatibility 420this character. For unassigned codepoints, the value is the character
421decomposition sequence of this character. For unassigned codepoints, 421itself.
422the value is the character itself.
423 422
424@item decimal-digit-value 423@item decimal-digit-value
425Corresponds to the Unicode @code{Numeric_Value} property for 424Corresponds to the Unicode @code{Numeric_Value} property for