diff options
| author | Martin Rudalics | 2017-04-13 18:59:37 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2017-04-13 18:59:37 +0200 |
| commit | a61fa4af2802a47defe61543eb97276d74ba60bd (patch) | |
| tree | e7c953f04b6a22da9df361a15d27560720a9c1c1 | |
| parent | 02220c174eee5a98de756b899a93381021c1c858 (diff) | |
| download | emacs-a61fa4af2802a47defe61543eb97276d74ba60bd.tar.gz emacs-a61fa4af2802a47defe61543eb97276d74ba60bd.zip | |
; Update NEWS for frame and window changes
| -rw-r--r-- | etc/NEWS | 134 |
1 files changed, 111 insertions, 23 deletions
| @@ -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, | 792 | mode for *.html files. This mode handles indentation, |
| 793 | fontification, and commenting for embedded JavaScript and CSS. | 793 | fontification, 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 | |||
| 806 | compatible with previous Emacs versions. This functionality can be disabled | 806 | compatible with previous Emacs versions. This functionality can be disabled |
| 807 | by setting 'byte-compile-cond-use-jump-table' to nil. | 807 | by setting 'byte-compile-cond-use-jump-table' to nil. |
| 808 | 808 | ||
| 809 | +++ | ||
| 810 | ** Resizing a frame no longer runs 'window-configuration-change-hook'. | ||
| 811 | Put 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 |
| 814 | mode to send the same escape sequences that xterm does. This makes | 810 | mode to send the same escape sequences that xterm does. This makes |
| 815 | things like forward-word in readline work. | 811 | things 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 |
| 922 | says that negotiation should complete even on non-blocking sockets. | 918 | says 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 | ||
| 927 | window changed size when 'window-size-change-functions' are run. | ||
| 928 | |||
| 929 | +++ | ||
| 930 | ** New function 'display-buffer-reuse-mode-window' is an action function | ||
| 931 | suitable for use in 'display-buffer-alist'. For example, to avoid creating | ||
| 932 | a 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' |
| 941 | that allows changing the way corrections are sorted. | 922 | that allows changing the way corrections are sorted. |
| @@ -1075,9 +1056,101 @@ that does not exist. | |||
| 1075 | operating recursively and when some other process deletes the directory | 1056 | operating recursively and when some other process deletes the directory |
| 1076 | or its files before 'delete-directory' gets to them. | 1057 | or its files before 'delete-directory' gets to them. |
| 1077 | 1058 | ||
| 1059 | +++ | ||
| 1060 | *** New error type 'user-search-failed' like 'search-failed' but | ||
| 1061 | avoids 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 | ||
| 1071 | been resized since the last time 'window-size-change-functions' has been | ||
| 1072 | run. | ||
| 1073 | |||
| 1074 | +++ | ||
| 1075 | *** The function 'frame-geometry' now also returns the width of a | ||
| 1076 | frame'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 | ||
| 1086 | frame. | ||
| 1087 | |||
| 1088 | +++ | ||
| 1089 | **** 'parent-frame' makes a frame the child frame of another Emacs | ||
| 1090 | frame. The section "Child Frames" in the Elisp manual describes the | ||
| 1091 | intrinsics of that relationship. | ||
| 1092 | |||
| 1093 | +++ | ||
| 1094 | **** 'delete-before' triggers deletion of one frame before that of | ||
| 1095 | another. | ||
| 1096 | |||
| 1097 | +++ | ||
| 1098 | **** 'mouse-wheel-frame' specifies another frame whose windows shall be | ||
| 1099 | scrolled instead. | ||
| 1100 | |||
| 1101 | +++ | ||
| 1102 | **** 'no-other-frame' has 'next-frame' and 'previous-frame' skip this | ||
| 1103 | frame. | ||
| 1104 | |||
| 1105 | +++ | ||
| 1106 | **** 'skip-taskbar' removes a frame's icon from the taskbar and has | ||
| 1107 | Alt-<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 | ||
| 1114 | focus 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 | ||
| 1121 | frame. | ||
| 1122 | |||
| 1123 | +++ | ||
| 1124 | *** The 'width' and 'height' frame parameters allow to specify pixel | ||
| 1125 | values now. | ||
| 1126 | |||
| 1127 | +++ | ||
| 1128 | *** The new function 'frame-list-z-order' returns a list of all frames | ||
| 1129 | in Z (stacking) order. | ||
| 1130 | |||
| 1131 | +++ | ||
| 1132 | *** The function 'x-focus-frame' optionally tries to not activate its | ||
| 1133 | frame. | ||
| 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 | ||
| 1138 | frame when the mouse pointer enters it. | ||
| 1139 | |||
| 1140 | +++ | ||
| 1141 | *** The new function 'frame-restack' puts a frame above or below | ||
| 1142 | another on the display. | ||
| 1143 | |||
| 1144 | +++ | ||
| 1145 | *** The new face 'internal-border' specifies the background of a frame's | ||
| 1146 | internal 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 | ||
| 1151 | WINDOW 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 |
| 1082 | function 'display-buffer-in-side-window' will display its buffer in a | 1155 | function 'display-buffer-in-side-window' will display its buffer in a |
| 1083 | side window. Functions for toggling all side windows on a frame, | 1156 | side window. Functions for toggling all side windows on a frame, |
| @@ -1096,6 +1169,16 @@ section "Atomic Windows" in the Elisp manual. | |||
| 1096 | assign window parameters to the window used for displaying the buffer. | 1169 | assign 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 | ||
| 1173 | suitable for use in 'display-buffer-alist'. For example, to avoid creating | ||
| 1174 | a 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 |
| 1100 | its window gets deleted by 'delete-other-windows'. | 1183 | its window gets deleted by 'delete-other-windows'. |
| 1101 | 1184 | ||
| @@ -1104,9 +1187,14 @@ its window gets deleted by 'delete-other-windows'. | |||
| 1104 | windows. | 1187 | windows. |
| 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 |
| 1108 | avoids debugger like 'user-error'. | 1191 | 'window-pixel-height-before-size-change' support detecting which |
| 1192 | window changed size when 'window-size-change-functions' are run. | ||
| 1109 | 1193 | ||
| 1194 | +++ | ||
| 1195 | *** The semantics of 'mouse-autoselect-window' has changed slightly. | ||
| 1196 | For details see the section "Mouse Window Auto-selection" in the Elisp | ||
| 1197 | manual. | ||
| 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 | ||