aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Frecenter): Clear all caches of compositions.Kenichi Handa1999-12-151-0/+5
|
* (delete_window): Block input for the time windowGerd Moellmann1999-12-071-3/+6
| | | | matrices are being changed.
* (Fwindow_end): Don't call temp_set_pt_both withGerd Moellmann1999-11-281-2/+15
| | | | out of range position.
* more XCAR/XCDR/XFLOAT_DATA uses, to help isolete lisp engineKen Raeburn1999-10-251-2/+2
|
* (Fnext_window): Add a QUIT in the loop.Gerd Moellmann1999-10-231-0/+2
|
* (enum save_restore_action): New.Gerd Moellmann1999-10-161-21/+59
| | | | | | | | | | (save_restore_orig_size): Change parameter list. Add functionality to check for valid orig_top and orig_height members in a window tree. (grow_mini_window): Call save_restore_orig_size with new parameter list. (shrink_mini_window): Restore old window sizes only if old size information is valid in all windows in a window tree.
* (enlarge_window): Add window parameter instead of usingGerd Moellmann1999-09-231-16/+18
| | | | | | | | | selected_window. (Fdisplay_buffer): Call it with window parameter instead of setting selected_window. (Fenlarge_window, Fshrink_window): Ditto. (shrink_mini_window): If there is no recorded height and position info, resize mini-window to height 1.
* (window_min_size): Add parameter ignore_fixed_p.Gerd Moellmann1999-09-231-22/+218
| | | | | | | | | | | | (change_window_height): Call window_min_size with new parameter. (shrink_window_lowest_first, save_restore_orig_size, grow_mini_window, shrink_mini_window): New. (make_window, replace_window): Initialize orig_top and orig_height. (enlarge_window): Renamed from change_window_height. Make it static. (Fdisplay_buffer, Fenlage_window, Fshrink_window): Call enlarge_window instead of change_window_height.
* (Fset_window_buffer): Remove unused variables.Gerd Moellmann1999-09-161-17/+20
| | | | | | (Fset_window_margins): Ditto. (window_fixed_size_p): Check window's height_fixed_p flag.
* (Fminibuffer_window): Change for Lisp_ObjectGerd Moellmann1999-09-131-36/+37
| | | | | | | selected_frame. (Fwindow_at, Fprevious_window, window_loop, select_window_1, display_buffer_1, Fdisplay_buffer, temp_output_buffer_show, Fcurrent_window_configuration, init_window_once): Ditto.
* (Fset_window_margins): Make window the first argument.Gerd Moellmann1999-09-071-5/+4
| | | | | (set_window_buffer): Call Fset_window_margins with window as first argument.
* (Fset_window_vscroll): Make window the first argument,Gerd Moellmann1999-09-051-11/+19
| | | | | | amount to scroll the second. Take non-negative vscroll as argument. (Fwindow_vscroll): Return non-negative vscroll.
* ChangeGerd Moellmann1999-09-051-5/+5
| | | | | `top-line' and `top_line' to `header-line' and `header_line'. Likewise for similar spellings.
* Change spelling of `toolbar' to `tool_bar' or `tool-bar'.Gerd Moellmann1999-09-051-18/+18
| | | | Likewise for upper-case etc.
* (Qwindow_size_fixed): Replaces Qfixed_window_size.Gerd Moellmann1999-09-041-4/+4
| | | | | | (window_fixed_size_p): Use Qwindow_size_fixed instead of Qfixed_window_size. (syms_of_window): Ditto.
* (foreach_window, foreach_window_1): New.Gerd Moellmann1999-09-031-24/+74
| | | | | | | | (freeze_window_start, freeze_window_starts): New. (make_window): Initialize frozen_window_start_p. (replace_window): Ditto. (Fset_window_point): Remove references to deleted variables. (Fset_window_start): Ditto.
* (coordinates_in_window): UseGerd Moellmann1999-08-301-2/+2
| | | | | | FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH. (window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once instead of twice.
* (Frecenter): Clear frame if called with nil or no arg.Gerd Moellmann1999-08-251-0/+1
|
* (Fset_window_point): Reset Vresize_mini_config.Gerd Moellmann1999-08-241-0/+25
| | | | | (Fset_window_start): Ditto. (set_window_buffer): Ditto.
* (Fset_window_hscroll): SetGerd Moellmann1999-08-231-3/+4
| | | | | | | prevent_redisplay_optimizations_p instead of clip_changed. (Fset_window_hscroll): Ditto. (temp_output_buffer_show): Ditto. (Fset_window_vscroll): Ditto.
* Call change_frame_size and do_pending_window_change withGerd Moellmann1999-08-211-2/+2
| | | | new parameter.
* (Fcoordinates_in_window_p): Return `left-bitmap-area'Gerd Moellmann1999-08-171-5/+27
| | | | | | | | | and `right-bitmap-area' if position is in the bitmap areas. This avoids an error when clicking on the bitmap areas. Instead, they are currently treated like clicks inside the window. (coordinates_in_window): Return 5 and 6 for bitmap areas. (Qleft_bitmap_area, Qright_bitmap_area): New. (syms_of_window): Initialize new symbols.
* (Fpos_visible_in_window_p): Rewritten.Gerd Moellmann1999-08-171-24/+21
|
* (Qfixed_window_size): New.Gerd Moellmann1999-08-151-160/+453
| | | | | | | | | | | | | | | | | (syms_of_window): Initialiaze it. (check_all_windows): Add return type void. (window_fixed_size_p): New. Return non-zero if window is fixed-size. (window_min_size_1): New. (window_min_size): Handle fixed-size windows. (size_window): New. Rewritten combination of set_window_height and set_window_width that handles fixed-size windows. (set_window_height): Call it. (set_window_width): Call it. (Fsplit_window): Give an error on attempt to split a fixed-size window. (change_window_height): Partly rewritten to handle fixed-size windows.
* (set_window_height, set_window_width):Gerd Moellmann1999-08-131-2/+23
| | | | | | If window starts out "too small", set its too_small_ok flag. If window's too_small_ok flag is set, don't delete it unless it is so small it would cause a crash.
* (MINSIZE): Removed.Gerd Moellmann1999-08-131-21/+52
| | | | | | (window_min_size): New. (set_window_height): Use window_min_size. (change_window_height): Ditto.
* (display-buffer): Don't get confusedRichard M. Stallman1999-08-051-4/+5
| | | | by "same-window" buffers in a dedicated frame.
* (Fset_window_configuration) [MSDOS]: Don't callEli Zaretskii1999-07-301-0/+4
| | | | x_set_toolbar_lines.
* (Fsplit_window): For default size, round up for left window.Karl Heuer1999-07-231-2/+4
|
* (Fcoordinates_in_window_p): Rewritten.Gerd Moellmann1999-07-211-163/+741
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (scroll_command): If not acting on current_buffer, make redisplay consider all windows. (coordinates_in_window): Rewritten. (Fdelete_other_windows): Use FRAME_TOP_MARGIN instead of FRAME_MENU_BAR_LINES. (check_frame_size): Ditto. (struct save_window_data): Add frame_toolbar_lines. (Fcurrent_window_configuration): Save toolbar lines. (window_from_coordinates): Rewritten. (Vscroll_preserve_screen_position): Replacement for scroll_preserve_screen_position. (window_scroll_pixel_based): New. (Fsplit_window): Rewritten. (window_internal_width): Rewritten. (set_window_buffer): Extracted from Fset_window_buffer, with an additional argument specifying whether or not hooks may be called. (Fset_window_buffer): Call it. (Fset_window_vscroll): New. (Fwindow_vscroll): New. (Fpos_visible_in_window_p): Rewrite. (change_window_height): Return void. (make_dummy_parent): Return void. (init_window_once): Return void. (syms_of_window): Ditto. (keys_of_window): Ditto. (delete_window): Correct return with and without value. (unshow_buffer): Return void. (delete_window): Ditto. (set_window_height): Return void. (set_window_width): Ditto. (get_phys_cursor_glyph): New. (change_window_height): Ditto. (Fset_window_margins): Ditto. (window_scroll_line_based): Formerly window_scroll. (window_scroll): Call both. (window_topmost_p, window_rightmost_p): Removed because not used. (Fset_window_margins): New. (Fwindow_margins): New. (make_window): Rewritten. (replace_window): Rewritten. (Fset_window_configuration): Rewritten. (get_leaf_windows): New. (Fdelete_window): Free window matrices. (Fdelete_window): Adjust glyphs. (change_window_height): Ditto.
* (Fset_window_point): If WINDOW is selected but theRichard M. Stallman1999-01-301-1/+2
| | | | current buffer is not its buffer, don't use Fgoto_char.
* (temp_output_buffer_show): Around temp-buffer-show-hook,Richard M. Stallman1998-11-171-3/+3
| | | | | | don't do save-excursion, just restore selected window. (window_loop): For UNSHOW_BUFFER, always do consider minibuffer windows.
* (window_loop): New alternative CHECK_ALL_WINDOWS.Richard M. Stallman1998-10-101-9/+43
| | | | | | | | | | | (check_all_windows): New function for debugging tests. (syms_of_window): Initialize it. (Qwindow_configuration_p): New variable. (Fwindow_configuration_frame): New function. (syms_of_window): defsubr it. (Fset_window_configuration): Return t if frame is live. Use Qwindow_configuration_p.
* (Fsplit_window): Doc fix.Richard M. Stallman1998-08-061-1/+2
|
* (Fmove_to_window_line): Doc fix.Richard M. Stallman1998-08-041-2/+2
|
* (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fix.Karl Heuer1998-05-301-7/+7
|
* (Fdelete_windows_on): For FRAME, change t to nilRichard M. Stallman1998-05-251-6/+9
| | | | and nil to t, but don't change other values.
* (window_loop): Pass new arg to Fother_buffer.Richard M. Stallman1998-05-221-5/+20
| | | | | | (select_window_1): New subroutine, from Fselect_window. (Fselect_window): Use select_window_1. (temp_output_buffer_show): Use select_window_1.
* (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fixes.Richard M. Stallman1998-05-201-4/+8
|
* (Fselect_window): Doc fix.Richard M. Stallman1998-05-191-3/+9
| | | | | (temp_output_buffer_show): Make the temp buffer current before running Qtemp_buffer_show_hook.
* (make_window): Initialize last_point field.Andreas Schwab1998-04-291-0/+1
|
* Conditionally include xterm.h using HAVE_X_WINDOWS.Geoff Voelker1998-04-291-1/+1
|
* (Fset_window_configuration): Fix mixing of Lisp_ObjectAndreas Schwab1998-04-141-3/+5
| | | | and int.
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-3/+10
|
* (window_display_table): Don't look inside buffer if its nil.Richard M. Stallman1998-03-201-0/+3
|
* (Frecenter): Operate on window's buffer even if some other was current.Richard M. Stallman1998-03-171-22/+40
| | | | | | | (Fwindow_end): New arg UPDATE. (Fset_window_configuration): Don't call do_switch_frame or run Qwindow_configuration_change_hook if frame is dead.
* (compare_window_configurations): New arg ignore_positions.Richard M. Stallman1998-03-021-13/+32
| | | | | (Fcompare_window_configurations): New function. (syms_of_window): defsubr it.
* (Fdisplay_buffer): New arg FRAME.Richard M. Stallman1998-02-081-8/+20
| | | | | (temp_output_buffer_show): Pass new arg to Fdisplay_buffer. (Fother_window_for_scrolling): Likewise.
* (compare_window_configurations): New function.Richard M. Stallman1998-01-261-4/+99
|
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|