aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-08-27 18:40:30 +0000
committerRichard M. Stallman2002-08-27 18:40:30 +0000
commit1daccbf4b2ed6501cd8691d41070eccaaf6cba3d (patch)
tree6213cf2425be5e7692221a97b8af36e7148aa2f0
parentd06b424cb0cdda9cbdb35ef71004aef54fe9d62a (diff)
downloademacs-1daccbf4b2ed6501cd8691d41070eccaaf6cba3d.tar.gz
emacs-1daccbf4b2ed6501cd8691d41070eccaaf6cba3d.zip
Describe blink-cursor-alist and new values for cursor-type.
-rw-r--r--lispref/frames.texi40
1 files changed, 32 insertions, 8 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index 2bd97ffbf8e..909c2bc0ed6 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -516,14 +516,24 @@ in this frame. Its value is @code{color}, @code{grayscale} or
516@code{mono}. 516@code{mono}.
517 517
518@item cursor-type 518@item cursor-type
519The way to display the cursor. The legitimate values are @code{bar}, 519How to display the cursor. Legitimate values are:
520@code{box}, and @code{(bar . @var{width})}. The symbol @code{box} 520
521specifies an ordinary black box overlaying the character after point; 521@table @code
522that is the default. The symbol @code{bar} specifies a vertical bar 522@item box
523between characters as the cursor. @code{(bar . @var{width})} 523Display a filled box. (This is the default.)
524specifies a bar @var{width} pixels wide. The symbol @code{hbar} 524@item hollow
525specifies a horizontal bar, an underscore-like cursor. @code{(hbar . 525Display a hollow box.
526@var{width})} specifiles a horizontal bar @var{width} pixels high. 526@item nil
527Don't display a cursor.
528@item bar
529Display a vertical bar between characters.
530@item (bar . @var{width})
531Display a vertical bar @var{width} pixels wide between characters.
532@item hbar
533Display a horizontal bar.
534@item (bar . @var{width})
535Display a horizontal bar @var{width} pixels high.
536@end table
527 537
528@vindex cursor-type 538@vindex cursor-type
529The buffer-local variable @code{cursor-type} overrides the value of 539The buffer-local variable @code{cursor-type} overrides the value of
@@ -587,6 +597,20 @@ it and see if it works.)
587@end ignore 597@end ignore
588@end table 598@end table
589 599
600@defvar blink-cursor-alist
601This variable specifies how to blink the cursor. Each element has the
602form @code{(@var{on-state} . @var{off-state})}. Whenever the cursor
603type equals @var{on-state} (comparing using @code{equal}), Emacs uses
604@var{off-state} to specify what the cursor looks like when it blinks
605``off''. Both @var{on-state} and @var{off-state} should be suitable
606values for the @code{cursor-type} frame parameter.
607
608There are various defaults for how to blink each type of cursor,
609if the type is not mentioned as an @var{on-state} here. Changes
610in this variable do not take effect immediately, because the variable
611is examined only when you specify a cursor type for a frame.
612@end defvar
613
590@node Size and Position 614@node Size and Position
591@subsection Frame Size And Position 615@subsection Frame Size And Position
592@cindex size of frame 616@cindex size of frame