Commit Graph

217 Commits

Author SHA1 Message Date
Richard M. Stallman
c6b530ed93 (set_window_height): Allow all heights > 0 for minibuffer windows.
(change_window_height): Fix one-off comparing DELTA with MAXIMUM.
1997-07-21 20:00:36 +00:00
Richard M. Stallman
046fd69c84 Fix copyright year. 1997-07-12 06:37:59 +00:00
Richard M. Stallman
34c0dab2b7 (Fcoordinates_in_window_p): Convert Fcons arguments to Lisp_Integer.
(save_window_save): Convert Fset_marker argument to Lisp_Integer.
1997-07-12 06:37:04 +00:00
Richard M. Stallman
d2b352346d Include blockinput.h.
(Fset_window_configuration): Block input around frobbing the frame.
Preseve point in the current buffer if we do not switch to a different one.
1997-07-07 05:32:01 +00:00
Richard M. Stallman
bccd3dd175 (temp_output_buffer_show): Copy default-directory from current buffer. 1997-06-29 00:35:28 +00:00
Richard M. Stallman
089e71e47a (Fsplit_window): Ignore FRAME_NO_SPLIT_P here.
(inhibit_frame_unsplittable): Variable deleted.
(syms_of_window): Don't set up Lisp variable.
1997-05-31 05:50:22 +00:00
Richard M. Stallman
91a78190f1 (syms_of_window): Initialize inhibit_frame_unsplittable. 1997-05-27 02:46:14 +00:00
Simon Marshall
eddd51c280 frame-override-unsplittable/inhibit-frame-unsplittable name change. 1997-05-26 08:17:39 +00:00
Richard M. Stallman
62a7e6ebb4 (Fdisplay_buffer): Use B not b for interactive argument. 1997-05-26 02:41:42 +00:00
Richard M. Stallman
396a830c5e (Fset_window_configuration): Set last_selected_window
in the new selected window's new buffer.
1997-05-06 03:29:39 +00:00
Richard M. Stallman
48d9379dfe (Fdisplay_buffer): If we give up and try other frames,
look again for a window in those frames already showing BUFFER.
1997-05-03 06:12:28 +00:00
Richard M. Stallman
7d601aaaf6 (frame_allow_splitting): New variable.
(Fsplit_window): Ignore `unsplittable' if frame_allow_splitting.
(syms_of_window): Set up Lisp var.
1997-04-23 00:30:43 +00:00
Karl Heuer
296b535c36 (delete_window): Don't return value from void function.
(Fset_window_buffer, Fdisplay_buffer): Don't use Lisp_Object as integer.
1997-04-10 21:26:07 +00:00
Richard M. Stallman
543f5fb17f (Qwindow_configuration_change_hook): New variable.
(Vwindow_configuration_change_hook): New variable.
(syms_of_window): Initialize; set up Lisp var.
(delete_window): New subroutine, from Fdelete_window.
Most callers changed.
(Fdelete_window): Call Vwindow_configuration_change_functions.
(Fset_window_buffer, Fenlarge_window, Fshrink_window):
Call the Vwindow_configuration_change_functions.
(Fset_window_configuration): Likewise.
1997-04-02 03:44:32 +00:00
Richard M. Stallman
850ebd4fab (Fset_window_buffer): Increment display_count if it is an integer. 1997-03-22 04:18:04 +00:00
Karl Heuer
dc91fb5dbd (change_window_height): Handle shrink as well as enlarge. 1997-03-14 17:22:11 +00:00
Karl Heuer
5a255667cc (Fpos_visible_in_window_p): Bug fix. Specify big
negative number for the argument TOHPOS of compute_motion().
We don't need to calculate to (HPOS==0), but can stop immediately
when VPOS pasts HEIGHT.
1997-02-20 06:42:13 +00:00
Richard M. Stallman
db98a733f2 (change_window_height): Take size from multiple siblings,
nearest ones first, when that can be done without deleting any of them.
1997-02-08 18:34:53 +00:00
Richard M. Stallman
9317a85d0f (scroll_preserve_screen_position): New variable.
(keys_of_window): Set up Lisp var.
(window_scroll): If scroll_preserve_screen_position is 0,
behave the old way (advancing point the minimum distance).
1997-02-08 15:50:17 +00:00
Richard M. Stallman
101d160585 (window_scroll): Preserve vpos of point
if we cannot preserve the actual position of it.
Make it static.  New arg WHOLE; callers changed.
1996-12-26 21:01:10 +00:00
Richard M. Stallman
345d45b2c0 (window_scroll): Don't set w->start or w->force_start if signaling an error. 1996-12-10 23:26:48 +00:00
Geoff Voelker
0f7d64d245 (special-display-p, same-window-p): Add missing
newlines and backslashes in help strings.
1996-11-19 04:46:30 +00:00
Richard M. Stallman
0c7da84e74 (window_scroll): Handle scroll_margin
by putting point at a place that won't force recentering.
1996-11-11 00:34:50 +00:00
Richard M. Stallman
4d047f502e (Fdelete_other_windows): Set optional_new_start instead of force_start. 1996-11-10 00:26:03 +00:00
Richard M. Stallman
5c204627aa (window_loop, case GET_BUFFER_WINDOW):
Don't find any minibuffer window
except the one that is currently in use.
1996-11-06 07:38:41 +00:00
Erik Naggum
a0d76c279e Reorganize function definitions so etags finds them. 1996-10-31 13:43:37 +00:00
Erik Naggum
6777ae524e (special-display-p): Doc fix. 1996-10-06 16:55:03 +00:00
Erik Naggum
4628f7a447 (Fspecial_display_p, Fsame_window_p): New functions.
(Fdisplay_buffer): Use them, instead of doing the work here.
(syms_of_window): Defsubr them.
1996-10-06 16:17:41 +00:00
Richard M. Stallman
524580a4ac (syms_of_window): Doc fixes. 1996-09-26 03:43:31 +00:00
Richard M. Stallman
111e5992df (Fwindow_edges): Use new WINDOW_RIGHT_EDGE macro.
(coordinates_in_window): Use WINDOW_LEFT_MARGIN, WINDOW_RIGHT_MARGIN,
and WINDOW_RIGHT_EDGE.  Adjust for left-side scroll bar margin.
(window_loop, Fdisplay_buffer): Use new WINDOW_FULL_WIDTH_P macro.
(window_internal_width): Window width now always includes the
scroll bar, if any.  Use WINDOW_RIGHTMOST_P and WINDOW_FULL_WIDTH_P.
1996-09-23 04:36:43 +00:00
Richard M. Stallman
3cd2152366 (Fset_window_start): Clear last_overlay_modified field.
(set_window_height, set_window_width, Fset_window_buffer)
(change_window_height, window_scroll, Fset_window_configuration):
Clear last_overlay_modified field.
(Fpos_visible_in_window_p): Test last_overlay_modified field.
1996-09-16 06:29:40 +00:00
Richard M. Stallman
86e4843672 (unshow_buffer): Clear last_selected_window slot, maybe.
(Fset_window_buffer): Set last_selected_window slot.
(Fselect_window): Set last_selected_window slot.
(delete_all_subwindows): Maybe call unshow_buffer.
1996-09-02 05:13:11 +00:00
Karl Heuer
e3678b6433 Removed support for !MULTI_FRAME. 1996-09-01 21:04:32 +00:00
Karl Heuer
6ec8bbd20d Change all references from point to PT. 1996-09-01 19:15:05 +00:00
Erik Naggum
fb42d95500 (Fsplit_window): Fix previous change. 1996-08-24 12:12:08 +00:00
Richard M. Stallman
a59fed7e23 (Fsplit_window): Treat width just like height;
no special handling for scroll bars.
1996-08-23 06:20:58 +00:00
Karl Heuer
f5ccc0ccc9 (struct save_window_data, struct saved_window): First
placeholder member is EMACS_INT, not int.
1996-07-16 06:17:37 +00:00
Richard M. Stallman
e4e5971709 Whitespace and #if 0 code changes. 1996-06-10 21:01:22 +00:00
Richard M. Stallman
6ba86f3775 (Fset_window_configuration) [HAVE_WINDOW_SYSTEM]: Call
`x_set_menu_bar_lines' on MSDOS as well.
1996-06-10 21:00:11 +00:00
Richard M. Stallman
5abcf43247 (Fdisplay_buffer): Doc fix. 1996-05-30 23:09:44 +00:00
Roland McGrath
37962e6044 (display_buffer_1): Fix typo in last change. 1996-02-10 07:33:29 +00:00
Richard M. Stallman
60117126b5 (display_buffer_1): Raise the frame if already visible. 1996-02-10 07:13:00 +00:00
Richard M. Stallman
5b03d3c0a1 (Fset_window_buffer): Set buffer temporarily around running
the window-scroll-functions.
(Fset_window_buffer_unwind): New function.
(window_initialized): New variable.
(init_window_once): Set it.
1996-01-31 05:11:48 +00:00
Karl Heuer
27abb84f2a (replace_buffer_in_all_windows): Don't change selected
window, even temporarily; that has undesirable side effects.
1996-01-17 19:03:02 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Richard M. Stallman
441a127ec2 (display_buffer_1): Don't deiconify the selected frame. 1996-01-15 05:05:20 +00:00
Erik Naggum
b4d57b9deb (window_scroll): Fix typo in comment. 1996-01-12 23:39:57 +00:00
Richard M. Stallman
dba06815c9 (Fset_window_buffer): Call the window-scroll-functions. 1996-01-11 17:16:12 +00:00
Erik Naggum
413430c5d8 (Fwindowp, Fwindow_live_p, Fother_window, Fenlarge_window, Fshrink_window,
Fscroll_up, Fscroll_down, Fscroll_other_window, Fscroll_left,
Fscroll_right, Frecenter, Fwindow_configuration_p): Harmonize arguments
with documentation.
1996-01-09 00:34:12 +00:00
Richard M. Stallman
7b9af7a02a (replace_buffer_in_all_windows): Only re-select old
window if it is still live.
1996-01-05 02:42:32 +00:00