[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

38.13.3 Fringe Cursors

When a line is exactly as wide as the window, Emacs displays the cursor in the right fringe instead of using two lines. Different bitmaps are used to represent the cursor in the fringe depending on the current buffer's cursor type.

Logical cursor types:

box , hollow, bar, hbar, hollow-small.

The hollow-small type is used instead of hollow when the normal hollow-rectangle bitmap is too tall to fit on a specific display line.

Variable: overflow-newline-into-fringe

If this is non-nil, lines exactly as wide as the window (not counting the final newline character) are not continued. Instead, when point is at the end of the line, the cursor appears in the right fringe.

Variable: fringe-cursor-alist

This variable specifies the mapping from logical cursor type to the actual fringe bitmaps displayed in the right fringe. The value is an alist where each element (cursor . bitmap) specifies the fringe bitmaps used to display a specific logical cursor type in the fringe. Here, cursor specifies the logical cursor type and bitmap is a symbol specifying the fringe bitmap to be displayed for that logical cursor type.

When fringe-cursor-alist has a buffer-local value, and there is no bitmap defined for a cursor type, the corresponding value from the (non-local) default-fringes-indicator-alist is used.

Variable: default-fringes-cursor-alist

The value of this variable is the default value for fringe-cursor-alist in buffers that do not override it.

Standard bitmaps for displaying the cursor in right fringe:

 
filled-rectangle hollow-rectangle filled-square hollow-square
vertical-bar horizontal-bar

Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.