Karl Heuer
00d3d838ef
(Fdelete_other_windows): Do nothing if w->start is outside region.
...
Don't temporarily move point when recomputing window position.
1994-05-06 01:49:51 +00:00
Karl Heuer
5ce7b54343
Use PT, not point.
1994-05-06 01:00:15 +00:00
Richard M. Stallman
147a661590
(Fselect_window): Use Fselect_frame.
1994-04-24 08:34:14 +00:00
Richard M. Stallman
a90712c210
Implement special frames for specified buffers.
...
(Vspecial_display_buffer_names, Vspecial_display_regexps)
(Vspecial_display_function): New variables.
(syms_of_window): Set up Lisp variables.
(Fdisplay_buffer): Handle them.
1994-04-23 21:37:15 +00:00
Richard M. Stallman
abdced835c
(set_window_width): Don't delete root window for being too narrow.
1994-04-20 07:27:20 +00:00
Karl Heuer
217f28719e
(Fset_window_configuration): Only call X fns if HAVE_X_WINDOWS.
1994-04-13 18:14:44 +00:00
Karl Heuer
c6e7309356
(Fnext_window, Fprevious_window, Fdisplay_buffer): Test MULTI_FRAME when
...
handling argument `all_frames'.
1994-04-13 18:04:40 +00:00
Karl Heuer
e37f06d7db
Add window argument on calls to compute_motion.
1994-04-05 23:49:15 +00:00
Karl Heuer
ee61d94e70
(Fwindow_width): Delete unnecessary variable declarations.
1994-03-29 07:20:26 +00:00
Karl Heuer
12cae7c04d
(unshow_buffer, window_loop, Fdisplay_buffer): Use assignment, not
...
initialization.
1994-03-25 00:41:05 +00:00
Karl Heuer
279e0e0c5d
(Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fix.
1994-03-23 20:31:08 +00:00
Karl Heuer
cd2be1ddb8
(window_scroll, Fmove_to_window_line): Avoid dividing negative numbers,
...
since the rounding effect is implementation-defined.
1994-03-14 21:36:17 +00:00
Richard M. Stallman
540b6aa005
(Fdelete_other_windows): Pass new arg to Fvertical_motion.
...
(window_scroll, Frecenter, Fmove_to_window_line): Likewise.
1994-03-14 01:28:49 +00:00
Karl Heuer
8c2c32d279
(Fselect_window): Undo previous minibuffer change.
1994-03-09 06:02:56 +00:00
Richard M. Stallman
d29a563167
(window_loop): Delete MULTI_FRAME
...
conditional within the loop, spuriously added in prev change.
Don't ignore invisible or iconified frames for GET_BUFFER_WINDOW;
instead, let Fnext_window skip them if appropriate.
1994-03-09 05:59:08 +00:00
Karl Heuer
671cfd1aa3
(Fselect_window): Don't select an inactive minibuffer.
1994-03-09 04:17:47 +00:00
Richard M. Stallman
e8edb3aef6
(Fdisplay_buffer): If pop_up_frames != 0,
...
consider just visible frames when looking for existing window.
1994-03-08 23:28:14 +00:00
Richard M. Stallman
89bca6129b
(Fprevious_window, Fnext_window): ALL_FRAMES = visible
...
means consider only visible frames.
(window_loop): Likewise for FRAMES.
(Fget_buffer_window, Fget_largest_window, Fget_lru_window): Doc fix.
(Fdelete_windows_on): Doc fix.
1994-03-08 06:20:18 +00:00
Richard M. Stallman
3b5908ef61
(Fwindow_width): Doc fix.
1994-03-08 00:09:03 +00:00
Karl Heuer
77b24de6f6
(Fscroll_other_window): Doc fix.
1994-03-07 18:39:11 +00:00
Karl Heuer
8f6ea2e9b7
(Fset_window_configuration): Allow for menu-bar-lines to have changed since
...
the configuration was created.
1994-02-26 04:24:37 +00:00
Richard M. Stallman
573f41aba9
(unshow_buffer): Unconditionally set last_window_start.
1994-02-18 06:10:23 +00:00
Richard M. Stallman
4f2eb61d72
(Fdelete_other_windows): Don't call Frecenter;
...
do it by hand and avoid setting w->force_start.
1994-02-18 01:12:10 +00:00
Karl Heuer
afdb248596
(Fpos_visible_in_window_p): Take hscroll into account.
1994-02-11 00:00:28 +00:00
Karl Heuer
33eb4ede43
(Fpos_visible_in_window_p): Return nil if POS > ZV.
1994-02-02 07:16:51 +00:00
Richard M. Stallman
5141b90115
(Fdisplay_buffer): If pop_up_frames, pass t to Fget_buffer_window.
1993-12-23 01:07:58 +00:00
Richard M. Stallman
d895abb0ba
(window_loop, case DELETE_BUFFER_WINDOWS):
...
Select a new buffer only if w is selected window.
1993-11-21 22:15:04 +00:00
Brian Fox
3cbbb729f9
(Fdelete_windows_on): Fix DEFUN to allow optional second arg to appear.
1993-09-22 18:14:10 +00:00
Roland McGrath
18160b98ce
Include <config.h> instead of "config.h".
1993-09-10 06:15:46 +00:00
Richard M. Stallman
a68c0d3b6e
(enum window_loop): Delete final comma.
1993-08-11 20:46:27 +00:00
Richard M. Stallman
f16a1ed371
(Frecenter): Preserve point in the buffer we change it in.
1993-08-11 19:29:19 +00:00
Jim Blandy
628df3bfd9
* window.c (check_frame_size): Include the menu bar height in the
...
minimum frame height.
1993-07-30 01:48:19 +00:00
Richard M. Stallman
5a41ab94d9
(Fset_window_buffer): Clear window_end_{pos,valid}.
1993-07-26 19:14:26 +00:00
Jim Blandy
26f6279de1
* window.c [not MULTI_FRAME] (Fdelete_windows_on): Set FRAME
...
argument to Qt, instead of trying to typecheck it.
* window.c (Fdelete_windows_on): New optional argument FRAME; if
nil, delete windows on all frames. If t, delete windows on the
selected frame only. If a frame, delete windows on that frame
only.
* window.c (Fnext_window, Fprevious_window): Put these docstrings
in comments; the strings are too long for some C compilers.
1993-07-18 06:28:40 +00:00
Jim Blandy
1bc981d2b5
Don't let the 'B' interactive spec default to buffers viewed in
...
any visible frame.
* buffer.c (Fother_buffer): Pass Qt as the second argument
to Fget_buffer_window.
* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
non-visible frames.
(Fget_buffer_window): Change doc string to mention that passing Qt
for the FRAME argument returns windows on visible frames only.
(Qvisible): Removed.
1993-06-17 05:06:36 +00:00
Jim Blandy
75d8f6686c
Don't let the 'B' interactive spec default to buffers viewed in
...
any visible frame.
* buffer.c (Fother_buffer): Pass Qvisible as the second argument
to Fget_buffer_window.
* window.c (Qvisible): New symbol.
(window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible,
ignore non-visible frames.
(Fget_buffer_window): Expand doc string to mention that Qvisible
is an interesting value for FRAME argument.
(syms_of_window): Init and staticpro Qvisible.
* lisp.h (Qvisible): New declaration.
1993-06-17 00:39:37 +00:00
Jim Blandy
79f92720d1
* window.c (check_frame_size): Allow minibuffer-only frames to be
...
one line high.
1993-06-16 21:26:47 +00:00
Richard M. Stallman
0def0403ca
(Fdelete_window): Handle deleting a parent of the selected window.
...
(Fdelete_window): Mostly undo last change which made `frame' a FRAME_PTR.
Don't initialize `frame' in the declaration.
1993-06-14 07:07:05 +00:00
Richard M. Stallman
ae3050b389
(Fdelete_window): Make `frame' a FRAME_PTR and use as such.
1993-06-12 17:06:34 +00:00
Jim Blandy
5e12e32f7b
* window.c (Fprevious_window): Use FRAME_HAS_MINIBUF_P to decide
...
if the frame has a minibuffer; FRAME_MINIBUF_WINDOW points to the
surrogate on minibufferless frames, not nil.
1993-06-12 09:31:25 +00:00
Jim Blandy
7ee2a20445
* window.c (Fprevious_window): Typo.
1993-06-11 11:18:37 +00:00
Richard M. Stallman
644b477c86
(Fscroll_left): Make argument optional.
...
(Fscroll_right): Ditto.
(Fprevious_window): When changing frames,
use the new frame's minibuffer if any.
1993-06-10 20:08:25 +00:00
Richard M. Stallman
52a68e986d
(Fset_window_configuration): If a window is supposed
...
to have a buffer, always give it one.
(syms_of_window): Always defvar pop-up-frames
and pop-up-frame-function.
1993-06-07 05:29:40 +00:00
Richard M. Stallman
e36ab06b7f
(Fset_window_buffer): Set window's force_start to Qnil.
1993-05-31 18:22:48 +00:00
Richard M. Stallman
a2db42d60f
(window_loop, case GET_LRU_WINDOW): Get frame's width properly.
1993-05-27 03:46:21 +00:00
Jim Blandy
c6c5df7f76
Updated copyright years.
1993-05-22 21:34:42 +00:00
Jim Blandy
1f18c48f3a
* window.c (window-dedicated-p): Doc fix.
1993-05-18 22:07:14 +00:00
Richard M. Stallman
3a68f530fe
(Vmouse_event): Var deleted.
...
(syms_of_window): Don't make it Lisp var.
1993-05-08 16:28:36 +00:00
Richard M. Stallman
6648f23a73
(Fdisplay_buffer): Add space to prompt.
1993-05-04 22:13:52 +00:00
Eric S. Raymond
270967b219
(Fset-window-buffer): Set horizontal-scrolling on a window to zero when
...
we connect it to a new buffer.
1993-04-25 06:15:18 +00:00