aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2011-09-23 17:01:49 +0200
committerMartin Rudalics2011-09-23 17:01:49 +0200
commitc4682d186f8f9914d65f95b8a9470f166348b689 (patch)
tree3eee55007bf70881561fba5611e711dc27d3ce95
parentd68e189a96918b113f565d5ce46257c7e9bc963c (diff)
downloademacs-c4682d186f8f9914d65f95b8a9470f166348b689.tar.gz
emacs-c4682d186f8f9914d65f95b8a9470f166348b689.zip
Document some window code changes in NEWS.
-rw-r--r--doc/lispref/ChangeLog1
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/NEWS91
3 files changed, 96 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 90d346c0bf7..0094e7c12a6 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -25,6 +25,7 @@
25 window-list-1. 25 window-list-1.
26 (Buffers and Windows): Rewrite. Explain a window's previous and 26 (Buffers and Windows): Rewrite. Explain a window's previous and
27 next buffers and the corresponding functions. 27 next buffers and the corresponding functions.
28 (Window Tree): Merge into Windows and Frames section.
28 * elisp.texi (Top): Update node listings for frames and windows 29 * elisp.texi (Top): Update node listings for frames and windows
29 sections. 30 sections.
30 31
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 8e550bff8a0..e7d32b64ce4 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
12011-09-23 Martin Rudalics <rudalics@gmx.at>
2
3 * NEWS: Document some window code changes.
4
12011-09-20 Bill Wohler <wohler@newt.com> 52011-09-20 Bill Wohler <wohler@newt.com>
2 6
3 Release MH-E version 8.3. 7 Release MH-E version 8.3.
diff --git a/etc/NEWS b/etc/NEWS
index 9d078b9ba28..e697db7e888 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -961,6 +961,97 @@ of the line.
961 961
962** Window changes 962** Window changes
963 963
964+++
965*** Window tree functions are accessible in Elisp.
966Functions are provided to return the parent, siblings or child windows
967of any window including internal windows (windows not associated with a
968buffer) in the window tree.
969
970+++
971*** Window manipulation can deal with internal windows.
972Many window handling functions like `split-window', `delete-window', or
973`delete-other-windows' as well as the window resizing functions can now
974act on any window including internal ones.
975
976+++
977*** window-total-height/-width vs window-body-height/-width.
978The function `window-height' has been renamed to `window-total-height'
979and `window-width' has been renamed to `window-body-width'. The old
980names are provided as aliases. Two new functions `window-total-width'
981and `window-body-height' are provided.
982
983+++
984*** Window parameters specific to window handling functions.
985For each window you can specify a parameter to override the default
986behavior of a number of functions like `split-window', `delete-window'
987and `delete-other-windows'.
988
989+++
990*** New semantics of third argument of `split-window'.
991
992The third argument of `split-window' has been renamed to SIDE and can be
993set to any of the values 'below, 'right, 'above, or 'left to make the
994new window appear on the corresponding side of the window that shall be
995split. Any other value of SIDE will cause `split-window' to split the
996window into two side-by-side windows as before.
997
998+++
999*** New option `window-nest'.
1000The new option `window-nest' allows to return the space obtained for
1001resizing or creating a window more reliably to the window from which
1002such space was obtained.
1003
1004+++
1005*** New option `window-splits'.
1006The new option `window-splits' allows to split a window that otherwise
1007cannot be split because it's too small by stealing space from other
1008windows in the same combination.
1009
1010+++
1011*** `split-window-above-each-other' and `split-window-side-by-side'.
1012The commands `split-window-vertically' and `split-window-horizontally'
1013have been renamed to `split-window-above-each-other' and
1014`split-window-side-by-side' respectively. The old names are provided as
1015aliases.
1016
1017+++
1018*** Window resizing functions.
1019A new standard function for resizing windows called `resize-window' has
1020been introduced. This and all other functions for resizing windows no
1021longer delete any windows when they become too small.
1022
1023+++
1024*** Frame/window resizing.
1025Resizing an Emacs frame now preserves the proportional sizes of
1026subwindows modulo restrictions imposed by window minimum sizes and
1027fixed-size windows.
1028
1029+++
1030*** `adjust-window-trailing-edge' adjustments.
1031`adjust-window-trailing-edge' can now deal with fixed-size windows and
1032is able to resize other windows if a window adjacent to the trailing
1033edge cannot be shrunk any more. This makes its behavior more similar to
1034that of Emacs 21 without compromising, however, its inability to delete
1035windows which was introduced in Emacs 22.
1036
1037+++
1038*** Commands for maximizing and minimizing windows.
1039New functions to maximize and minimize a window within its frame are
1040provided, namely `maximize-window' and `minimize-window'.
1041
1042+++
1043*** Window-local buffer lists.
1044Windows now have local buffer lists. This means that removing a buffer
1045from display in a window will preferably show the buffer previously
1046shown in that window with its previous window-start and window-point
1047positions. This also means that the same buffer may be automatically
1048shown twice even if it already appears in another window.
1049
1050+++
1051*** New commands `switch-to-prev-buffer' and `switch-to-next-buffer'.
1052These functions allow to navigate through the live buffers that have
1053been shown in a specific window.
1054
964*** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW, 1055*** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW,
965which if non-nil requires the buffer to be displayed in the currently 1056which if non-nil requires the buffer to be displayed in the currently
966selected window, signaling an error otherwise. If nil, another window 1057selected window, signaling an error otherwise. If nil, another window