aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fwindow_end): Handle case that WINDOW's buffer is notGerd Moellmann2001-02-201-0/+10
| | | | equal to the current buffer.
* (Fmove_to_window_line): Undo last change.Gerd Moellmann2001-02-191-18/+7
| | | | | (displayed_window_lines): Call line_bottom_y to determine the line's bottom position.
* (set_window_buffer): Fix last change.Gerd Moellmann2001-02-161-1/+1
|
* (set_window_buffer): Set window's vscroll to 0.Gerd Moellmann2001-02-161-2/+2
|
* (coordinates_in_window): Increase width of areaGerd Moellmann2001-02-161-5/+8
| | | | where the vertical line can be dragged.
* (window_loop) <GET_BUFFER_WINDOW>: Prefer to returnGerd Moellmann2001-02-131-10/+6
| | | | the selected window if it is showing the buffer in question.
* (Fmove_to_window_line): Don't add 1 if window isGerd Moellmann2001-02-051-0/+4
| | | | vscrolled.
* (Fenlarge_window, Fshrink_window): Doc fix.Eli Zaretskii2001-02-021-2/+4
|
* (enum window_part): New enumeration.Gerd Moellmann2001-01-311-31/+45
| | | | | | | | | | | | | | | (Qleft_fringe, Qright_fringe): Replace Qleft_bitmap_area and Qright_bitmap_area. (coordinates_in_window): Return an enumerator from enum window_part. Fix handling of right scroll bar. (Fcoordinates_in_window_p): Doc fix. Return `left-fringe' and `right-fringe' instead of `left-bitmap-area' and `right-bitmap-area'. Use enumerators from enum window_part instead of hard-coded integers. (check_window_containing, window_from_coordinates): Use enumerators from enum window_part instead of hard-coded integers. (syms_of_window): Replace Qleft_bitmap_area and Qright_bitmap_area.with Qleft_fringe and Qright_fringe.
* (Fscroll_right, Fscroll_left): Use interactive_pGerd Moellmann2001-01-311-2/+2
| | | | instead of Finteractive_p.
* (size_window): Set the window's orig_top to nil whenGerd Moellmann2001-01-261-0/+3
| | | | | changing heights, so that a future shrink_mini_window won't restore a bogus height.
* (syms_of_window) <scroll-preserve-screen-position>: Doc fix.Eli Zaretskii2001-01-231-1/+1
|
* * window.c (Fwindow_live_p): Use WINDOW_LIVE_P.Gerd Moellmann2001-01-181-1/+1
|
* (window_size_fixed): New variable.Gerd Moellmann2001-01-181-1/+13
| | | | | (syms_of_window): Add a DEFVAR_BOOL for window-size-fixed, for the doc string.
* (Fset_window_hscroll): Don't set window's min_hscrollGerd Moellmann2001-01-161-12/+25
| | | | | | here. (Fscroll_right, Fscroll_left): Set it here instead, if called interactively.
* (window_scroll_pixel_based): Adjust glyph matricesGerd Moellmann2001-01-081-4/+7
| | | | when increasing window's vscroll.
* (Fdelete_other_windows): Set window's window_end_validGerd Moellmann2001-01-041-5/+6
| | | | | | | | | | | to nil when changing the window's start. Don't change the window's start when its top position hasn't changed. If we do, this will set the window's optional_new_start, which act's like a force_start during redisplay with C-x 1 M-> under particular circumstances (see report from Per Starback to emacs-pretest-bug from 2000-12-13.). (Fdelete_other_windows): Set window's window_end_valid to nil when changing the window's start.
* (Frecenter): When changing the window start, set theGerd Moellmann2001-01-031-0/+2
| | | | | window's window_end_valid to nil. (Fwindow_end): Fix window-end computation when UPDATE is non-nil.
* (Fwindow_end): Doc fix.Gerd Moellmann2001-01-031-1/+1
|
* (Frecenter): Doc fix.Richard M. Stallman2001-01-031-6/+9
|
* (Frecenter): Handle centering in graphical framesGerd Moellmann2001-01-021-17/+46
| | | | | specially. Centering on the basis of line counts doesn't work reliably with variable-height lines.
* (size_window): Remove block-local variable `min_size'.Eli Zaretskii2001-01-021-2/+0
|
* (Frecenter): Use displayed_window_lines insteadGerd Moellmann2000-12-271-48/+49
| | | | of window_internal_height.
* (size_window): When setting the window's too_small_okGerd Moellmann2000-12-221-1/+1
| | | | | flag, compare old size with minimum size depending on WIDTH_P, don't compare with window_min_width.
* (delete_window): Simplify somewhat.Gerd Moellmann2000-12-221-10/+8
| | | | | | | (Fset_window_configuration): Don't SET_FRAME_GARBAGED after freeing window matrices. The flag windows_or_buffers_changed is set, so the next redisplay will consider all windows; this should suffice.
* (delete_window, Fsplit_window)Gerd Moellmann2000-12-211-3/+0
| | | | (Fset_window_configuration): Calls to ensure_frame_matrix removed.
* (make_window): Initialize window's min_hscroll.Gerd Moellmann2000-12-201-20/+30
| | | | | | | | | | | (Fset_window_hscroll): Set window's hscroll and min_hscroll. (set_window_buffer, temp_output_buffer_show): Set min_hscroll to zero. (struct saved_window): New member min_hscroll. (SAVED_WINDOW_VECTOR_SIZE): Set to 17. (Fset_window_configuration): Set window's min_hscroll. (save_window_save): Save window's min_hscroll. (compare_window_configurations): Compare min_hscroll values.
* (delete_window, Fsplit_window)Gerd Moellmann2000-12-201-1/+4
| | | | (Fset_window_configuration): Call ensure_frame_matrix.
* (window_scroll_pixel_based): Don't useGerd Moellmann2000-12-191-6/+13
| | | | move_it_vertically.
* (coordinates_in_window): Fix computation forGerd Moellmann2000-12-171-54/+82
| | | | position on vertical line between mode lines.
* (Fset_window_point): Remove test forGerd Moellmann2000-12-151-4/+3
| | | | cursor_in_non_selected_windows.
* (Fdisplay_buffer): Doc fix.Dave Love2000-12-121-2/+1
| | | | (Fwindow_list): Remove unused var.
* (Fset_window_point): If displaying cursors in windowsGerd Moellmann2000-12-121-0/+6
| | | | | other than the selected window, make sure redisplay updates other windows to show the new value of point in the window.
* (displayed_window_lines): Fix off-by-one error.Miles Bader2000-12-111-1/+1
|
* (displayed_window_lines): Handle non-newline-terminated final lines properly.Miles Bader2000-12-111-1/+22
| | | | | (Fwindow_text_height): New function (used to be in lisp). (syms_of_window): Initialize it.
* (displayed_window_lines): Don't round up when converting empty space atMiles Bader2000-12-111-1/+1
| | | | bottom to lines.
* (Fmove_to_window_line): Skip past any partially visible first line.Miles Bader2000-12-081-6/+5
|
* (Fpos_visible_in_window_p): Replace FULLY parameter with PARTIALLY,Miles Bader2000-12-081-27/+74
| | | | | | | inverting the sense. (window_scroll_pixel_based): Scroll partially visible lines into place if we hit the beginning or end of the buffer. (displayed_window_lines): Don't include partially visible line at bottom.
* (coordinates_in_window): Check mouse on mode-line orGerd Moellmann2000-12-061-10/+12
| | | | header-line first.
* (syms_of_window): Doc fix.Gerd Moellmann2000-12-061-1/+1
|
* (Veven_window_heights): New variable.Gerd Moellmann2000-12-061-2/+17
| | | | | | (syms_of_window): DEFVAR_LISP it. (Fdisplay_buffer): Check Veven_window_heights before evening the window heights.
* (coordinates_in_window): Handle computations forGerd Moellmann2000-12-011-21/+45
| | | | | | | | positions on the vertical bar and fringes differently for window-system frames. Consider some pixels near the vertical bar as on the bar if the frame doesn't have vertical scroll bars. Associate positions between mode or header lines with the right window, the left one.
* (struct saved_window): Add members orig_top andGerd Moellmann2000-12-011-3/+7
| | | | | | | orig_height. (SAVED_WINDOW_VECTOR_SIZE): Increment to 16. (save_window_save, Fset_window_configuration): Save/restore window's orig_top and orig_height.
* (coordinates_in_window): If on a mode or header line,Gerd Moellmann2000-11-281-23/+46
| | | | | | but sufficiently close to its start, return ``on vertical border''. This gives us a way to drag windows horizontally when using toolkit scroll bars.
* (Fwindow_list): Change parameter list to be XEmacsGerd Moellmann2000-11-191-4/+31
| | | | | | compatible. (window_list_1): New function. (window_loop): Use it instead of Fwindow_list.
* (Fpos_visible_in_window_p): Call pos_visible withGerd Moellmann2000-11-141-2/+2
| | | | extra argument.
* (Fset_window_configuration): Don't try to preserveGerd Moellmann2000-11-071-11/+19
| | | | | point in the current buffer, if that buffer is displayed in more than one window.
* (displayed_window_lines): Detect partiallyGerd Moellmann2000-11-061-1/+2
| | | | visible lines at the bottom correctly.
* (displayed_window_lines): Change buffers if necessary.Gerd Moellmann2000-10-301-2/+18
| | | | Fix computation of displayed lines.
* (Fpos_visible_in_window_p):Miles Bader2000-10-271-9/+11
| | | | Make POS default to WINDOW's point, not the current buffer's point.