aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/display.texi101
1 files changed, 57 insertions, 44 deletions
diff --git a/lispref/display.texi b/lispref/display.texi
index bd20ec09baa..cd836023aac 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -2817,43 +2817,6 @@ The face you use here should be derived from @code{fringe}, and should
2817specify only the foreground color. 2817specify only the foreground color.
2818@end defun 2818@end defun
2819 2819
2820@defvar indicate-buffer-boundaries
2821This buffer-local variable controls how the buffer boundaries and
2822window scrolling are indicated in the window fringes.
2823
2824Emacs can indicate the buffer boundaries---that is, the first and last
2825line in the buffer---with angle icons when they appear on the screen.
2826In addition, Emacs can display an up-arrow in the fringe to show
2827that there is text above the screen, and a down-arrow to show
2828there is text below the screen.
2829
2830There are four kinds of basic values:
2831
2832@table @asis
2833@item @code{nil}
2834Don't display the icons.
2835@item @code{left}
2836Display them in the left fringe.
2837@item @code{right}
2838Display them in the right fringe.
2839@item @var{anything-else}
2840Display the icon at the top of the window top in the left fringe, and other
2841in the right fringe.
2842@end table
2843
2844If value is a cons @code{(@var{angles} . @var{arrows})}, @var{angles}
2845controls the angle icons, and @var{arrows} controls the arrows. Both
2846@var{angles} and @var{arrows} work according to the table above.
2847Thus, @code{(t . right)} places the top angle icon in the left
2848fringe, the bottom angle icon in the right fringe, and both arrows in
2849the right fringe.
2850@end defvar
2851
2852@defvar default-indicate-buffer-boundaries
2853The value of this variable is the default value for
2854@code{indicate-buffer-boundaries} in buffers that do not override it.
2855@end defvar
2856
2857@node Scroll Bars 2820@node Scroll Bars
2858@section Scroll Bars 2821@section Scroll Bars
2859 2822
@@ -2903,6 +2866,19 @@ in a buffer that is already visible in a window, you can make the
2903window take note of the new values by calling @code{set-window-buffer} 2866window take note of the new values by calling @code{set-window-buffer}
2904specifying the same buffer that is already displayed. 2867specifying the same buffer that is already displayed.
2905 2868
2869@defvar scroll-bar-mode
2870This variable, always local in all buffers, controls whether and where
2871to put scroll bars in windows displaying the buffer. The possible values
2872are @code{nil} for no scroll bar, @code{left} to put a scroll bar on
2873the left, and @code{right} to put a scroll bar on the right.
2874@end defvar
2875
2876@defvar scroll-bar-width
2877This variable, always local in all buffers, specifies the width of the
2878buffer's scroll bars, measured in pixels. A value of @code{nil} means
2879to use the value specified by the frame.
2880@end defvar
2881
2906@node Pointer Shape 2882@node Pointer Shape
2907@section Pointer Shape 2883@section Pointer Shape
2908 2884
@@ -4386,6 +4362,14 @@ The value of this variable is the default value for @code{ctl-arrow} in
4386buffers that do not override it. @xref{Default Value}. 4362buffers that do not override it. @xref{Default Value}.
4387@end defvar 4363@end defvar
4388 4364
4365@defopt tab-width
4366The value of this variable is the spacing between tab stops used for
4367displaying tab characters in Emacs buffers. The value is in units of
4368columns, and the default is 8. Note that this feature is completely
4369independent of the user-settable tab stops used by the command
4370@code{tab-to-tab-stop}. @xref{Indent Tabs}.
4371@end defopt
4372
4389@defopt indicate-empty-lines 4373@defopt indicate-empty-lines
4390@tindex indicate-empty-lines 4374@tindex indicate-empty-lines
4391@cindex fringes, and empty line indication 4375@cindex fringes, and empty line indication
@@ -4394,13 +4378,42 @@ fringe of each empty line at the end of the buffer, on terminals that
4394support it (window systems). @xref{Fringes}. 4378support it (window systems). @xref{Fringes}.
4395@end defopt 4379@end defopt
4396 4380
4397@defopt tab-width 4381@defvar indicate-buffer-boundaries
4398The value of this variable is the spacing between tab stops used for 4382This buffer-local variable controls how the buffer boundaries and
4399displaying tab characters in Emacs buffers. The value is in units of 4383window scrolling are indicated in the window fringes.
4400columns, and the default is 8. Note that this feature is completely 4384
4401independent of the user-settable tab stops used by the command 4385Emacs can indicate the buffer boundaries---that is, the first and last
4402@code{tab-to-tab-stop}. @xref{Indent Tabs}. 4386line in the buffer---with angle icons when they appear on the screen.
4403@end defopt 4387In addition, Emacs can display an up-arrow in the fringe to show
4388that there is text above the screen, and a down-arrow to show
4389there is text below the screen.
4390
4391There are four kinds of basic values:
4392
4393@table @asis
4394@item @code{nil}
4395Don't display the icons.
4396@item @code{left}
4397Display them in the left fringe.
4398@item @code{right}
4399Display them in the right fringe.
4400@item @var{anything-else}
4401Display the icon at the top of the window top in the left fringe, and other
4402in the right fringe.
4403@end table
4404
4405If value is a cons @code{(@var{angles} . @var{arrows})}, @var{angles}
4406controls the angle icons, and @var{arrows} controls the arrows. Both
4407@var{angles} and @var{arrows} work according to the table above.
4408Thus, @code{(t . right)} places the top angle icon in the left
4409fringe, the bottom angle icon in the right fringe, and both arrows in
4410the right fringe.
4411@end defvar
4412
4413@defvar default-indicate-buffer-boundaries
4414The value of this variable is the default value for
4415@code{indicate-buffer-boundaries} in buffers that do not override it.
4416@end defvar
4404 4417
4405@node Display Tables 4418@node Display Tables
4406@section Display Tables 4419@section Display Tables