1 |
@c -*-texinfo-*- |
@c -*-texinfo-*- |
2 |
@c This is part of the GNU Emacs Lisp Reference Manual. |
@c This is part of the GNU Emacs Lisp Reference Manual. |
3 |
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2002 |
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2002 |
4 |
@c Free Software Foundation, Inc. |
@c Free Software Foundation, Inc. |
5 |
@c See the file elisp.texi for copying conditions. |
@c See the file elisp.texi for copying conditions. |
6 |
@setfilename ../info/frames |
@setfilename ../info/frames |
7 |
@node Frames, Positions, Windows, Top |
@node Frames, Positions, Windows, Top |
70 |
* Display Feature Testing:: Determining the features of a terminal. |
* Display Feature Testing:: Determining the features of a terminal. |
71 |
@end menu |
@end menu |
72 |
|
|
73 |
@xref{Display}, for information about the related topic of |
@xref{Display}, for information about the related topic of |
74 |
controlling Emacs redisplay. |
controlling Emacs redisplay. |
75 |
|
|
76 |
@node Creating Frames |
@node Creating Frames |
250 |
the frame appear with the wrong ones and then change to the specified |
the frame appear with the wrong ones and then change to the specified |
251 |
ones. If that bothers you, you can specify the same geometry and |
ones. If that bothers you, you can specify the same geometry and |
252 |
appearance with X resources; those do take effect before the frame is |
appearance with X resources; those do take effect before the frame is |
253 |
created. @xref{Resources X,, X Resources, emacs, The GNU Emacs Manual}. |
created. @xref{X Resources,, X Resources, emacs, The GNU Emacs Manual}. |
254 |
|
|
255 |
X resource settings typically apply to all frames. If you want to |
X resource settings typically apply to all frames. If you want to |
256 |
specify some X resources solely for the sake of the initial frame, and |
specify some X resources solely for the sake of the initial frame, and |
516 |
@code{mono}. |
@code{mono}. |
517 |
|
|
518 |
@item cursor-type |
@item cursor-type |
519 |
The way to display the cursor. The legitimate values are @code{bar}, |
How to display the cursor. Legitimate values are: |
520 |
@code{box}, and @code{(bar . @var{width})}. The symbol @code{box} |
|
521 |
specifies an ordinary black box overlaying the character after point; |
@table @code |
522 |
that is the default. The symbol @code{bar} specifies a vertical bar |
@item box |
523 |
between characters as the cursor. @code{(bar . @var{width})} |
Display a filled box. (This is the default.) |
524 |
specifies a bar @var{width} pixels wide. The symbol @code{hbar} |
@item hollow |
525 |
specifies a horizontal bar, an underscore-like cursor. @code{(hbar . |
Display a hollow box. |
526 |
@var{width})} specifiles a horizontal bar @var{width} pixels high. |
@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 |
537 |
|
|
538 |
@vindex cursor-type |
@vindex cursor-type |
539 |
The buffer-local variable @code{cursor-type} overrides the value of |
The buffer-local variable @code{cursor-type} overrides the value of |
597 |
@end ignore |
@end ignore |
598 |
@end table |
@end table |
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 |
|
|
614 |
@node Size and Position |
@node Size and Position |
615 |
@subsection Frame Size And Position |
@subsection Frame Size And Position |
616 |
@cindex size of frame |
@cindex size of frame |
1683 |
variable to some other string, around a call to @code{x-get-resource}. |
variable to some other string, around a call to @code{x-get-resource}. |
1684 |
@end defvar |
@end defvar |
1685 |
|
|
1686 |
@xref{Resources X,, X Resources, emacs, The GNU Emacs Manual}. |
@xref{X Resources,, X Resources, emacs, The GNU Emacs Manual}. |
1687 |
|
|
1688 |
@node Display Feature Testing |
@node Display Feature Testing |
1689 |
@section Display Feature Testing |
@section Display Feature Testing |
1691 |
|
|
1692 |
The functions in this section describe the basic capabilities of a |
The functions in this section describe the basic capabilities of a |
1693 |
particular display. Lisp programs can use them to adapt their behavior |
particular display. Lisp programs can use them to adapt their behavior |
1694 |
to what the display can do. For example, a program that ordinarly uses |
to what the display can do. For example, a program that ordinarily uses |
1695 |
a popup menu could use the minibuffer if popup menus are not supported. |
a popup menu could use the minibuffer if popup menus are not supported. |
1696 |
|
|
1697 |
The optional argument @var{display} in these functions specifies which |
The optional argument @var{display} in these functions specifies which |
1763 |
Point (2) implies that a @code{:weight black} attribute will be |
Point (2) implies that a @code{:weight black} attribute will be |
1764 |
satisfied by any display that can display bold, as will |
satisfied by any display that can display bold, as will |
1765 |
@code{:foreground "yellow"} as long as some yellowish color can be |
@code{:foreground "yellow"} as long as some yellowish color can be |
1766 |
displayed, but @code{:slant italic} will @emph{not} be satisified by |
displayed, but @code{:slant italic} will @emph{not} be satisfied by |
1767 |
the tty display code's automatic substitution of a `dim' face for |
the tty display code's automatic substitution of a `dim' face for |
1768 |
italic. |
italic. |
1769 |
@end defun |
@end defun |