aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (delete_window): Rewrite the code for changing theRichard M. Stallman2002-01-081-17/+38
| | | | selected window to handle the case where WINDOW is not a leaf.
* * window.c (enlarge_window): In new preserve_before code, convert CURBEG fromKen Raeburn2001-12-271-1/+1
| | | | lisp object to integer before doing arithmetic.
* (enlarge_window): New arg PRESERVE_BEFORE. Callers changed.Richard M. Stallman2001-12-251-31/+60
| | | | (Fenlarge_window): New arg PRESERVE_BEFORE.
* (Frecenter): Clear display_error_modiff field.Richard M. Stallman2001-12-161-0/+3
|
* (Frecenter): Simplify computation in the case of windowGerd Moellmann2001-12-121-5/+4
| | | | system frames and ARG < 0; use window_box_height.
* (Qleft_fringe, Qright_fringe): Remove. Now in frame.c.Jason Rumney2001-12-011-6/+1
|
* (coordinates_in_window): Handle separate left and right fringe widths.Kim F. Storm2001-12-011-4/+3
|
* (Fset_window_vscroll): Doc fix. From Kalle Olavi Niemitalo <kon@iki.fi>.Eli Zaretskii2001-11-251-2/+2
|
* Fringe cleanup.Kim F. Storm2001-11-161-12/+11
| | | | | Comment fixes. Use renamed symbols. (coordinates-in-window-p): Doc fix.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-38/+38
|
* (grow_mini_window): Fix typo in comment.Pavel Janík2001-11-011-1/+1
|
* (grow_mini_window): Handle case that the rootGerd Moellmann2001-10-311-1/+3
| | | | window is already smaller than the nominal mininum height.
* (Fscroll_left, Fscroll_right): Doc fix.Eli Zaretskii2001-10-291-2/+14
|
* Don't define max.Pavel Janík2001-10-241-5/+1
| | | | (coordinates_in_window): Remove unused variable `uy'.
* (Fsave_window_excursion): Add usage: string to doc string.Miles Bader2001-10-211-1/+2
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-201-518/+501
|
* (window_loop): Don't check for Fother_buffer returning nil.Gerd Moellmann2001-10-151-4/+0
|
* (select_window_1): Unfreeze window start. Remove aGerd Moellmann2001-10-151-4/+2
| | | | doubled test for WINDOW being live.
* Comment fix.Gerd Moellmann2001-10-151-1/+1
|
* Include keymap.h.Stefan Monnier2001-10-101-0/+1
|
* Don't define min/max.Gerd Moellmann2001-10-081-2/+0
|
* (window_scroll_pixel_based): Don't recenter ifGerd Moellmann2001-08-151-2/+4
| | | | PT is partially visible in the window.
* (Frecenter): If ARG < 0, and on a window systemGerd Moellmann2001-08-071-3/+11
| | | | | frame, count in some empty lines when we can't move -ARG lines down.
* (window_scroll): Change the meaning of N to meanGerd Moellmann2001-04-101-21/+16
| | | | | | N screen-fulls or N lines. (window_scroll_pixel_based, window_scroll_line_based) (scroll_command, Fscroll_other_window): Change accordingly.
* (window_scroll_pixel_based, Frecenter): CallGerd Moellmann2001-04-101-3/+3
| | | | | window_box_height instead of using it.last_visible_y for the height of the window.
* (window_internal_height): Return 1 less if theGerd Moellmann2001-04-091-8/+14
| | | | window has a header line.
* (Fset_window_configuration): Change call toemacs-pretest-21.0.100Gerd Moellmann2001-03-141-2/+2
| | | | do_switch_frame to new format.
* (Frecenter): Rewrite code handling negative valuesGerd Moellmann2001-03-071-20/+58
| | | | | | | | of ARG on graphical frames. (displayed_window_lines): If W->start is outside the accessible portion of the buffer, call start_display with BEGV or ZV instead of W->start.
* (Fwindow_end): Call move_it_past_eol only ifGerd Moellmann2001-03-011-1/+2
| | | | ending up on a partially visible line.
* * window.c (set_window_buffer): Field vscroll is an int, not a lisp object.Ken Raeburn2001-02-281-1/+1
|
* (make_window, make_dummy_parent): Use allocate_window.Gerd Moellmann2001-02-281-16/+5
| | | | (Fcurrent_window_configuration): Use allocate_other_vector.
* (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
|