changeset 30038:9a141c819d48

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Tue, 04 Jul 2000 19:01:01 +0000
parents 79b4fa5288c3
children 07f23448b6e5
files etc/NEWS src/ChangeLog
diffstat 2 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Tue Jul 04 18:58:02 2000 +0000
+++ b/etc/NEWS	Tue Jul 04 19:01:01 2000 +0000
@@ -1236,6 +1236,13 @@
 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual,
 (Display-related features are described in a page of their own below.)
 
+** The new function `window-list' has been defined
+
+- Function: window-list &optional WINDOW MINIBUF ALL-FRAMES
+
+Return a list of windows in canonical order.  The parameters WINDOW,
+MINIBUF and ALL-FRAMES are defined like for `next-window'.
+
 ** There's a new function `some-window' defined as follows
 
 - Function: some-window PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT
--- a/src/ChangeLog	Tue Jul 04 18:58:02 2000 +0000
+++ b/src/ChangeLog	Tue Jul 04 19:01:01 2000 +0000
@@ -5,6 +5,28 @@
 
 2000-07-04  Gerd Moellmann  <gerd@gnu.org>
 
+	* window.c (Vwindow_list): New variable.
+	(make_window, delete_window): Set Vwindow_list to nil.
+	(check_window_containing): New function.
+	(window_from_coordinates): Rewritten.
+	(add_window_to_list, window_list, candidate_window_p)
+	(decode_next_window_args, next_window): New functions.
+	(Fnext_window, Fprevious_window): Rewritten in terms of
+	next_window.
+	(Fwindow_list): New function.
+	(Fother_window): Cleaned up.
+	(foreach_window): Add a longer "variable argument list".  Let
+	callback function return 0 to indicate that cycling over windows
+	should stop.
+	(foreach_window_1): Likewise.
+	(freeze_window_start): Return int.
+	(init_window): New function.
+	(syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list.
+
+	* emacs.c (handle_USR1_signal, handle_USR2_signal) Clear
+	input_event with bzero.
+	(main): Call init_window.
+
 	* keymap.c (get_keyelt): Temporarily inhibit GC while evaluating
 	a menu filter.