diff options
| author | Chong Yidong | 2012-03-10 11:27:10 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-03-10 11:27:10 +0800 |
| commit | 83ef8187f4841c160d3ef656149ed1ee14461867 (patch) | |
| tree | c87d1582b193470a6987eb13914f82e824f66693 | |
| parent | a53925272ef3021c4536eff5ddb8b27b64d2b93b (diff) | |
| download | emacs-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-RELEASE | 4 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/lispref/keymaps.texi | 37 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 15 |
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 | |||
| 214 | markers.texi rgm | 214 | markers.texi rgm |
| 215 | minibuf.texi | 215 | minibuf.texi |
| 216 | modes.texi cyd | 216 | modes.texi cyd |
| 217 | nonascii.texi | 217 | nonascii.texi cyd |
| 218 | numbers.texi cyd | 218 | numbers.texi cyd |
| 219 | objects.texi cyd | 219 | objects.texi cyd |
| 220 | os.texi | 220 | os.texi |
| @@ -227,7 +227,7 @@ streams.texi cyd | |||
| 227 | strings.texi cyd | 227 | strings.texi cyd |
| 228 | symbols.texi cyd | 228 | symbols.texi cyd |
| 229 | syntax.texi cyd | 229 | syntax.texi cyd |
| 230 | text.texi | 230 | text.texi cyd |
| 231 | tips.texi rgm | 231 | tips.texi rgm |
| 232 | variables.texi cyd | 232 | variables.texi cyd |
| 233 | windows.texi | 233 | windows.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 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-03-08 Chong Yidong <cyd@gnu.org> | 8 | 2012-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 |
| 2346 | the user can select a menu item by releasing the button. | 2346 | the 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 |
| 2349 | arrange 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 |
| 2350 | then create a binding for each of those maps in the main keymap of the | 2350 | keymap specifies a @dfn{submenu}. There will be a menu item, labeled |
| 2351 | menu. Give each of these bindings an item string that starts with | 2351 | by 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. | 2352 | automatically pops up the specified submenu. As a special exception, |
| 2353 | See the file @file{lisp/mouse.el} for an example of this. Any ordinary | 2353 | if the menu keymap contains a single nested keymap and no other menu |
| 2354 | bindings with @samp{@@}-less item strings are grouped into one pane, | 2354 | items, the menu shows the contents of the nested keymap directly, not |
| 2355 | which appears along with the other panes explicitly created for the | 2355 | as a submenu. |
| 2356 | submaps. | 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. | 2358 | are not supported. Each nested keymap is shown as a menu item, but |
| 2359 | Every nested keymap becomes a submenu, whether the item string starts | 2359 | clicking on it does not automatically pop up the submenu. If you wish |
| 2360 | with @samp{@@} or not. In a toolkit version of Emacs, the only thing | 2360 | to imitate the effect of submenus, you can do that by giving a nested |
| 2361 | special about @samp{@@} at the beginning of an item string is that the | 2361 | keymap an item string which starts with @samp{@@}. This causes Emacs |
| 2362 | @samp{@@} doesn't appear in the menu item. | 2362 | to display the nested keymap using a separate @dfn{menu pane}; the |
| 2363 | 2363 | rest of the item string after the @samp{@@} is the pane label. If | |
| 2364 | Multiple keymaps that define the same menu prefix key produce | 2364 | Emacs is compiled without X toolkit support, menu panes are not used; |
| 2365 | separate panes or separate submenus. | 2365 | in that case, a @samp{@@} at the beginning of an item string is |
| 2366 | omitted 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). | |||
| 412 | Corresponds to the Unicode @code{Decomposition_Type} and | 412 | Corresponds 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 |
| 414 | first element may be a symbol representing a compatibility formatting | 414 | first element may be a symbol representing a compatibility formatting |
| 415 | tag, such as @code{small}@footnote{ | 415 | tag, such as @code{small}@footnote{The Unicode specification writes |
| 416 | Note that the Unicode spec writes these tag names inside | 416 | these tag names inside @samp{<..>} brackets, but the tag names in |
| 417 | @samp{<..>} brackets. The tag names in Emacs do not include the | 417 | Emacs do not include the brackets; e.g.@: Unicode specifies |
| 418 | brackets; e.g., Unicode specifies @samp{<small>} where Emacs uses | 418 | @samp{<small>} where Emacs uses @samp{small}. }; the other elements |
| 419 | @samp{small}. | 419 | are characters that give the compatibility decomposition sequence of |
| 420 | }; the other elements are characters that give the compatibility | 420 | this character. For unassigned codepoints, the value is the character |
| 421 | decomposition sequence of this character. For unassigned codepoints, | 421 | itself. |
| 422 | the value is the character itself. | ||
| 423 | 422 | ||
| 424 | @item decimal-digit-value | 423 | @item decimal-digit-value |
| 425 | Corresponds to the Unicode @code{Numeric_Value} property for | 424 | Corresponds to the Unicode @code{Numeric_Value} property for |