diff options
| author | Chong Yidong | 2012-01-28 21:47:42 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-01-28 21:47:42 +0800 |
| commit | 8c6e1920922a40d25b440478af6ea5c52ebfdf06 (patch) | |
| tree | 1051d7a8be9c9bdaa025c329f53ed38af63b560b /doc | |
| parent | 4372494f8f897d129134159e03d69e7b59c27679 (diff) | |
| download | emacs-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/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 86 |
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 @@ | |||
| 1 | 2012-01-28 Chong Yidong <cyd@gnu.org> | 1 | 2012-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 |
| 3369 | This buffer-local variable specifies the mapping from logical fringe | 3369 | This buffer-local variable specifies the mapping from logical fringe |
| 3370 | indicators to the actual bitmaps displayed in the window fringes. | 3370 | indicators to the actual bitmaps displayed in the window fringes. The |
| 3371 | value is an alist of elements @code{(@var{indicator} | ||
| 3372 | . @var{bitmaps})}, where @var{indicator} specifies a logical indicator | ||
| 3373 | type and @var{bitmaps} specifies the fringe bitmaps to use for that | ||
| 3374 | indicator. | ||
| 3371 | 3375 | ||
| 3372 | These 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}. | 3380 | Used 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}, | 3383 | Used 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 | 3386 | edge; @code{top} and @code{bottom} indicate the topmost and bottommost | |
| 3383 | @item Empty line indicator: | 3387 | buffer text line; and @code{top-bottom} indicates where there is just |
| 3384 | @code{empty-line}. | 3388 | one line of text in the buffer. |
| 3385 | 3389 | ||
| 3386 | @item Overlay arrow indicator: | 3390 | @item @code{empty-line} |
| 3387 | @code{overlay-arrow}. | 3391 | Used to indicate empty lines when @code{indicate-empty-lines} is |
| 3388 | 3392 | non-@code{nil}. | |
| 3389 | @item Unknown bitmap indicator: | 3393 | |
| 3390 | @code{unknown}. | 3394 | @item @code{overlay-arrow} |
| 3395 | Used 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} |
| 3394 | specifies the fringe bitmaps used to display a specific logical | 3402 | @var{right} [@var{left1} @var{right1}])}. The @var{left} and |
| 3395 | fringe indicator. | 3403 | @var{right} symbols specify the bitmaps shown in the left and/or right |
| 3396 | 3404 | fringe, for the specific indicator. @var{left1} and @var{right1} are | |
| 3397 | Here, @var{indicator} specifies the logical indicator type, and | 3405 | specific to the @code{bottom} and @code{top-bottom} indicators, and |
| 3398 | @var{bitmaps} is list of symbols @code{(@var{left} @var{right} | 3406 | are used to indicate that the last text line has no final newline. |
| 3399 | [@var{left1} @var{right1}])} which specifies the actual bitmap shown | 3407 | Alternatively, @var{bitmaps} may be a single symbol which is used in |
| 3400 | in the left or right fringe for the logical indicator. | 3408 | both left and right fringes. |
| 3401 | |||
| 3402 | The @var{left} and @var{right} symbols specify the bitmaps shown in | ||
| 3403 | the 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 | ||
| 3406 | newline. Alternatively, @var{bitmaps} may be a single symbol which is | ||
| 3407 | used in both left and right fringes. | ||
| 3408 | |||
| 3409 | When @code{fringe-indicator-alist} has a buffer-local value, and there | ||
| 3410 | is 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 | ||
| 3414 | To completely hide a specific indicator, set the bitmap to @code{nil}. | 3410 | The standard symbols for fringe bitmaps are: |
| 3415 | @end defvar | ||
| 3416 | 3411 | ||
| 3417 | Standard fringe bitmaps for indicators: | ||
| 3418 | @example | 3412 | @example |
| 3419 | left-arrow right-arrow up-arrow down-arrow | 3413 | left-arrow right-arrow up-arrow down-arrow |
| 3420 | left-curly-arrow right-curly-arrow | 3414 | left-curly-arrow right-curly-arrow |
| @@ -3428,6 +3422,16 @@ vertical-bar horizontal-bar | |||
| 3428 | empty-line question-mark | 3422 | empty-line question-mark |
| 3429 | @end example | 3423 | @end example |
| 3430 | 3424 | ||
| 3425 | @noindent | ||
| 3426 | In addition, @code{nil} represents the empty bitmap (i.e.@: an | ||
| 3427 | indicator that is not shown). | ||
| 3428 | |||
| 3429 | When @code{fringe-indicator-alist} has a buffer-local value, and | ||
| 3430 | there 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 |