Next: Font and Color Parameters, Previous: Management Parameters, Up: Window Frame Parameters
This frame parameter controls the way the cursor looks.
cursor-type
box
hollow
nil
bar
(bar .
width)
hbar
(hbar .
height)
The cursor-type
frame parameter may be overridden by the
variables cursor-type
and
cursor-in-non-selected-windows
:
This buffer-local variable controls how the cursor looks in a selected window showing the buffer. If its value is
t
, that means to use the cursor specified by thecursor-type
frame parameter. Otherwise, the value should be one of the cursor types listed above, and it overrides thecursor-type
frame parameter.
This buffer-local variable controls how the cursor looks in a window that is not selected. It supports the same values as the
cursor-type
frame parameter; also,nil
means don't display a cursor in nonselected windows, andt
(the default) means use a standard modification of the usual cursor type (solid box becomes hollow box, and bar becomes a narrower bar).
This variable specifies how to blink the cursor. Each element has the form
(
on-state.
off-state)
. Whenever the cursor type equals on-state (comparing usingequal
), the corresponding off-state specifies what the cursor looks like when it blinks “off”. Both on-state and off-state should be suitable values for thecursor-type
frame parameter.There are various defaults for how to blink each type of cursor, if the type is not mentioned as an on-state here. Changes in this variable do not take effect immediately, only when you specify the
cursor-type
frame parameter.