]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorGerd Moellmann <gerd@gnu.org>
Tue, 4 Jul 2000 19:01:01 +0000 (19:01 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 4 Jul 2000 19:01:01 +0000 (19:01 +0000)
etc/NEWS
src/ChangeLog

index 1500ca83a13c1d0fe97be33d439ceb39df5471bd..7bcc795946125738aedf039eb4c45f22f7ebe46d 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1236,6 +1236,13 @@ functionality with aliases for the mldrag functions.
 * 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
index 8e8823cd04b0d82095e5ab17d441380b581dcdb6..2cbbe1c5f776a9f5845a1411e43019bb630ba028 100644 (file)
@@ -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.