aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS88
1 files changed, 79 insertions, 9 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 84ac2a558e4..59875727cac 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -194,15 +194,67 @@ bound to <f11> and M-<f10>, respectively.
194These are normal hooks run when an Emacs frame gains or loses input focus. 194These 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.
198To put dividers between side-by-side/vertically stacked windows 198When maximizing a frame or making it fullscreen, remaining extra pixels
199customize the frame parameter `right-divider-width'/`bottom-divider-width' 199are no more given to the minibuffer, the rightmost fringe, or other
200to some positive integer. You can drag dividers with the mouse 200unusable space, but are distributed among the text areas of the frame's
201(they show a corresponding cursor when the mouse hovers over them). 201windows. The new option `frame-resize-pixelwise', when non-nil, makes
202You can change the appearance of dividers by customizing the faces 202all frame size changes happen pixelwise and sets the corresponding size
203`window-divider', `window-divider-first-pixel', and 203hints for the window manager.
204`window-divider-last-pixel'. The last two are useful to provide a 3D 204
205effect, or to better distinguish dividers from surrounding display objects. 205---
206*** Emacs can now change window sizes pixelwise.
207Mouse-dragging a modeline or window divider now changes the size of
208adjacent windows pixelwise. The new option `window-resize-pixelwise',
209when non-nil, automatically makes functions like `balance-windows-area'
210or `fit-window-to-buffer' resize windows pixelwise. Most functions for
211resizing or accessing sizes of windows now have an additional argument
212which allows to apply changes or return values in pixels instead of
213lines/columns.
214
215---
216*** Emacs can now draw dividers between adjacent windows. To put
217dividers between side-by-side/vertically stacked windows customize the
218frame parameters `right-divider-width' and `bottom-divider-width' to
219some positive integer. You can drag dividers with the mouse (they show
220a corresponding cursor when the mouse hovers over them). You can change
221the appearance of dividers by customizing the faces `window-divider',
222`window-divider-first-pixel', and `window-divider-last-pixel'. The last
223two are useful to provide a 3D effect, or to better distinguish dividers
224from surrounding display objects.
225
226---
227*** New functions are provided to return the pixel sizes of window
228components, 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
234text 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
236window to its buffer as it will be displayed.
237
238---
239*** `fit-window-to-buffer' can now resize windows horizontally.
240This 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.
245This behavior is controlled by the option `fit-frame-to-buffer' which
246tells 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
248control 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
252and frames. `temp-buffer-resize-mode' is now able to adjust the height
253and 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
255windows. Moreover, if the new option `fit-frame-to-buffer' is non-nil
256and the buffer appears in the root window of a frame, Temp Buffer Resize
257Mode 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'),
210and as such superfluous. After being reimplemented in Lisp, its 262and as such superfluous. After being reimplemented in Lisp, its
211interactive form was mistakenly retained. 263interactive form was mistakenly retained.
212 264
265---
266*** The functions `window-size' and `window-total-size' now have an
267optional argument to return a rounded size value.
268
269---
270*** `window-state-put' now allows to put a window state into internal
271windows too.
272
213+++ 273+++
214*** New option `scroll-bar-adjust-thumb-portion'. 274*** New option `scroll-bar-adjust-thumb-portion'.
215Available only on X, this option allows to control over-scrolling 275Available only on X, this option allows to control over-scrolling
216using the scroll bar (i.e. dragging the thumb down even when the end 276using the scroll bar (i.e. dragging the thumb down even when the end
217of the buffer is visible). 277of 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
282buffer.
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
287frame.
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,