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