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, 2000, 2001, 2002 |
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001, 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/display |
@setfilename ../info/display |
7 |
@node Display, Calendar, Processes, Top |
@node Display, Calendar, Processes, Top |
409 |
|
|
410 |
@example |
@example |
411 |
;; @r{If you want to display an ellipsis:} |
;; @r{If you want to display an ellipsis:} |
412 |
(add-to-invisibility-spec '(my-symbol . t)) |
(add-to-invisibility-spec '(my-symbol . t)) |
413 |
;; @r{If you don't want ellipsis:} |
;; @r{If you don't want ellipsis:} |
414 |
(add-to-invisibility-spec 'my-symbol) |
(add-to-invisibility-spec 'my-symbol) |
415 |
|
|
416 |
(overlay-put (make-overlay beginning end) |
(overlay-put (make-overlay beginning end) |
417 |
'invisible 'my-symbol) |
'invisible 'my-symbol) |
483 |
|
|
484 |
@defvar selective-display |
@defvar selective-display |
485 |
This buffer-local variable enables selective display. This means that |
This buffer-local variable enables selective display. This means that |
486 |
lines, or portions of lines, may be made invisible. |
lines, or portions of lines, may be made invisible. |
487 |
|
|
488 |
@itemize @bullet |
@itemize @bullet |
489 |
@item |
@item |
1336 |
customize using the Customization buffer (@pxref{Easy Customization,,, |
customize using the Customization buffer (@pxref{Easy Customization,,, |
1337 |
emacs, The GNU Emacs Manual}). |
emacs, The GNU Emacs Manual}). |
1338 |
|
|
1339 |
@defmac defface face spec doc [keyword value]... |
@defmac defface face spec doc [keyword value]... |
1340 |
This declares @var{face} as a customizable face that defaults according |
This declares @var{face} as a customizable face that defaults according |
1341 |
to @var{spec}. You should not quote the symbol @var{face}. The |
to @var{spec}. You should not quote the symbol @var{face}. The |
1342 |
argument @var{doc} specifies the face documentation. The keywords you |
argument @var{doc} specifies the face documentation. The keywords you |
1473 |
@code{extra-condensed}, @code{condensed}, @code{semi-condensed}, |
@code{extra-condensed}, @code{condensed}, @code{semi-condensed}, |
1474 |
@code{normal}, @code{semi-expanded}, @code{expanded}, |
@code{normal}, @code{semi-expanded}, @code{expanded}, |
1475 |
@code{extra-expanded}, or @code{ultra-expanded}. |
@code{extra-expanded}, or @code{ultra-expanded}. |
1476 |
|
|
1477 |
@item :height |
@item :height |
1478 |
Either the font height, an integer in units of 1/10 point, a floating |
Either the font height, an integer in units of 1/10 point, a floating |
1479 |
point number specifying the amount by which to scale the height of any |
point number specifying the amount by which to scale the height of any |
1480 |
underlying face, or a function, which is called with the old height |
underlying face, or a function, which is called with the old height |
1481 |
(from the underlying face), and should return the new height. |
(from the underlying face), and should return the new height. |
1482 |
|
|
1483 |
@item :weight |
@item :weight |
1484 |
Font weight---a symbol from this series (from most dense to most faint): |
Font weight---a symbol from this series (from most dense to most faint): |
1485 |
@code{ultra-bold}, @code{extra-bold}, @code{bold}, @code{semi-bold}, |
@code{ultra-bold}, @code{extra-bold}, @code{bold}, @code{semi-bold}, |
1499 |
|
|
1500 |
@item :foreground |
@item :foreground |
1501 |
Foreground color, a string. |
Foreground color, a string. |
1502 |
|
|
1503 |
@item :background |
@item :background |
1504 |
Background color, a string. |
Background color, a string. |
1505 |
|
|
1852 |
highlighted with the face @code{region} (@pxref{Standard Faces}). |
highlighted with the face @code{region} (@pxref{Standard Faces}). |
1853 |
|
|
1854 |
@item |
@item |
1855 |
With special glyphs. Each glyph can specify a particular face |
With special glyphs. Each glyph can specify a particular face |
1856 |
number. @xref{Glyphs}. |
number. @xref{Glyphs}. |
1857 |
@end itemize |
@end itemize |
1858 |
|
|
2285 |
@menu |
@menu |
2286 |
* Specified Space:: Displaying one space with a specified width. |
* Specified Space:: Displaying one space with a specified width. |
2287 |
* Other Display Specs:: Displaying an image; magnifying text; moving it |
* Other Display Specs:: Displaying an image; magnifying text; moving it |
2288 |
up or down on the page; adjusting the width |
up or down on the page; adjusting the width |
2289 |
of spaces within text. |
of spaces within text. |
2290 |
* Display Margins:: Displaying text or images to the side of the main text. |
* Display Margins:: Displaying text or images to the side of the main text. |
2291 |
* Conditional Display:: Making any of the above features conditional |
* Conditional Display:: Making any of the above features conditional |
2465 |
@defun set-window-margins window left &optional right |
@defun set-window-margins window left &optional right |
2466 |
@tindex set-window-margins |
@tindex set-window-margins |
2467 |
This function specifies the margin widths for window @var{window}. |
This function specifies the margin widths for window @var{window}. |
2468 |
The argument @var{left} controls the left margin and |
The argument @var{left} controls the left margin and |
2469 |
@var{right} controls the right margin (default @code{0}). |
@var{right} controls the right margin (default @code{0}). |
2470 |
@end defun |
@end defun |
2471 |
|
|
3409 |
|
|
3410 |
@defvar glyph-table |
@defvar glyph-table |
3411 |
The value of this variable is the current glyph table. It should be a |
The value of this variable is the current glyph table. It should be a |
3412 |
vector; the @var{g}th element defines glyph code @var{g}. |
vector; the @var{g}th element defines glyph code @var{g}. |
3413 |
|
|
3414 |
If a glyph code is greater than or equal to the length of the glyph |
If a glyph code is greater than or equal to the length of the glyph |
3415 |
table, that code is automatically simple. If the value of |
table, that code is automatically simple. If the value of |