comparison lispref/display.texi @ 72758:525ad9d19a8b

(Fringe Indicators): Update for last change in indicate-buffer-boundaries.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Sep 2006 18:26:51 +0000
parents 871eeda78fd7
children 3bc9f54f9bdb
comparison
equal deleted inserted replaced
72757:6db6c056fc46 72758:525ad9d19a8b
2814 line in the buffer---with angle icons when they appear on the screen. 2814 line in the buffer---with angle icons when they appear on the screen.
2815 In addition, Emacs can display an up-arrow in the fringe to show 2815 In addition, Emacs can display an up-arrow in the fringe to show
2816 that there is text above the screen, and a down-arrow to show 2816 that there is text above the screen, and a down-arrow to show
2817 there is text below the screen. 2817 there is text below the screen.
2818 2818
2819 There are four kinds of basic values: 2819 There are three kinds of basic values:
2820 2820
2821 @table @asis 2821 @table @asis
2822 @item @code{nil} 2822 @item @code{nil}
2823 Don't display the icons. 2823 Don't display any of these fringe icons.
2824 @item @code{left} 2824 @item @code{left}
2825 Display them in the left fringe. 2825 Display the angle icons and arrows in the left fringe.
2826 @item @code{right} 2826 @item @code{right}
2827 Display them in the right fringe. 2827 Display the angle icons and arrows in the right fringe.
2828 @item @var{anything-else} 2828 @item any non-alist
2829 Display the icon at the top of the window top in the left fringe, and other 2829 Display the angle icons in the left fringe
2830 in the right fringe. 2830 and don't display the arrows.
2831 @end table 2831 @end table
2832 2832
2833 If value is a cons @code{(@var{angles} . @var{arrows})}, @var{angles} 2833 Otherwise the value should be an alist that specifies which fringe
2834 controls the angle icons, and @var{arrows} controls the arrows. Both 2834 indicators to display and where. Each element of the alist should
2835 @var{angles} and @var{arrows} work according to the table above. 2835 have the form @code{(@var{indicator} . @var{position})}. Here,
2836 Thus, @code{(t . right)} places the top angle icon in the left 2836 @var{indicator} is one of @code{top}, @code{bottom}, @code{up},
2837 fringe, the bottom angle icon in the right fringe, and both arrows in 2837 @code{down}, and @code{t} (which covers all the icons not yet
2838 the right fringe. 2838 specified), while @var{position} is one of @code{left}, @code{right}
2839 and @code{nil}.
2840
2841 For example, @code{((top . left) (t . right))} places the top angle
2842 bitmap in left fringe, and the bottom angle bitmap as well as both
2843 arrow bitmaps in right fringe. To show the angle bitmaps in the left
2844 fringe, and no arrow bitmaps, use @code{((top . left) (bottom . left))}.
2839 @end defvar 2845 @end defvar
2840 2846
2841 @defvar default-indicate-buffer-boundaries 2847 @defvar default-indicate-buffer-boundaries
2842 The value of this variable is the default value for 2848 The value of this variable is the default value for
2843 @code{indicate-buffer-boundaries} in buffers that do not override it. 2849 @code{indicate-buffer-boundaries} in buffers that do not override it.