diff options
| author | Martin Rudalics | 2014-03-05 14:50:48 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-03-05 14:50:48 +0100 |
| commit | e1a2cb1ce53d6c59e8c2d56bbdee8aac2e8151b1 (patch) | |
| tree | 3fd66c8e39dd35fd2d7cad9efe15130b1db7cd09 /doc/lispref/display.texi | |
| parent | 6bf67038d90f120d6039baa10ec30662339fe496 (diff) | |
| download | emacs-e1a2cb1ce53d6c59e8c2d56bbdee8aac2e8151b1.tar.gz emacs-e1a2cb1ce53d6c59e8c2d56bbdee8aac2e8151b1.zip | |
Various window code related fixes and documentation changes.
* dispnew.c (change_frame_size_1): Add new_lines instead of
new_height, the latter may be still zero if passed as such.
* window.c (Fwindow_pixel_height): Mention bottom divider in
doc-string.
* window.el (window-min-height, window-min-width): Rewrite
doc-strings.
(window-body-size): Add PIXELWISE argument to make it consistent
with its callees.
* display.texi (Window Dividers): New section.
* frames.texi (Layout Parameters): Add right-divider-width and
bottom-divider-width.
* windows.texi (Window Sizes): Redraw schematic and rewrite its
description. Rewrite descriptions of `window-total-height',
`window-total-width', `window-total-size', `window-body-height',
`window-body-width' and `window-size-fixed'. Add descriptions
for `window-pixel-height', `window-pixel-width',
`window-min-height' and `window-min-width'. Remove description
of `window-size-fixed-p' moving part of it to that of
`window-size-fixed'.
(Resizing Windows): Mention dividers when talking about minimum
sizes.
Diffstat (limited to 'doc/lispref/display.texi')
| -rw-r--r-- | doc/lispref/display.texi | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 74a3172b75a..f22252143d7 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -24,6 +24,7 @@ that Emacs presents to the user. | |||
| 24 | font, colors, etc. | 24 | font, colors, etc. |
| 25 | * Fringes:: Controlling window fringes. | 25 | * Fringes:: Controlling window fringes. |
| 26 | * Scroll Bars:: Controlling vertical scroll bars. | 26 | * Scroll Bars:: Controlling vertical scroll bars. |
| 27 | * Window Dividers:: Separating windows visually. | ||
| 27 | * Display Property:: Enabling special display features. | 28 | * Display Property:: Enabling special display features. |
| 28 | * Images:: Displaying images in Emacs buffers. | 29 | * Images:: Displaying images in Emacs buffers. |
| 29 | * Buttons:: Adding clickable buttons to Emacs buffers. | 30 | * Buttons:: Adding clickable buttons to Emacs buffers. |
| @@ -3896,6 +3897,53 @@ buffer's scroll bars, measured in pixels. A value of @code{nil} means | |||
| 3896 | to use the value specified by the frame. | 3897 | to use the value specified by the frame. |
| 3897 | @end defvar | 3898 | @end defvar |
| 3898 | 3899 | ||
| 3900 | @node Window Dividers | ||
| 3901 | @section Window Dividers | ||
| 3902 | @cindex window dividers | ||
| 3903 | @cindex right dividers | ||
| 3904 | @cindex bottom dividers | ||
| 3905 | |||
| 3906 | Window dividers are bars drawn between a frame's windows. A ``right'' | ||
| 3907 | divider is drawn between a window and its sibling(s) on the right. Its | ||
| 3908 | width is specified by the frame parameter @code{right-divider-width}. A | ||
| 3909 | ``bottom'' divider is drawn between a window and its sibling(s) on the | ||
| 3910 | bottom or the echo area. Its width is specified by the frame parameter | ||
| 3911 | @code{bottom-divider-width}. In either case, specifying a width of zero | ||
| 3912 | means to not draw such dividers. @xref{Layout Parameters}. | ||
| 3913 | |||
| 3914 | Technically, a right divider ``belongs'' to the window on its left, | ||
| 3915 | which means that its width is part of the total width of that window. A | ||
| 3916 | bottom divider ``belongs'' to the window above it, which means that its | ||
| 3917 | height is part of the total height of that window. @xref{Window Sizes}. | ||
| 3918 | When a window has both, a right and a bottom divider, the bottom divider | ||
| 3919 | ``prevails''. This means that the width of the bottom divider equals | ||
| 3920 | the total width of the window while the height of the right divider | ||
| 3921 | equals the total height of the window minus the height of the bottom | ||
| 3922 | divider. | ||
| 3923 | |||
| 3924 | Dividers can be dragged with the mouse and are therefore useful for | ||
| 3925 | adjusting the sizes of adjacent windows with the mouse. They also serve | ||
| 3926 | to set windows visually apart from their siblings when no scroll bars or | ||
| 3927 | mode lines are present. The following three faces allow to customize | ||
| 3928 | the appearance of dividers: | ||
| 3929 | |||
| 3930 | @table @code | ||
| 3931 | @item window-divider | ||
| 3932 | When a divider is less than three pixels wide, it is drawn solidly with | ||
| 3933 | the foreground of this face. For larger dividers this face is used for | ||
| 3934 | the inner part only, exluding the first and last pixel. | ||
| 3935 | |||
| 3936 | @item window-divider-first-pixel | ||
| 3937 | This is the face used for drawing the first pixel of a divider that is | ||
| 3938 | at least three pixels wide. To obtain a solid appearance, set this to | ||
| 3939 | the same value used for the @code{window-divider} face. | ||
| 3940 | |||
| 3941 | @item window-divider-last-pixel | ||
| 3942 | This is the face used for drawing the last pixel of a divider that is at | ||
| 3943 | least three pixels wide. To obtain a solid appearance, set this to the | ||
| 3944 | same value used for the @code{window-divider} face. | ||
| 3945 | @end table | ||
| 3946 | |||
| 3899 | @node Display Property | 3947 | @node Display Property |
| 3900 | @section The @code{display} Property | 3948 | @section The @code{display} Property |
| 3901 | @cindex display specification | 3949 | @cindex display specification |