Mercurial > emacs
changeset 62063:8b86bc77d515
More rearrangement.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 04 May 2005 16:04:04 +0000 |
parents | 3c0e180dfb92 |
children | 24ece2a91836 |
files | etc/NEWS |
diffstat | 1 files changed, 18 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Wed May 04 14:32:34 2005 +0000 +++ b/etc/NEWS Wed May 04 16:04:04 2005 +0000 @@ -3391,15 +3391,6 @@ forcing an explicit window update. +++ -** You can now make a window as short as one line. - -A window that is just one line tall does not display either a mode -line or a header line, even if the variables `mode-line-format' and -`header-line-format' call for them. A window that is two lines tall -cannot display both a mode line and a header line at once; if the -variables call for both, only the mode line actually appears. - -+++ ** The line-move, scroll-up, and scroll-down functions will now modify the window vscroll to scroll through display rows that are taller that the height of the window, for example in the presense of @@ -3416,31 +3407,42 @@ and partial visiblity state of the corresponding row, if the PARTIALLY arg is non-nil. -+++ -** The new function `window-inside-edges' returns the edges of the +** Changes in using window objects: + ++++ +*** You can now make a window as short as one line. + +A window that is just one line tall does not display either a mode +line or a header line, even if the variables `mode-line-format' and +`header-line-format' call for them. A window that is two lines tall +cannot display both a mode line and a header line at once; if the +variables call for both, only the mode line actually appears. + ++++ +*** The new function `window-inside-edges' returns the edges of the actual text portion of the window, not including the scroll bar or divider line, the fringes, the display margins, the header line and the mode line. +++ -** The new functions `window-pixel-edges' and `window-inside-pixel-edges' +*** The new functions `window-pixel-edges' and `window-inside-pixel-edges' return window edges in units of pixels, rather than columns and lines. +++ -** The new macro `with-selected-window' temporarily switches the +*** The new macro `with-selected-window' temporarily switches the selected window without impacting the order of buffer-list. +++ -** `select-window' takes an optional second argument `norecord', like +*** `select-window' takes an optional second argument `norecord', like `switch-to-buffer'. +++ -** `save-selected-window' now saves and restores the selected window +*** `save-selected-window' now saves and restores the selected window of every frame. This way, it restores everything that can be changed by calling `select-window'. +++ -** The function `set-window-buffer' now has an optional third argument +*** The function `set-window-buffer' now has an optional third argument KEEP-MARGINS which will preserve the window's current margin, fringe, and scroll-bar settings if non-nil.