aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong2011-10-23 22:57:53 +0800
committerChong Yidong2011-10-23 22:57:53 +0800
commitda97a9e66a0f2cd705d26cc2c5bb21f810e892f1 (patch)
tree82a887a277b680edb7d7ac5a20f95a315e17719c /doc
parent86c606818495d9411fd5d6b1477f9a097eb18020 (diff)
downloademacs-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/ChangeLog3
-rw-r--r--doc/emacs/buffers.texi5
-rw-r--r--doc/emacs/frames.texi121
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 @@
12011-10-23 Chong Yidong <cyd@gnu.org> 12011-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
52011-10-22 Chong Yidong <cyd@gnu.org> 82011-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
229whose access control says you cannot write it. 229whose 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 233buffer writable, and makes a writable buffer read-only. This works by
234writable, and makes a writable buffer read-only. This works by
235setting the variable @code{buffer-read-only}, which has a local value 234setting the variable @code{buffer-read-only}, which has a local value
236in each buffer and makes the buffer read-only if its value is 235in each buffer and makes the buffer read-only if its value is
237non-@code{nil}. 236non-@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
960the left of each Emacs window, running the height of the 960each Emacs window. Clicking @kbd{Mouse-1} on the scroll bar's up and
961window.@footnote{Placing it at the left is usually more useful with 961down buttons scrolls the window by one line at a time. Clicking
962overlapping frames with text starting at the left margin.} 962@kbd{Mouse-1} above or below the scroll bar's inner box scrolls the
963 963window 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
965in operating systems such as Microsoft Windows or Mac OS, you can use 965scrolls continuously.
966the scroll bar as you do in other graphical applications. If you 966
967click @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
968scrolls the window by one line at a time. Clicking @kbd{Mouse-1} 968support, the scroll bar behaves differently. Clicking @kbd{Mouse-1}
969above or below the scroll bar's inner box scrolls the window by nearly 969anywhere on the scroll bar scrolls forward like @kbd{C-v}, while
970the 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}
971respectively (@pxref{Moving Point}). Dragging the inner box with 971in 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,
975the scroll bar behaves differently. The scroll bar's inner box is
976drawn to represent the portion of the buffer currently displayed, with
977the entire height of the scroll bar representing the entire length of
978the buffer. @kbd{Mouse-1} anywhere on the scroll bar scrolls forward
979like @kbd{C-v}, and @kbd{Mouse-3} scrolls backward like @kbd{M-v}.
980Clicking @kbd{Mouse-2} in the scroll bar lets you move or drag the
981inner box up and down.
982
983 You can also click @kbd{C-Mouse-2} in the scroll bar to split a
984window 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
989scroll-bar-mode}. With a prefix argument, this command turns use of
990scroll bars on if and only if the argument is positive. This command
991applies to all frames, including frames yet to be created. Customize
992the variable @code{scroll-bar-mode} to control the use of scroll bars
993at startup. You can use it to specify that they are placed at the
994right of windows if you prefer that. You have to set this variable
995through the @samp{Customize} interface (@pxref{Easy Customization}),
996or it will not work properly. You can also use the X resource
997@samp{verticalScrollBars} to control the initial setting of Scroll Bar
998mode. @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}.
976This command applies to all frames, including frames yet to be
977created. To toggle scroll bars for just the selected frame, use the
1002command @kbd{M-x toggle-scroll-bar}. 978command @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
983scroll bars on the right side of windows), @code{left} (put them on
984the left), or @code{nil} (disable scroll bars). By default, Emacs
985puts scroll bars on the right if it was compiled with GTK+ support on
986the X Window System, and on MS-Windows or Mac OS; Emacs puts scroll
987bars on the left if compiled on the X Window system without GTK+
988support (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. 993or disable the scroll bars (@pxref{Resources}). To control the scroll
994bar 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
1086Emacs window, just below the menu bar. You can click on these icons 1074each frame, just below the menu bar. This is a row of icons which you
1087with the mouse to do various jobs. 1075can click on with the mouse to invoke various commands.
1088
1089 The global tool bar contains general commands. Some major modes
1090define their own tool bars to replace it. A few ``special'' modes
1091that are not designed for ordinary editing remove some items from the
1092global 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
1095XPM icons if Emacs was built with XPM support. Otherwise, the tool 1078modes define their own tool bars; whenever a buffer with such a major
1096bar uses monochrome icons (PBM or XBM format). 1079mode 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
1101tool-bar-mode} or by customizing the option @code{tool-bar-mode}. 1084command applies to all frames, including frames yet to be created. To
1085control 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
1106Customize @code{tool-bar-style} to select style. The default style is 1091consist of an image, or a text label, or both. By default, Emacs
1107the same as for the desktop in the Gnome case. If no default is found, 1092follows the Gnome desktop's tool bar style setting; if none is
1108the tool bar uses just images. 1093defined, it displays tool bar items as just images. To impose a
1094specific 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
1112with the frame parameter @code{tool-bar-position}. 1098bar with the frame parameter @code{tool-bar-position}. @xref{Frame
1113For a detailed description of frame parameters and customization, 1099Parameters,,, elisp, The Emacs Lisp Reference Manual}.
1114see @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
1186customizing the windows that display tooltips. 1171customizing 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+,
1190using the default appearance of GTK tooltips. To disable this, change 1175using the default appearance of GTK+ tooltips. To disable this,
1191the variable @code{x-gtk-use-system-tooltips} to @code{nil}. If you 1176change the variable @code{x-gtk-use-system-tooltips} to @code{nil}.
1192do this, or if Emacs is built without GTK support, the @code{tooltip} 1177If you do this, or if Emacs is built without GTK+ support, the
1193face 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