aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong2012-01-28 21:47:42 +0800
committerChong Yidong2012-01-28 21:47:42 +0800
commit8c6e1920922a40d25b440478af6ea5c52ebfdf06 (patch)
tree1051d7a8be9c9bdaa025c329f53ed38af63b560b /doc
parent4372494f8f897d129134159e03d69e7b59c27679 (diff)
downloademacs-8c6e1920922a40d25b440478af6ea5c52ebfdf06.tar.gz
emacs-8c6e1920922a40d25b440478af6ea5c52ebfdf06.zip
* display.texi (Fringe Indicators): Clarify fringe-indicator-alist doc.
Fixes: debbugs:8568
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog3
-rw-r--r--doc/lispref/display.texi86
2 files changed, 48 insertions, 41 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 33c41b0b03d..81cee99308b 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,8 @@
12012-01-28 Chong Yidong <cyd@gnu.org> 12012-01-28 Chong Yidong <cyd@gnu.org>
2 2
3 * display.texi (Fringe Indicators): Clarify fringe-indicator-alist
4 doc (Bug#8568).
5
3 * frames.texi (Input Focus): Add NORECORD arg to 6 * frames.texi (Input Focus): Add NORECORD arg to
4 select-frame-set-input-focus. Clarify its role in select-frame. 7 select-frame-set-input-focus. Clarify its role in select-frame.
5 8
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 381eaf66c12..a351dbfb407 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3367,54 +3367,48 @@ fringe, and no arrow bitmaps, use @code{((top . left) (bottom . left))}.
3367 3367
3368@defvar fringe-indicator-alist 3368@defvar fringe-indicator-alist
3369This buffer-local variable specifies the mapping from logical fringe 3369This buffer-local variable specifies the mapping from logical fringe
3370indicators to the actual bitmaps displayed in the window fringes. 3370indicators to the actual bitmaps displayed in the window fringes. The
3371value is an alist of elements @code{(@var{indicator}
3372. @var{bitmaps})}, where @var{indicator} specifies a logical indicator
3373type and @var{bitmaps} specifies the fringe bitmaps to use for that
3374indicator.
3371 3375
3372These symbols identify the logical fringe indicators: 3376 Each @var{indicator} should be one of the following symbols:
3373 3377
3374@table @asis 3378@table @asis
3375@item Truncation and continuation line indicators: 3379@item @code{truncation}, @code{continuation}.
3376@code{truncation}, @code{continuation}. 3380Used for truncation and continuation lines.
3377 3381
3378@item Buffer position indicators: 3382@item @code{up}, @code{down}, @code{top}, @code{bottom}, @code{top-bottom}
3379@code{up}, @code{down}, 3383Used to indicate buffer boundaries when
3380@code{top}, @code{bottom}, 3384@code{indicate-buffer-boundaries} is non-@code{nil}: @code{up} and
3381@code{top-bottom}. 3385@code{down} indicate a buffer boundary lying above or below the window
3382 3386edge; @code{top} and @code{bottom} indicate the topmost and bottommost
3383@item Empty line indicator: 3387buffer text line; and @code{top-bottom} indicates where there is just
3384@code{empty-line}. 3388one line of text in the buffer.
3385 3389
3386@item Overlay arrow indicator: 3390@item @code{empty-line}
3387@code{overlay-arrow}. 3391Used to indicate empty lines when @code{indicate-empty-lines} is
3388 3392non-@code{nil}.
3389@item Unknown bitmap indicator: 3393
3390@code{unknown}. 3394@item @code{overlay-arrow}
3395Used for overlay arrows (@pxref{Overlay Arrow}).
3396@c Is this used anywhere?
3397@c @item Unknown bitmap indicator:
3398@c @code{unknown}.
3391@end table 3399@end table
3392 3400
3393 The value is an alist where each element @code{(@var{indicator} . @var{bitmaps})} 3401 Each @var{bitmaps} value may be a list of symbols @code{(@var{left}
3394specifies the fringe bitmaps used to display a specific logical 3402@var{right} [@var{left1} @var{right1}])}. The @var{left} and
3395fringe indicator. 3403@var{right} symbols specify the bitmaps shown in the left and/or right
3396 3404fringe, for the specific indicator. @var{left1} and @var{right1} are
3397Here, @var{indicator} specifies the logical indicator type, and 3405specific to the @code{bottom} and @code{top-bottom} indicators, and
3398@var{bitmaps} is list of symbols @code{(@var{left} @var{right} 3406are used to indicate that the last text line has no final newline.
3399[@var{left1} @var{right1}])} which specifies the actual bitmap shown 3407Alternatively, @var{bitmaps} may be a single symbol which is used in
3400in the left or right fringe for the logical indicator. 3408both left and right fringes.
3401
3402The @var{left} and @var{right} symbols specify the bitmaps shown in
3403the left and/or right fringe for the specific indicator. The
3404@var{left1} or @var{right1} bitmaps are used only for the `bottom' and
3405`top-bottom indicators when the last (only) line in has no final
3406newline. Alternatively, @var{bitmaps} may be a single symbol which is
3407used in both left and right fringes.
3408
3409When @code{fringe-indicator-alist} has a buffer-local value, and there
3410is no bitmap defined for a logical indicator, or the bitmap is
3411@code{t}, the corresponding value from the default value of
3412@code{fringe-indicator-alist} is used.
3413 3409
3414To completely hide a specific indicator, set the bitmap to @code{nil}. 3410 The standard symbols for fringe bitmaps are:
3415@end defvar
3416 3411
3417Standard fringe bitmaps for indicators:
3418@example 3412@example
3419left-arrow right-arrow up-arrow down-arrow 3413left-arrow right-arrow up-arrow down-arrow
3420left-curly-arrow right-curly-arrow 3414left-curly-arrow right-curly-arrow
@@ -3428,6 +3422,16 @@ vertical-bar horizontal-bar
3428empty-line question-mark 3422empty-line question-mark
3429@end example 3423@end example
3430 3424
3425@noindent
3426In addition, @code{nil} represents the empty bitmap (i.e.@: an
3427indicator that is not shown).
3428
3429 When @code{fringe-indicator-alist} has a buffer-local value, and
3430there is no bitmap defined for a logical indicator, or the bitmap is
3431@code{t}, the corresponding value from the default value of
3432@code{fringe-indicator-alist} is used.
3433@end defvar
3434
3431@node Fringe Cursors 3435@node Fringe Cursors
3432@subsection Fringe Cursors 3436@subsection Fringe Cursors
3433@cindex fringe cursors 3437@cindex fringe cursors