diff options
| author | Martin Rudalics | 2014-10-04 10:20:24 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2014-10-04 10:20:24 +0200 |
| commit | 3c6ba8b49bb87ada8a8cca6566ad0b6e3fc4e57d (patch) | |
| tree | a47c285b071a0821573b19970cb80e1ea7150cc3 /doc/lispref/frames.texi | |
| parent | cebc89eea10104af6a871b8ee78fb60d6c597898 (diff) | |
| download | emacs-3c6ba8b49bb87ada8a8cca6566ad0b6e3fc4e57d.tar.gz emacs-3c6ba8b49bb87ada8a8cca6566ad0b6e3fc4e57d.zip | |
Add documentation for horizontal scroll bars and fix some minor issues.
* buffer.c (scroll_bar_width, scroll_bar_height): Fix
doc-strings.
* window.c (Fset_window_scroll_bars): Fix doc-string.
(Fwindow_scroll_bars): Have it return what the doc-string says.
* window.el (window-full-height-p): Make it behave correctly for
minibuffer window.
(window-current-scroll-bars): Fix code.
(fit-frame-to-buffer): Use window-scroll-bar-height instead of
window-scroll-bars.
* frame.el (frame-current-scroll-bars): Fix doc-string.
* scroll-bar.el (toggle-horizontal-scroll-bar): New command.
* frames.texi (Scroll Bars): Describe use of horizontal scroll
bars.
* display.texi (Scroll Bars): Add description of horizontal scroll
bars and associated functions.
* frames.texi (Layout Parameters): Add horizontal scroll bar
entries. Remove paragraph on "combined fringe widths".
* windows.texi (Window Sizes): Describe affects of horizontal
scroll bars on window layout and sizes. Fix description of
window-full-height-p.
(Resizing Windows): Mention horizontal scroll bar.
Diffstat (limited to 'doc/lispref/frames.texi')
| -rw-r--r-- | doc/lispref/frames.texi | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index c8e0fff6cd0..464c5fccc4f 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -709,19 +709,21 @@ Whether the frame has scroll bars for vertical scrolling, and which side | |||
| 709 | of the frame they should be on. The possible values are @code{left}, | 709 | of the frame they should be on. The possible values are @code{left}, |
| 710 | @code{right}, and @code{nil} for no scroll bars. | 710 | @code{right}, and @code{nil} for no scroll bars. |
| 711 | 711 | ||
| 712 | @ignore | ||
| 713 | @vindex horizontal-scroll-bars, a frame parameter | 712 | @vindex horizontal-scroll-bars, a frame parameter |
| 714 | @item horizontal-scroll-bars | 713 | @item horizontal-scroll-bars |
| 715 | Whether the frame has scroll bars for horizontal scrolling | 714 | Whether the frame has scroll bars for horizontal scrolling (@code{t} and |
| 716 | (non-@code{nil} means yes). Horizontal scroll bars are not currently | 715 | @code{bottom} mean yes, @code{nil} means no). |
| 717 | implemented. | ||
| 718 | @end ignore | ||
| 719 | 716 | ||
| 720 | @vindex scroll-bar-width, a frame parameter | 717 | @vindex scroll-bar-width, a frame parameter |
| 721 | @item scroll-bar-width | 718 | @item scroll-bar-width |
| 722 | The width of vertical scroll bars, in pixels, or @code{nil} meaning to | 719 | The width of vertical scroll bars, in pixels, or @code{nil} meaning to |
| 723 | use the default width. | 720 | use the default width. |
| 724 | 721 | ||
| 722 | @vindex scroll-bar-height, a frame parameter | ||
| 723 | @item scroll-bar-height | ||
| 724 | The height of horizontal scroll bars, in pixels, or @code{nil} meaning | ||
| 725 | to use the default height. | ||
| 726 | |||
| 725 | @vindex left-fringe, a frame parameter | 727 | @vindex left-fringe, a frame parameter |
| 726 | @vindex right-fringe, a frame parameter | 728 | @vindex right-fringe, a frame parameter |
| 727 | @item left-fringe | 729 | @item left-fringe |
| @@ -735,14 +737,6 @@ these two frame parameters, the return value is always an integer. | |||
| 735 | When using @code{set-frame-parameter}, passing a @code{nil} value | 737 | When using @code{set-frame-parameter}, passing a @code{nil} value |
| 736 | imposes an actual default value of 8 pixels. | 738 | imposes an actual default value of 8 pixels. |
| 737 | 739 | ||
| 738 | The combined fringe widths must add up to an integral number of | ||
| 739 | columns, so the actual default fringe widths for the frame, as | ||
| 740 | reported by @code{frame-parameter}, may be larger than what you | ||
| 741 | specify. Any extra width is distributed evenly between the left and | ||
| 742 | right fringe. However, you can force one fringe or the other to a | ||
| 743 | precise width by specifying that width as a negative integer. If both | ||
| 744 | widths are negative, only the left fringe gets the specified width. | ||
| 745 | |||
| 746 | @vindex right-divider-width, a frame parameter | 740 | @vindex right-divider-width, a frame parameter |
| 747 | @item right-divider-width | 741 | @item right-divider-width |
| 748 | The width (thickness) reserved for the right divider (@pxref{Window | 742 | The width (thickness) reserved for the right divider (@pxref{Window |