From: Martin Rudalics Date: Thu, 13 Apr 2017 16:59:37 +0000 (+0200) Subject: ; Update NEWS for frame and window changes X-Git-Tag: emacs-26.0.90~521^2~640 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a61fa4af2802a47defe61543eb97276d74ba60bd;p=emacs.git ; Update NEWS for frame and window changes --- diff --git a/etc/NEWS b/etc/NEWS index 799a2b31e56..76c9dbc3315 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -789,8 +789,8 @@ processes on exit. +++ *** A new submode of 'html-mode', 'mhtml-mode', is now the default - mode for *.html files. This mode handles indentation, - fontification, and commenting for embedded JavaScript and CSS. +mode for *.html files. This mode handles indentation, +fontification, and commenting for embedded JavaScript and CSS. * Incompatible Lisp Changes in Emacs 26.1 @@ -806,10 +806,6 @@ table implementation. This uses a new bytecode op 'switch', which isn't compatible with previous Emacs versions. This functionality can be disabled by setting 'byte-compile-cond-use-jump-table' to nil. -+++ -** Resizing a frame no longer runs 'window-configuration-change-hook'. -Put your function on 'window-size-change-functions' instead. - ** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term mode to send the same escape sequences that xterm does. This makes things like forward-word in readline work. @@ -921,21 +917,6 @@ If no insurmountable problems before next release, it can stay that way. ** 'gnutls-boot' now takes a parameter ':complete-negotiation' that says that negotiation should complete even on non-blocking sockets. -+++ -** New functions 'window-pixel-width-before-size-change' and -'window-pixel-height-before-size-change' support detecting which -window changed size when 'window-size-change-functions' are run. - -+++ -** New function 'display-buffer-reuse-mode-window' is an action function -suitable for use in 'display-buffer-alist'. For example, to avoid creating -a new window when opening man pages when there's already one, use -(add-to-list 'display-buffer-alist - '("\\`\\*Man .*\\*\\'" . - (display-buffer-reuse-mode-window - (inhibit-same-window . nil) - (mode . Man-mode)))) - --- ** There is now a new variable 'flyspell-sort-corrections-function' that allows changing the way corrections are sorted. @@ -1075,8 +1056,100 @@ that does not exist. operating recursively and when some other process deletes the directory or its files before 'delete-directory' gets to them. ++++ +*** New error type 'user-search-failed' like 'search-failed' but +avoids debugger like 'user-error'. + ** Changes in Frame- and Window- Handling ++++ +*** Resizing a frame no longer runs 'window-configuration-change-hook'. +'window-size-change-functions' should be used instead. + ++++ +*** The new function 'frame-size-changed-p' can tell whether a frame has +been resized since the last time 'window-size-change-functions' has been +run. + ++++ +*** The function 'frame-geometry' now also returns the width of a +frame's outer border. + ++++ +*** New frame parameters + ++++ +**** 'z-group' positions a frame above or below all others. + ++++ +**** 'min-width' and 'min-height' specify the absolute minimum size of a +frame. + ++++ +**** 'parent-frame' makes a frame the child frame of another Emacs +frame. The section "Child Frames" in the Elisp manual describes the +intrinsics of that relationship. + ++++ +**** 'delete-before' triggers deletion of one frame before that of +another. + ++++ +**** 'mouse-wheel-frame' specifies another frame whose windows shall be +scrolled instead. + ++++ +**** 'no-other-frame' has 'next-frame' and 'previous-frame' skip this +frame. + ++++ +**** 'skip-taskbar' removes a frame's icon from the taskbar and has +Alt- skip this frame. + ++++ +**** 'no-focus-on-map' avoids that a frame gets input focus when mapped. + ++++ +**** 'no-accept-focus' means that a frame does not want to get input +focus via the mouse. + ++++ +**** 'undecorated' removes the window manager decorations from a frame. + ++++ +**** 'override-redirect' tells the window manager to disregard this +frame. + ++++ +*** The 'width' and 'height' frame parameters allow to specify pixel +values now. + ++++ +*** The new function 'frame-list-z-order' returns a list of all frames +in Z (stacking) order. + ++++ +*** The function 'x-focus-frame' optionally tries to not activate its +frame. + ++++ +*** The variable 'focus-follows-mouse' has a third meaningful value +'auto-raise' to indicate that the window manager automatically raises a +frame when the mouse pointer enters it. + ++++ +*** The new function 'frame-restack' puts a frame above or below +another on the display. + ++++ +*** The new face 'internal-border' specifies the background of a frame's +internal border. + ++++ +*** The NORECORD argument of 'select-window' now has a meaningful value +'mark-for-redisplay' which is like any other non-nil value but marks +WINDOW for redisplay. + +++ *** Support for side windows is now official. The display action function 'display-buffer-in-side-window' will display its buffer in a @@ -1095,6 +1168,16 @@ section "Atomic Windows" in the Elisp manual. *** New 'display-buffer' alist entry 'window-parameters' allows to assign window parameters to the window used for displaying the buffer. ++++ +*** New function 'display-buffer-reuse-mode-window' is an action function +suitable for use in 'display-buffer-alist'. For example, to avoid creating +a new window when opening man pages when there's already one, use +(add-to-list 'display-buffer-alist + '("\\`\\*Man .*\\*\\'" . + (display-buffer-reuse-mode-window + (inhibit-same-window . nil) + (mode . Man-mode)))) + +++ *** New window parameter 'no-delete-other-window' prevents that its window gets deleted by 'delete-other-windows'. @@ -1104,9 +1187,14 @@ its window gets deleted by 'delete-other-windows'. windows. +++ -*** New error type 'user-search-failed' like 'search-failed' but -avoids debugger like 'user-error'. +*** New functions 'window-pixel-width-before-size-change' and +'window-pixel-height-before-size-change' support detecting which +window changed size when 'window-size-change-functions' are run. ++++ +*** The semantics of 'mouse-autoselect-window' has changed slightly. +For details see the section "Mouse Window Auto-selection" in the Elisp +manual. * Changes in Emacs 26.1 on Non-Free Operating Systems