aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Include keyboard.h before frame.h.Andrew Innes2000-08-221-1/+1
|
* Fix embedded comment.Dave Love2000-08-141-2/+2
| | | | (syms_of_window): Fix doc string.
* (Fwindow_end): Rewritten to not use Fvertical_motion,Gerd Moellmann2000-08-101-13/+13
| | | | because that function doesn't cope with variable-height lines.
* (display_buffer_reuse_frames): New variable.Gerd Moellmann2000-08-021-6/+18
| | | | | | | (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse frames displaying BUFFER. (syms_of_window): Define Lisp variable display-buffer-reuse-frames.
* (window_display_table): Cleaned up.Gerd Moellmann2000-07-251-13/+14
|
* (foreach_window_1): Fix typo reversing an if-condition.Gerd Moellmann2000-07-211-2/+2
|
* (foreach_window): Instead of a fake variable argumentGerd Moellmann2000-07-211-41/+50
| | | | | | | | | | | | 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.
* (Fwindow_list): Declare arg `window'.Dave Love2000-07-181-1/+1
|
* (window_loop): Add missing gcpro1 local variable.Gerd Moellmann2000-07-061-0/+1
|
* (Fwindow_list): Reverse list at the end.Gerd Moellmann2000-07-061-144/+132
| | | | | | (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil means allow windows on OWINDOW's frame, only. (window_loop): Simplified; use Fwindow_list.
* (delete_all_subwindows): Reset Vwindow_list.Gerd Moellmann2000-07-051-0/+2
|
* (add_window_to_list): Add parameter LIST.Gerd Moellmann2000-07-051-7/+20
| | | | | | | (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.
* (Vwindow_list): New variable.Gerd Moellmann2000-07-041-289/+352
| | | | | | | | | | | | | | | | | | | (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.
* (displayed_window_lines): Take empty lines atGerd Moellmann2000-06-071-1/+12
| | | | the bottom of a window into account.
* (displayed_window_lines): New function.Gerd Moellmann2000-06-071-14/+34
| | | | | (Fmove_to_window_line): Use displayed_window_lines to determine the number of lines to move, instead of using the window's height.
* (coordinates_in_window): Subtract 1 when computing right_x.Eli Zaretskii2000-05-151-2/+4
|
* (freeze_window_start): Check that minibuffer scroll window isn't nil beforeKen Raeburn2000-04-261-0/+1
| | | | extracting the window structure pointer from it.
* (compare_window_configurations): Signal an errorGerd Moellmann2000-04-041-0/+5
| | | | if parameters C1 or C2 aren't window configurations.
* * window.c (CURBEG, CURSIZE): Don't overload lisp object lvaluesKen Raeburn2000-04-011-13/+14
| | | | | | | | | 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.
* * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):Ken Raeburn2000-03-301-3/+6
| | | | | | | | | | | | | | | | | | 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.
* (Fsave_window_excursion): Doc fix.Gerd Moellmann2000-03-121-0/+1
|
* (coordinates_in_window): UseGerd Moellmann2000-03-051-2/+2
| | | | | FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of FRAME_INTERNAL_BORDER_WIDTH.
* [MSDOS]: Include msdos.h (for the definition of FRAME_INTERNAL_BORDER_WIDTH).Eli Zaretskii2000-03-021-0/+3
|
* (select_window_1): If selected_window is nil,Gerd Moellmann2000-02-251-9/+28
| | | | | | | | 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.
* (coordinates_in_window): Take frame's internal border widthGerd Moellmann2000-02-251-2/+4
| | | | into account.
* (Fset_window_buffer): Set WINDOW to the windowGerd Moellmann2000-02-251-0/+1
| | | | after decoding.
* (Fsave_window_excursion): Doc fix.Gerd Moellmann2000-02-151-1/+0
|
* [WINDOWSNT]: Include w32term.h.Andrew Innes2000-02-061-0/+3
|
* (Fset_window_margins): Don't make interactive. Doc fix.Dave Love2000-02-011-2/+2
|
* (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.