diff options
| author | Chong Yidong | 2011-10-23 22:57:53 +0800 |
|---|---|---|
| committer | Chong Yidong | 2011-10-23 22:57:53 +0800 |
| commit | da97a9e66a0f2cd705d26cc2c5bb21f810e892f1 (patch) | |
| tree | 82a887a277b680edb7d7ac5a20f95a315e17719c /doc | |
| parent | 86c606818495d9411fd5d6b1477f9a097eb18020 (diff) | |
| download | emacs-da97a9e66a0f2cd705d26cc2c5bb21f810e892f1.tar.gz emacs-da97a9e66a0f2cd705d26cc2c5bb21f810e892f1.zip | |
Document scroll bar changes in Emacs manual.
* doc/emacs/buffers.texi (Misc Buffer): Don't mention vc-toggle-read-only.
* doc/emacs/frames.texi (Scroll Bars): GTK uses right scroll bars now.
(Tool Bars): Copyedits.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/emacs/buffers.texi | 5 | ||||
| -rw-r--r-- | doc/emacs/frames.texi | 121 |
3 files changed, 58 insertions, 71 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 726f565e83e..28c61e23b8c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-10-23 Chong Yidong <cyd@gnu.org> | 1 | 2011-10-23 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * frames.texi (Scroll Bars): GTK uses right scroll bars now. | ||
| 4 | (Tool Bars): Copyedits. | ||
| 5 | |||
| 3 | * buffers.texi (Misc Buffer): Don't mention vc-toggle-read-only. | 6 | * buffers.texi (Misc Buffer): Don't mention vc-toggle-read-only. |
| 4 | 7 | ||
| 5 | 2011-10-22 Chong Yidong <cyd@gnu.org> | 8 | 2011-10-22 Chong Yidong <cyd@gnu.org> |
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index aed5473ac15..302693aecef 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi | |||
| @@ -229,9 +229,8 @@ have special commands to operate on the text; also by visiting a file | |||
| 229 | whose access control says you cannot write it. | 229 | whose access control says you cannot write it. |
| 230 | 230 | ||
| 231 | @findex toggle-read-only | 231 | @findex toggle-read-only |
| 232 | If you wish to make changes in a read-only buffer, use the command | 232 | The command @kbd{C-x C-q} (@code{toggle-read-only}) makes a read-only |
| 233 | @kbd{C-x C-q} (@code{toggle-read-only}). It makes a read-only buffer | 233 | buffer writable, and makes a writable buffer read-only. This works by |
| 234 | writable, and makes a writable buffer read-only. This works by | ||
| 235 | setting the variable @code{buffer-read-only}, which has a local value | 234 | setting the variable @code{buffer-read-only}, which has a local value |
| 236 | in each buffer and makes the buffer read-only if its value is | 235 | in each buffer and makes the buffer read-only if its value is |
| 237 | non-@code{nil}. | 236 | non-@code{nil}. |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 4c239d364f0..49222451cce 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -956,55 +956,43 @@ Parameters,,, elisp, The Emacs Lisp Reference Manual}. | |||
| 956 | @cindex Scroll Bar mode | 956 | @cindex Scroll Bar mode |
| 957 | @cindex mode, Scroll Bar | 957 | @cindex mode, Scroll Bar |
| 958 | 958 | ||
| 959 | On graphical displays, Emacs normally makes a @dfn{scroll bar} at | 959 | On graphical displays, there is a @dfn{scroll bar} on the side of |
| 960 | the left of each Emacs window, running the height of the | 960 | each Emacs window. Clicking @kbd{Mouse-1} on the scroll bar's up and |
| 961 | window.@footnote{Placing it at the left is usually more useful with | 961 | down buttons scrolls the window by one line at a time. Clicking |
| 962 | overlapping frames with text starting at the left margin.} | 962 | @kbd{Mouse-1} above or below the scroll bar's inner box scrolls the |
| 963 | 963 | window by nearly the entire height of the window, like @kbd{M-v} and | |
| 964 | When Emacs is compiled with GTK+ support on the X Window System, or | 964 | @kbd{C-v} respectively (@pxref{Moving Point}). Dragging the inner box |
| 965 | in operating systems such as Microsoft Windows or Mac OS, you can use | 965 | scrolls continuously. |
| 966 | the scroll bar as you do in other graphical applications. If you | 966 | |
| 967 | click @kbd{Mouse-1} on the scroll bar's up and down buttons, that | 967 | If Emacs is compiled on the X Window System without X toolkit |
| 968 | scrolls the window by one line at a time. Clicking @kbd{Mouse-1} | 968 | support, the scroll bar behaves differently. Clicking @kbd{Mouse-1} |
| 969 | above or below the scroll bar's inner box scrolls the window by nearly | 969 | anywhere on the scroll bar scrolls forward like @kbd{C-v}, while |
| 970 | the entire height of the window, like @kbd{M-v} and @kbd{C-v} | 970 | @kbd{Mouse-3} scrolls backward like @kbd{M-v}. Clicking @kbd{Mouse-2} |
| 971 | respectively (@pxref{Moving Point}). Dragging the inner box with | 971 | in the scroll bar lets you drag the inner box up and down. |
| 972 | @kbd{Mouse-1} scrolls the window continuously. | ||
| 973 | |||
| 974 | If Emacs is compiled without GTK+ support on the X Window System, | ||
| 975 | the scroll bar behaves differently. The scroll bar's inner box is | ||
| 976 | drawn to represent the portion of the buffer currently displayed, with | ||
| 977 | the entire height of the scroll bar representing the entire length of | ||
| 978 | the buffer. @kbd{Mouse-1} anywhere on the scroll bar scrolls forward | ||
| 979 | like @kbd{C-v}, and @kbd{Mouse-3} scrolls backward like @kbd{M-v}. | ||
| 980 | Clicking @kbd{Mouse-2} in the scroll bar lets you move or drag the | ||
| 981 | inner box up and down. | ||
| 982 | |||
| 983 | You can also click @kbd{C-Mouse-2} in the scroll bar to split a | ||
| 984 | window vertically. The split occurs on the line where you click. | ||
| 985 | 972 | ||
| 986 | @findex scroll-bar-mode | 973 | @findex scroll-bar-mode |
| 987 | @vindex scroll-bar-mode | ||
| 988 | You can toggle the use of the scroll bar with the command @kbd{M-x | ||
| 989 | scroll-bar-mode}. With a prefix argument, this command turns use of | ||
| 990 | scroll bars on if and only if the argument is positive. This command | ||
| 991 | applies to all frames, including frames yet to be created. Customize | ||
| 992 | the variable @code{scroll-bar-mode} to control the use of scroll bars | ||
| 993 | at startup. You can use it to specify that they are placed at the | ||
| 994 | right of windows if you prefer that. You have to set this variable | ||
| 995 | through the @samp{Customize} interface (@pxref{Easy Customization}), | ||
| 996 | or it will not work properly. You can also use the X resource | ||
| 997 | @samp{verticalScrollBars} to control the initial setting of Scroll Bar | ||
| 998 | mode. @xref{Resources}. | ||
| 999 | |||
| 1000 | @findex toggle-scroll-bar | 974 | @findex toggle-scroll-bar |
| 1001 | To enable or disable scroll bars for just the selected frame, use the | 975 | To toggle the use of scroll bars, type @kbd{M-x scroll-bar-mode}. |
| 976 | This command applies to all frames, including frames yet to be | ||
| 977 | created. To toggle scroll bars for just the selected frame, use the | ||
| 1002 | command @kbd{M-x toggle-scroll-bar}. | 978 | command @kbd{M-x toggle-scroll-bar}. |
| 1003 | 979 | ||
| 980 | @vindex scroll-bar-mode | ||
| 981 | To control the use of scroll bars at startup, customize the variable | ||
| 982 | @code{scroll-bar-mode}. Its value should be either @code{right} (put | ||
| 983 | scroll bars on the right side of windows), @code{left} (put them on | ||
| 984 | the left), or @code{nil} (disable scroll bars). By default, Emacs | ||
| 985 | puts scroll bars on the right if it was compiled with GTK+ support on | ||
| 986 | the X Window System, and on MS-Windows or Mac OS; Emacs puts scroll | ||
| 987 | bars on the left if compiled on the X Window system without GTK+ | ||
| 988 | support (following the old convention for X applications). | ||
| 989 | |||
| 1004 | @vindex scroll-bar-width | 990 | @vindex scroll-bar-width |
| 1005 | @cindex width of the scroll bar | 991 | @cindex width of the scroll bar |
| 1006 | You can control the scroll bar width by changing the value of the | 992 | You can also use the X resource @samp{verticalScrollBars} to enable |
| 1007 | @code{scroll-bar-width} frame parameter. | 993 | or disable the scroll bars (@pxref{Resources}). To control the scroll |
| 994 | bar width, change the @code{scroll-bar-width} frame parameter | ||
| 995 | (@pxref{Frame Parameters,,, elisp, The Emacs Lisp Reference Manual}). | ||
| 1008 | 996 | ||
| 1009 | @node Wheeled Mice | 997 | @node Wheeled Mice |
| 1010 | @section Scrolling With ``Wheeled'' Mice | 998 | @section Scrolling With ``Wheeled'' Mice |
| @@ -1082,36 +1070,33 @@ menus' visual appearance. | |||
| 1082 | @cindex mode, Tool Bar | 1070 | @cindex mode, Tool Bar |
| 1083 | @cindex icons, toolbar | 1071 | @cindex icons, toolbar |
| 1084 | 1072 | ||
| 1085 | The @dfn{tool bar} is a line (or lines) of icons at the top of the | 1073 | On graphical displays, Emacs puts a @dfn{tool bar} at the top of |
| 1086 | Emacs window, just below the menu bar. You can click on these icons | 1074 | each frame, just below the menu bar. This is a row of icons which you |
| 1087 | with the mouse to do various jobs. | 1075 | can click on with the mouse to invoke various commands. |
| 1088 | |||
| 1089 | The global tool bar contains general commands. Some major modes | ||
| 1090 | define their own tool bars to replace it. A few ``special'' modes | ||
| 1091 | that are not designed for ordinary editing remove some items from the | ||
| 1092 | global tool bar. | ||
| 1093 | 1076 | ||
| 1094 | Tool bars work only on a graphical display. The tool bar uses colored | 1077 | The global (default) tool bar contains general commands. Some major |
| 1095 | XPM icons if Emacs was built with XPM support. Otherwise, the tool | 1078 | modes define their own tool bars; whenever a buffer with such a major |
| 1096 | bar uses monochrome icons (PBM or XBM format). | 1079 | mode is current, the mode's tool bar replaces the global tool bar. |
| 1097 | 1080 | ||
| 1098 | @findex tool-bar-mode | 1081 | @findex tool-bar-mode |
| 1099 | @vindex tool-bar-mode | 1082 | @vindex tool-bar-mode |
| 1100 | You can turn display of tool bars on or off with @kbd{M-x | 1083 | To toggle the use of tool bars, type @kbd{M-x tool-bar-mode}. This |
| 1101 | tool-bar-mode} or by customizing the option @code{tool-bar-mode}. | 1084 | command applies to all frames, including frames yet to be created. To |
| 1085 | control the use of tool bars at startup, customize the variable | ||
| 1086 | @code{tool-bar-mode}. | ||
| 1102 | 1087 | ||
| 1103 | @vindex tool-bar-style | 1088 | @vindex tool-bar-style |
| 1104 | @cindex Tool Bar style | 1089 | @cindex Tool Bar style |
| 1105 | When Emacs is compiled with GTK+ support, tool bars can have text and images. | 1090 | When Emacs is compiled with GTK+ support, each tool bar item can |
| 1106 | Customize @code{tool-bar-style} to select style. The default style is | 1091 | consist of an image, or a text label, or both. By default, Emacs |
| 1107 | the same as for the desktop in the Gnome case. If no default is found, | 1092 | follows the Gnome desktop's tool bar style setting; if none is |
| 1108 | the tool bar uses just images. | 1093 | defined, it displays tool bar items as just images. To impose a |
| 1094 | specific tool bar style, customize the variable @code{tool-bar-style}. | ||
| 1109 | 1095 | ||
| 1110 | @cindex Tool Bar position | 1096 | @cindex Tool Bar position |
| 1111 | You can also control the placement of the tool bar for the GTK+ tool bar | 1097 | You can also control the placement of the tool bar for the GTK+ tool |
| 1112 | with the frame parameter @code{tool-bar-position}. | 1098 | bar with the frame parameter @code{tool-bar-position}. @xref{Frame |
| 1113 | For a detailed description of frame parameters and customization, | 1099 | Parameters,,, elisp, The Emacs Lisp Reference Manual}. |
| 1114 | see @ref{Frame Parameters,,, elisp, The Emacs Lisp Reference Manual}. | ||
| 1115 | 1100 | ||
| 1116 | @node Dialog Boxes | 1101 | @node Dialog Boxes |
| 1117 | @section Using Dialog Boxes | 1102 | @section Using Dialog Boxes |
| @@ -1186,11 +1171,11 @@ options for displaying tooltips, use @kbd{M-x customize-group | |||
| 1186 | customizing the windows that display tooltips. | 1171 | customizing the windows that display tooltips. |
| 1187 | 1172 | ||
| 1188 | @vindex x-gtk-use-system-tooltips | 1173 | @vindex x-gtk-use-system-tooltips |
| 1189 | If Emacs is built with GTK support, it displays tooltips via GTK, | 1174 | If Emacs is built with GTK+ support, it displays tooltips via GTK+, |
| 1190 | using the default appearance of GTK tooltips. To disable this, change | 1175 | using the default appearance of GTK+ tooltips. To disable this, |
| 1191 | the variable @code{x-gtk-use-system-tooltips} to @code{nil}. If you | 1176 | change the variable @code{x-gtk-use-system-tooltips} to @code{nil}. |
| 1192 | do this, or if Emacs is built without GTK support, the @code{tooltip} | 1177 | If you do this, or if Emacs is built without GTK+ support, the |
| 1193 | face specifies most attributes of the tooltip text. | 1178 | @code{tooltip} face specifies most attributes of the tooltip text. |
| 1194 | 1179 | ||
| 1195 | @node Mouse Avoidance | 1180 | @node Mouse Avoidance |
| 1196 | @section Mouse Avoidance | 1181 | @section Mouse Avoidance |