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 /etc | |
| 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 'etc')
| -rw-r--r-- | etc/NEWS | 14 |
1 files changed, 11 insertions, 3 deletions
| @@ -292,20 +292,28 @@ optional repeat-count argument. | |||
| 292 | 292 | ||
| 293 | * Changes in Frames and Windows Code in Emacs 25.1 | 293 | * Changes in Frames and Windows Code in Emacs 25.1 |
| 294 | 294 | ||
| 295 | +++ | ||
| 295 | ** Emacs can now draw horizontal scroll bars on some platforms that | 296 | ** Emacs can now draw horizontal scroll bars on some platforms that |
| 296 | provide toolkit scroll bars, namely Gtk, Lucid, Motif and Windows. | 297 | provide toolkit scroll bars, namely Gtk+, Lucid, Motif and Windows. |
| 297 | Horizontal scroll bars are turned off by default. | 298 | Horizontal scroll bars are turned off by default. |
| 298 | *** New function `horizontal-scroll-bars-available-p' telling whether | 299 | *** New function `horizontal-scroll-bars-available-p' telling whether |
| 299 | horizontal scroll bars are available on the underlying system. | 300 | horizontal scroll bars are available on the underlying system. |
| 300 | *** New mode `horizontal-scroll-bar-mode' to toggle horizontal scroll | 301 | *** New mode `horizontal-scroll-bar-mode' to toggle horizontal scroll |
| 301 | bars on all existing and future frames. | 302 | bars on all existing and future frames. |
| 303 | *** New function `toggle-horizontal-scroll-bar' to toggle horizontal | ||
| 304 | scroll bars on the selected frame. | ||
| 302 | *** New frame parameters `horizontal-scroll-bars' and | 305 | *** New frame parameters `horizontal-scroll-bars' and |
| 303 | `scroll-bar-height' to set horizontal scroll bars and their height | 306 | `scroll-bar-height' to set horizontal scroll bars and their height |
| 304 | for individual frames and in `default-frame-alist'. | 307 | for individual frames and in `default-frame-alist'. |
| 305 | *** New function `frame-scroll-bar-height' to return the height of | 308 | *** New functions `frame-scroll-bar-height' and |
| 306 | horizontal scroll bars on a specific frame. | 309 | `window-scroll-bar-height' return the height of horizontal scroll |
| 310 | bars on a specific frame or window. | ||
| 307 | *** `set-window-scroll-bars' now accepts five parameters where the last | 311 | *** `set-window-scroll-bars' now accepts five parameters where the last |
| 308 | two specify height and type of the window's horizontal scroll bar. | 312 | two specify height and type of the window's horizontal scroll bar. |
| 313 | *** `window-scroll-bars' now returns type and sizes of horizontal scroll | ||
| 314 | bars too. | ||
| 315 | *** New buffer-local variables `horizontal-scroll-bar' and | ||
| 316 | `scroll-bar-height'. | ||
| 309 | 317 | ||
| 310 | ** The height of a frame's menu and tool bar are no more counted in the | 318 | ** The height of a frame's menu and tool bar are no more counted in the |
| 311 | frame's text height. This means that the text height stands only for | 319 | frame's text height. This means that the text height stands only for |