diff options
| author | Martin Rudalics | 2014-02-22 18:57:57 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-02-22 18:57:57 +0100 |
| commit | b7aa5ad686cb7f5a2c1e7b0a67d32b92d412c877 (patch) | |
| tree | 378f72e5dde0ec0bddc0bb4caec42016b8e6f97a | |
| parent | d994ff7c0df6f2a849d83b36e85411afebcc5927 (diff) | |
| download | emacs-b7aa5ad686cb7f5a2c1e7b0a67d32b92d412c877.tar.gz emacs-b7aa5ad686cb7f5a2c1e7b0a67d32b92d412c877.zip | |
Document some frame and window changes in NEWS.
| -rw-r--r-- | etc/NEWS | 88 |
1 files changed, 79 insertions, 9 deletions
| @@ -194,15 +194,67 @@ bound to <f11> and M-<f10>, respectively. | |||
| 194 | These are normal hooks run when an Emacs frame gains or loses input focus. | 194 | These are normal hooks run when an Emacs frame gains or loses input focus. |
| 195 | 195 | ||
| 196 | --- | 196 | --- |
| 197 | *** Emacs can now draw dividers between adjacent windows. | 197 | *** Emacs can now change frame sizes pixelwise. |
| 198 | To put dividers between side-by-side/vertically stacked windows | 198 | When maximizing a frame or making it fullscreen, remaining extra pixels |
| 199 | customize the frame parameter `right-divider-width'/`bottom-divider-width' | 199 | are no more given to the minibuffer, the rightmost fringe, or other |
| 200 | to some positive integer. You can drag dividers with the mouse | 200 | unusable space, but are distributed among the text areas of the frame's |
| 201 | (they show a corresponding cursor when the mouse hovers over them). | 201 | windows. The new option `frame-resize-pixelwise', when non-nil, makes |
| 202 | You can change the appearance of dividers by customizing the faces | 202 | all frame size changes happen pixelwise and sets the corresponding size |
| 203 | `window-divider', `window-divider-first-pixel', and | 203 | hints for the window manager. |
| 204 | `window-divider-last-pixel'. The last two are useful to provide a 3D | 204 | |
| 205 | effect, or to better distinguish dividers from surrounding display objects. | 205 | --- |
| 206 | *** Emacs can now change window sizes pixelwise. | ||
| 207 | Mouse-dragging a modeline or window divider now changes the size of | ||
| 208 | adjacent windows pixelwise. The new option `window-resize-pixelwise', | ||
| 209 | when non-nil, automatically makes functions like `balance-windows-area' | ||
| 210 | or `fit-window-to-buffer' resize windows pixelwise. Most functions for | ||
| 211 | resizing or accessing sizes of windows now have an additional argument | ||
| 212 | which allows to apply changes or return values in pixels instead of | ||
| 213 | lines/columns. | ||
| 214 | |||
| 215 | --- | ||
| 216 | *** Emacs can now draw dividers between adjacent windows. To put | ||
| 217 | dividers between side-by-side/vertically stacked windows customize the | ||
| 218 | frame parameters `right-divider-width' and `bottom-divider-width' to | ||
| 219 | some positive integer. You can drag dividers with the mouse (they show | ||
| 220 | a corresponding cursor when the mouse hovers over them). You can change | ||
| 221 | the appearance of dividers by customizing the faces `window-divider', | ||
| 222 | `window-divider-first-pixel', and `window-divider-last-pixel'. The last | ||
| 223 | two are useful to provide a 3D effect, or to better distinguish dividers | ||
| 224 | from surrounding display objects. | ||
| 225 | |||
| 226 | --- | ||
| 227 | *** New functions are provided to return the pixel sizes of window | ||
| 228 | components, namely `window-scroll-bar-width', `window-mode-line-height' | ||
| 229 | `window-header-line-height', `window-right-divider-width' and | ||
| 230 | `window-bottom-divider-width'. | ||
| 231 | |||
| 232 | --- | ||
| 233 | *** The new function `window-text-pixel-size' returns the size of the | ||
| 234 | text of a window's buffer in pixels. This allows functions like | ||
| 235 | `fit-frame-to-buffer' and `fit-window-to-buffer' to accurately fit a | ||
| 236 | window to its buffer as it will be displayed. | ||
| 237 | |||
| 238 | --- | ||
| 239 | *** `fit-window-to-buffer' can now resize windows horizontally. | ||
| 240 | This behavior is controlled by the new option | ||
| 241 | `fit-window-to-buffer-horizontally'. | ||
| 242 | |||
| 243 | --- | ||
| 244 | *** `fit-frame-to-buffer' can now fit frames in both directions. | ||
| 245 | This behavior is controlled by the option `fit-frame-to-buffer' which | ||
| 246 | tells in which direction(s) the frame shall be fit. The new options | ||
| 247 | `fit-frame-to-buffer-margins' and `fit-frame-to-buffer-sizes' allow to | ||
| 248 | control the size of the frame and its position on screen. | ||
| 249 | |||
| 250 | --- | ||
| 251 | *** Temp Buffer Resize Mode can now adjust height and width of windows | ||
| 252 | and frames. `temp-buffer-resize-mode' is now able to adjust the height | ||
| 253 | and the width of a window displaying a temporary buffer. The new option | ||
| 254 | `temp-buffer-max-width' allows to control the width of temporary buffer | ||
| 255 | windows. Moreover, if the new option `fit-frame-to-buffer' is non-nil | ||
| 256 | and the buffer appears in the root window of a frame, Temp Buffer Resize | ||
| 257 | Mode will try to adjust width and/or height of the frame. | ||
| 206 | 258 | ||
| 207 | --- | 259 | --- |
| 208 | *** `split-window' is now a non-interactive function, not a command. | 260 | *** `split-window' is now a non-interactive function, not a command. |
| @@ -210,12 +262,30 @@ As a command, it was a special case of `C-x 2' (`split-window-below'), | |||
| 210 | and as such superfluous. After being reimplemented in Lisp, its | 262 | and as such superfluous. After being reimplemented in Lisp, its |
| 211 | interactive form was mistakenly retained. | 263 | interactive form was mistakenly retained. |
| 212 | 264 | ||
| 265 | --- | ||
| 266 | *** The functions `window-size' and `window-total-size' now have an | ||
| 267 | optional argument to return a rounded size value. | ||
| 268 | |||
| 269 | --- | ||
| 270 | *** `window-state-put' now allows to put a window state into internal | ||
| 271 | windows too. | ||
| 272 | |||
| 213 | +++ | 273 | +++ |
| 214 | *** New option `scroll-bar-adjust-thumb-portion'. | 274 | *** New option `scroll-bar-adjust-thumb-portion'. |
| 215 | Available only on X, this option allows to control over-scrolling | 275 | Available only on X, this option allows to control over-scrolling |
| 216 | using the scroll bar (i.e. dragging the thumb down even when the end | 276 | using the scroll bar (i.e. dragging the thumb down even when the end |
| 217 | of the buffer is visible). | 277 | of the buffer is visible). |
| 218 | 278 | ||
| 279 | --- | ||
| 280 | *** New basic action function `display-buffer-in-previous-window' has | ||
| 281 | `display-buffer' display a buffer in a window previously showing that | ||
| 282 | buffer. | ||
| 283 | |||
| 284 | --- | ||
| 285 | *** New basic action function `display-buffer-at-bottom' has | ||
| 286 | `display-buffer' choose or make a window at the bottom of the selected | ||
| 287 | frame. | ||
| 288 | |||
| 219 | ** Lisp evaluation changes | 289 | ** Lisp evaluation changes |
| 220 | +++ | 290 | +++ |
| 221 | *** `eval-defun' on an already defined defcustom calls the :set function, | 291 | *** `eval-defun' on an already defined defcustom calls the :set function, |