diff options
| author | Eli Zaretskii | 2013-10-02 20:27:52 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-10-02 20:27:52 +0300 |
| commit | 4b65d539569ff6a13be00e0d75db12b75c8a5266 (patch) | |
| tree | 2cffaa36b5793f3a258d1d0a58e420fd210db492 | |
| parent | 6509f7727e1077ab60e24c3f077ff06c3cadb2d5 (diff) | |
| download | emacs-4b65d539569ff6a13be00e0d75db12b75c8a5266.tar.gz emacs-4b65d539569ff6a13be00e0d75db12b75c8a5266.zip | |
Documentation updates.
| -rw-r--r-- | doc/emacs/ChangeLog | 10 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 11 | ||||
| -rw-r--r-- | doc/emacs/files.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/frames.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/screen.texi | 38 |
5 files changed, 47 insertions, 18 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index f356d35f1c5..abe173d31cc 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2013-10-02 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * screen.texi (Menu Bar): Adapt to TTY menus. | ||
| 4 | |||
| 5 | * frames.texi (Frames): Mention menu support on text terminals. | ||
| 6 | |||
| 7 | * files.texi (Visiting): Mention the "File" menu-bar menu. | ||
| 8 | |||
| 9 | * display.texi (Standard Faces): Mention TTY faces for menus. | ||
| 10 | |||
| 1 | 2013-09-26 Xue Fuqiao <xfq.free@gmail.com> | 11 | 2013-09-26 Xue Fuqiao <xfq.free@gmail.com> |
| 2 | 12 | ||
| 3 | * dired.texi (Flagging Many Files): Use @emph instead of @strong. | 13 | * dired.texi (Flagging Many Files): Use @emph instead of @strong. |
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index aa9977a52e5..9327e7c8076 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -710,6 +710,17 @@ This face determines the color of tool bar icons. @xref{Tool Bars}. | |||
| 710 | @cindex customization of @code{menu} face | 710 | @cindex customization of @code{menu} face |
| 711 | This face determines the colors and font of Emacs's menus. @xref{Menu | 711 | This face determines the colors and font of Emacs's menus. @xref{Menu |
| 712 | Bars}. | 712 | Bars}. |
| 713 | @item tty-menu-enabled-face | ||
| 714 | @cindex faces for text-mode menus | ||
| 715 | @cindex TTY menu faces | ||
| 716 | This face is used to display enabled menu items on text-mode | ||
| 717 | terminals. | ||
| 718 | @item tty-menu-disabled-face | ||
| 719 | This face is used to display disabled menu items on text-mode | ||
| 720 | terminals. | ||
| 721 | @item tty-menu-selected-face | ||
| 722 | This face is used to display on text-mode terminals the menu item that | ||
| 723 | would be selected if you click a mouse or press @key{RET}. | ||
| 713 | @end table | 724 | @end table |
| 714 | 725 | ||
| 715 | @node Text Scale | 726 | @node Text Scale |
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index bff0926f347..1ebe4caa290 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -286,6 +286,10 @@ exception, dropping a file into a window displaying a Dired buffer | |||
| 286 | moves or copies the file into the displayed directory. For details, | 286 | moves or copies the file into the displayed directory. For details, |
| 287 | see @ref{Drag and Drop}, and @ref{Misc Dired Features}. | 287 | see @ref{Drag and Drop}, and @ref{Misc Dired Features}. |
| 288 | 288 | ||
| 289 | On text-mode terminals and on graphical displays when Emacs was | ||
| 290 | built without a GUI toolkit, you can visit files via the menu-bar | ||
| 291 | ``File'' menu, which has a ``Visit New File'' item. | ||
| 292 | |||
| 289 | Each time you visit a file, Emacs automatically scans its contents | 293 | Each time you visit a file, Emacs automatically scans its contents |
| 290 | to detect what character encoding and end-of-line convention it uses, | 294 | to detect what character encoding and end-of-line convention it uses, |
| 291 | and converts these to Emacs's internal encoding and end-of-line | 295 | and converts these to Emacs's internal encoding and end-of-line |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 5365bdc6e03..45f137d3b78 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -39,7 +39,7 @@ doing so on GNU and Unix systems; and | |||
| 39 | @ifnottex | 39 | @ifnottex |
| 40 | @pxref{MS-DOS Mouse}, | 40 | @pxref{MS-DOS Mouse}, |
| 41 | @end ifnottex | 41 | @end ifnottex |
| 42 | for doing so on MS-DOS). | 42 | for doing so on MS-DOS). Menus are supported on all text terminals. |
| 43 | 43 | ||
| 44 | @menu | 44 | @menu |
| 45 | * Mouse Commands:: Moving, cutting, and pasting, with the mouse. | 45 | * Mouse Commands:: Moving, cutting, and pasting, with the mouse. |
diff --git a/doc/emacs/screen.texi b/doc/emacs/screen.texi index 39077921a88..3306680f525 100644 --- a/doc/emacs/screen.texi +++ b/doc/emacs/screen.texi | |||
| @@ -287,13 +287,12 @@ here, as you can more easily see them yourself. | |||
| 287 | 287 | ||
| 288 | @kindex M-` | 288 | @kindex M-` |
| 289 | @kindex F10 | 289 | @kindex F10 |
| 290 | @findex tmm-menubar | ||
| 291 | @findex menu-bar-open | 290 | @findex menu-bar-open |
| 292 | On a graphical display, you can use the mouse to choose a command | 291 | On a display that support a mouse, you can use the mouse to choose a |
| 293 | from the menu bar. An arrow on the right edge of a menu item means it | 292 | command from the menu bar. An arrow on the right edge of a menu item |
| 294 | leads to a subsidiary menu, or @dfn{submenu}. A @samp{...} at the end | 293 | means it leads to a subsidiary menu, or @dfn{submenu}. A @samp{...} |
| 295 | of a menu item means that the command will prompt you for further | 294 | at the end of a menu item means that the command will prompt you for |
| 296 | input before it actually does anything. | 295 | further input before it actually does anything. |
| 297 | 296 | ||
| 298 | Some of the commands in the menu bar have ordinary key bindings as | 297 | Some of the commands in the menu bar have ordinary key bindings as |
| 299 | well; if so, a key binding is shown in parentheses after the item | 298 | well; if so, a key binding is shown in parentheses after the item |
| @@ -305,14 +304,19 @@ the usual way (@pxref{Key Help}). | |||
| 305 | item by pressing @key{F10} (to run the command @code{menu-bar-open}). | 304 | item by pressing @key{F10} (to run the command @code{menu-bar-open}). |
| 306 | You can then navigate the menus with the arrow keys. To activate a | 305 | You can then navigate the menus with the arrow keys. To activate a |
| 307 | selected menu item, press @key{RET}; to cancel menu navigation, press | 306 | selected menu item, press @key{RET}; to cancel menu navigation, press |
| 308 | @key{ESC}. | 307 | @kbd{C-g} or @kbd{ESC ESC ESC}. |
| 309 | 308 | ||
| 310 | On a text terminal, you can use the menu bar by typing @kbd{M-`} or | 309 | @findex tmm-menubar |
| 311 | @key{F10} (these run the command @code{tmm-menubar}). This lets you | 310 | @vindex tty-menu-open-use-tmm |
| 312 | select a menu item with the keyboard. A provisional choice appears in | 311 | On a text terminal, you can optionally access the menu-bar menus in |
| 313 | the echo area. You can use the up and down arrow keys to move through | 312 | the echo area. To this end, customize the variable |
| 314 | the menu to different items, and then you can type @key{RET} to select | 313 | @code{tty-menu-open-use-tmm} to a non-@code{nil} value. Then typing |
| 315 | the item. Each menu item is also designated by a letter or digit | 314 | @kbd{M-`} or @key{F10} will run the command @code{tmm-menubar} instead |
| 316 | (usually the initial of some word in the item's name). This letter or | 315 | of dropping down the menu. This lets you select a menu item with the |
| 317 | digit is separated from the item name by @samp{==>}. You can type the | 316 | keyboard. A provisional choice appears in the echo area. You can use |
| 318 | item's letter or digit to select the item. | 317 | the up and down arrow keys to move through the menu to different |
| 318 | items, and then you can type @key{RET} to select the item. Each menu | ||
| 319 | item is also designated by a letter or digit (usually the initial of | ||
| 320 | some word in the item's name). This letter or digit is separated from | ||
| 321 | the item name by @samp{==>}. You can type the item's letter or digit | ||
| 322 | to select the item. | ||