From: Kim F. Storm Date: Tue, 5 Sep 2006 22:52:17 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-22.0.90~746 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=902f06edb1a49047be86f1483eb5d03a766d8f4c;p=emacs.git *** empty log message *** --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 76aae28c886..88bd2379b9d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2006-09-06 Kim F. Storm + + * simple.el (line-move-partial): New function to do vscrolling for + partially visible images / tall lines. Rewrite based on code + previously in line-move. Simplify backwards vscrolling. + (line-move): Use it. Simplify. + 2006-09-05 Kim F. Storm * emulation/cua-base.el (cua--pre-command-handler-1): Rewrite. diff --git a/src/ChangeLog b/src/ChangeLog index d5f766025be..5e39f084e9f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,24 @@ +2006-09-06 Kim F. Storm + + * xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg; + so always calculate heights even when pos-visible-in-window-p is + called with partially = t. Don't overshoot last_visible_y in move_it_to. + Return row height and row number in new rowh and vpos args. + (cursor_row_fully_visible_p): First line is always "fully visible". + (try_window): Don't clear matrix if vscrolled. + + * lisp.h (pos_visible_p): Update prototype. + + * window.c (Fpos_visible_in_window_p): Adapt to new pos_visible_p. + Return row height and row number for partially visible rows. + Modify return value to a 2 element list for fully visible rows + and 6 for partially visible row. + (window_scroll_pixel_based): Use pos_visible_p directly instead of + Fpos_visible_in_window_p. Fix auto vscrolling for partially visible lines. + Only vscroll backwards if already vscrolled forwards. Unconditionally + vscroll forwards if PT is first (and only) line. Set new window start + instead of scrolling at start/end of tall line. + 2006-09-05 YAMAMOTO Mitsuharu * macterm.c (install_window_handler, mac_handle_window_event)