aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2017-04-13 18:59:37 +0200
committerMartin Rudalics2017-04-13 18:59:37 +0200
commita61fa4af2802a47defe61543eb97276d74ba60bd (patch)
treee7c953f04b6a22da9df361a15d27560720a9c1c1
parent02220c174eee5a98de756b899a93381021c1c858 (diff)
downloademacs-a61fa4af2802a47defe61543eb97276d74ba60bd.tar.gz
emacs-a61fa4af2802a47defe61543eb97276d74ba60bd.zip
; Update NEWS for frame and window changes
-rw-r--r--etc/NEWS134
1 files changed, 111 insertions, 23 deletions
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.
789 789
790+++ 790+++
791*** A new submode of 'html-mode', 'mhtml-mode', is now the default 791*** A new submode of 'html-mode', 'mhtml-mode', is now the default
792 mode for *.html files. This mode handles indentation, 792mode for *.html files. This mode handles indentation,
793 fontification, and commenting for embedded JavaScript and CSS. 793fontification, and commenting for embedded JavaScript and CSS.
794 794
795 795
796* Incompatible Lisp Changes in Emacs 26.1 796* Incompatible Lisp Changes in Emacs 26.1
@@ -806,10 +806,6 @@ table implementation. This uses a new bytecode op 'switch', which isn't
806compatible with previous Emacs versions. This functionality can be disabled 806compatible with previous Emacs versions. This functionality can be disabled
807by setting 'byte-compile-cond-use-jump-table' to nil. 807by setting 'byte-compile-cond-use-jump-table' to nil.
808 808
809+++
810** Resizing a frame no longer runs 'window-configuration-change-hook'.
811Put your function on 'window-size-change-functions' instead.
812
813** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term 809** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term
814mode to send the same escape sequences that xterm does. This makes 810mode to send the same escape sequences that xterm does. This makes
815things like forward-word in readline work. 811things like forward-word in readline work.
@@ -921,21 +917,6 @@ If no insurmountable problems before next release, it can stay that way.
921** 'gnutls-boot' now takes a parameter ':complete-negotiation' that 917** 'gnutls-boot' now takes a parameter ':complete-negotiation' that
922says that negotiation should complete even on non-blocking sockets. 918says that negotiation should complete even on non-blocking sockets.
923 919
924+++
925** New functions 'window-pixel-width-before-size-change' and
926'window-pixel-height-before-size-change' support detecting which
927window changed size when 'window-size-change-functions' are run.
928
929+++
930** New function 'display-buffer-reuse-mode-window' is an action function
931suitable for use in 'display-buffer-alist'. For example, to avoid creating
932a new window when opening man pages when there's already one, use
933(add-to-list 'display-buffer-alist
934 '("\\`\\*Man .*\\*\\'" .
935 (display-buffer-reuse-mode-window
936 (inhibit-same-window . nil)
937 (mode . Man-mode))))
938
939--- 920---
940** There is now a new variable 'flyspell-sort-corrections-function' 921** There is now a new variable 'flyspell-sort-corrections-function'
941that allows changing the way corrections are sorted. 922that allows changing the way corrections are sorted.
@@ -1075,9 +1056,101 @@ that does not exist.
1075operating recursively and when some other process deletes the directory 1056operating recursively and when some other process deletes the directory
1076or its files before 'delete-directory' gets to them. 1057or its files before 'delete-directory' gets to them.
1077 1058
1059+++
1060*** New error type 'user-search-failed' like 'search-failed' but
1061avoids debugger like 'user-error'.
1062
1078** Changes in Frame- and Window- Handling 1063** Changes in Frame- and Window- Handling
1079 1064
1080+++ 1065+++
1066*** Resizing a frame no longer runs 'window-configuration-change-hook'.
1067'window-size-change-functions' should be used instead.
1068
1069+++
1070*** The new function 'frame-size-changed-p' can tell whether a frame has
1071been resized since the last time 'window-size-change-functions' has been
1072run.
1073
1074+++
1075*** The function 'frame-geometry' now also returns the width of a
1076frame's outer border.
1077
1078+++
1079*** New frame parameters
1080
1081+++
1082**** 'z-group' positions a frame above or below all others.
1083
1084+++
1085**** 'min-width' and 'min-height' specify the absolute minimum size of a
1086frame.
1087
1088+++
1089**** 'parent-frame' makes a frame the child frame of another Emacs
1090frame. The section "Child Frames" in the Elisp manual describes the
1091intrinsics of that relationship.
1092
1093+++
1094**** 'delete-before' triggers deletion of one frame before that of
1095another.
1096
1097+++
1098**** 'mouse-wheel-frame' specifies another frame whose windows shall be
1099scrolled instead.
1100
1101+++
1102**** 'no-other-frame' has 'next-frame' and 'previous-frame' skip this
1103frame.
1104
1105+++
1106**** 'skip-taskbar' removes a frame's icon from the taskbar and has
1107Alt-<TAB> skip this frame.
1108
1109+++
1110**** 'no-focus-on-map' avoids that a frame gets input focus when mapped.
1111
1112+++
1113**** 'no-accept-focus' means that a frame does not want to get input
1114focus via the mouse.
1115
1116+++
1117**** 'undecorated' removes the window manager decorations from a frame.
1118
1119+++
1120**** 'override-redirect' tells the window manager to disregard this
1121frame.
1122
1123+++
1124*** The 'width' and 'height' frame parameters allow to specify pixel
1125values now.
1126
1127+++
1128*** The new function 'frame-list-z-order' returns a list of all frames
1129in Z (stacking) order.
1130
1131+++
1132*** The function 'x-focus-frame' optionally tries to not activate its
1133frame.
1134
1135+++
1136*** The variable 'focus-follows-mouse' has a third meaningful value
1137'auto-raise' to indicate that the window manager automatically raises a
1138frame when the mouse pointer enters it.
1139
1140+++
1141*** The new function 'frame-restack' puts a frame above or below
1142another on the display.
1143
1144+++
1145*** The new face 'internal-border' specifies the background of a frame's
1146internal border.
1147
1148+++
1149*** The NORECORD argument of 'select-window' now has a meaningful value
1150'mark-for-redisplay' which is like any other non-nil value but marks
1151WINDOW for redisplay.
1152
1153+++
1081*** Support for side windows is now official. The display action 1154*** Support for side windows is now official. The display action
1082function 'display-buffer-in-side-window' will display its buffer in a 1155function 'display-buffer-in-side-window' will display its buffer in a
1083side window. Functions for toggling all side windows on a frame, 1156side window. Functions for toggling all side windows on a frame,
@@ -1096,6 +1169,16 @@ section "Atomic Windows" in the Elisp manual.
1096assign window parameters to the window used for displaying the buffer. 1169assign window parameters to the window used for displaying the buffer.
1097 1170
1098+++ 1171+++
1172*** New function 'display-buffer-reuse-mode-window' is an action function
1173suitable for use in 'display-buffer-alist'. For example, to avoid creating
1174a new window when opening man pages when there's already one, use
1175(add-to-list 'display-buffer-alist
1176 '("\\`\\*Man .*\\*\\'" .
1177 (display-buffer-reuse-mode-window
1178 (inhibit-same-window . nil)
1179 (mode . Man-mode))))
1180
1181+++
1099*** New window parameter 'no-delete-other-window' prevents that 1182*** New window parameter 'no-delete-other-window' prevents that
1100its window gets deleted by 'delete-other-windows'. 1183its window gets deleted by 'delete-other-windows'.
1101 1184
@@ -1104,9 +1187,14 @@ its window gets deleted by 'delete-other-windows'.
1104windows. 1187windows.
1105 1188
1106+++ 1189+++
1107*** New error type 'user-search-failed' like 'search-failed' but 1190*** New functions 'window-pixel-width-before-size-change' and
1108avoids debugger like 'user-error'. 1191'window-pixel-height-before-size-change' support detecting which
1192window changed size when 'window-size-change-functions' are run.
1109 1193
1194+++
1195*** The semantics of 'mouse-autoselect-window' has changed slightly.
1196For details see the section "Mouse Window Auto-selection" in the Elisp
1197manual.
1110 1198
1111* Changes in Emacs 26.1 on Non-Free Operating Systems 1199* Changes in Emacs 26.1 on Non-Free Operating Systems
1112 1200