diff options
| author | Richard M. Stallman | 2002-08-27 18:40:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-08-27 18:40:30 +0000 |
| commit | 1daccbf4b2ed6501cd8691d41070eccaaf6cba3d (patch) | |
| tree | 6213cf2425be5e7692221a97b8af36e7148aa2f0 | |
| parent | d06b424cb0cdda9cbdb35ef71004aef54fe9d62a (diff) | |
| download | emacs-1daccbf4b2ed6501cd8691d41070eccaaf6cba3d.tar.gz emacs-1daccbf4b2ed6501cd8691d41070eccaaf6cba3d.zip | |
Describe blink-cursor-alist and new values for cursor-type.
| -rw-r--r-- | lispref/frames.texi | 40 |
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 |
| 519 | The way to display the cursor. The legitimate values are @code{bar}, | 519 | How to display the cursor. Legitimate values are: |
| 520 | @code{box}, and @code{(bar . @var{width})}. The symbol @code{box} | 520 | |
| 521 | specifies an ordinary black box overlaying the character after point; | 521 | @table @code |
| 522 | that is the default. The symbol @code{bar} specifies a vertical bar | 522 | @item box |
| 523 | between characters as the cursor. @code{(bar . @var{width})} | 523 | Display a filled box. (This is the default.) |
| 524 | specifies a bar @var{width} pixels wide. The symbol @code{hbar} | 524 | @item hollow |
| 525 | specifies a horizontal bar, an underscore-like cursor. @code{(hbar . | 525 | Display a hollow box. |
| 526 | @var{width})} specifiles a horizontal bar @var{width} pixels high. | 526 | @item nil |
| 527 | Don't display a cursor. | ||
| 528 | @item bar | ||
| 529 | Display a vertical bar between characters. | ||
| 530 | @item (bar . @var{width}) | ||
| 531 | Display a vertical bar @var{width} pixels wide between characters. | ||
| 532 | @item hbar | ||
| 533 | Display a horizontal bar. | ||
| 534 | @item (bar . @var{width}) | ||
| 535 | Display a horizontal bar @var{width} pixels high. | ||
| 536 | @end table | ||
| 527 | 537 | ||
| 528 | @vindex cursor-type | 538 | @vindex cursor-type |
| 529 | The buffer-local variable @code{cursor-type} overrides the value of | 539 | The 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 | ||
| 601 | This variable specifies how to blink the cursor. Each element has the | ||
| 602 | form @code{(@var{on-state} . @var{off-state})}. Whenever the cursor | ||
| 603 | type 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 | ||
| 606 | values for the @code{cursor-type} frame parameter. | ||
| 607 | |||
| 608 | There are various defaults for how to blink each type of cursor, | ||
| 609 | if the type is not mentioned as an @var{on-state} here. Changes | ||
| 610 | in this variable do not take effect immediately, because the variable | ||
| 611 | is 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 |