| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
(syms_of_window): Fix doc string.
|
| |
|
|
| |
because that function doesn't cope with variable-height lines.
|
| |
|
|
|
|
|
| |
(Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse
frames displaying BUFFER.
(syms_of_window): Define Lisp variable
display-buffer-reuse-frames.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
list, take one USER_DATA argument.
(foreach_window_1): Likewise, and call callback functions with two
args, the window and USER_DATA.
(struct check_window_data): New struct.
(check_window_containing): Use it.
(window_from_coordinates): Set up a struct check_window_data for
foreach_window.
(add_window_to_list, freeze_window_start): Change parameters
according to new calling convention.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
(candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil
means allow windows on OWINDOW's frame, only.
(window_loop): Simplified; use Fwindow_list.
|
| | |
|
| |
|
|
|
|
|
| |
(window_list): Order list so that, for each frame, windows are
in canonical order, and so that frames appear in the list in
the order given by Vframe_list.
(next_window): Reverse the handling of NEXT_P.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
| |
the bottom of a window into account.
|
| |
|
|
|
| |
(Fmove_to_window_line): Use displayed_window_lines to determine
the number of lines to move, instead of using the window's height.
|
| | |
|
| |
|
|
| |
extracting the window structure pointer from it.
|
| |
|
|
| |
if parameters C1 or C2 aren't window configurations.
|
| |
|
|
|
|
|
|
|
| |
with int lvalues via casts; instead, just yield lisp object
lvalues.
(enlarge_window): Variable sizep now points to Lisp_Object. Use
proper accessor macros.
(shrink_window_lowest_first): w->top is Lisp_Object; use XINT.
(grow_mini_window): Fix typo getting int value of root->height.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Verify correct object type before returning pointer, using eassert.
* frame.h (XFRAME): Likewise.
* buffer.c (Frename_buffer, Fset_buffer_multibyte,
swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER,
etc, to values that may be nil or of the wrong type.
* data.c (set_internal): Likewise.
* dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise.
* fileio.c (auto_save_1): Likewise.
* insdel.c (check_markers): Likewise.
* marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
* undo.c (record_insert): Likewise.
* vmsproc.c (child_sig): Likewise.
* window.c (unshow_buffer, window_loop): Likewise.
* xterm.c (x_erase_phys_cursor): Likewise.
|
| | |
|
| |
|
|
|
| |
FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of
FRAME_INTERNAL_BORDER_WIDTH.
|
| | |
|
| |
|
|
|
|
|
|
| |
don't "swap out" the buffer's point.
(Fset_window_configuration): Set selected_window to nil
before calling Fselect_window.
(unshow_buffer): Don't set point in buffer from window's point
if another more recently selected window also shows the buffer.
|
| |
|
|
| |
into account.
|
| |
|
|
| |
after decoding.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
matrices are being changed.
|
| |
|
|
| |
out of range position.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(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_margins): Ditto.
(window_fixed_size_p): Check window's height_fixed_p
flag.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
(set_window_buffer): Call Fset_window_margins with window as first
argument.
|
| |
|
|
|
|
| |
amount to scroll the second. Take non-negative vscroll as
argument.
(Fwindow_vscroll): Return non-negative vscroll.
|
| |
|
|
|
| |
`top-line' and `top_line' to `header-line' and `header_line'.
Likewise for similar spellings.
|
| |
|
|
| |
Likewise for upper-case etc.
|
| |
|
|
|
|
| |
(window_fixed_size_p): Use Qwindow_size_fixed instead of
Qfixed_window_size.
(syms_of_window): Ditto.
|
| |
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH.
(window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once
instead of twice.
|
| | |
|
| |
|
|
|
| |
(Fset_window_start): Ditto.
(set_window_buffer): Ditto.
|
| |
|
|
|
|
|
| |
prevent_redisplay_optimizations_p instead of clip_changed.
(Fset_window_hscroll): Ditto.
(temp_output_buffer_show): Ditto.
(Fset_window_vscroll): Ditto.
|
| |
|
|
| |
new parameter.
|