[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrolling in pc-selection mode with scroll-margin broken
From: |
Eugene Vlasov |
Subject: |
Re: Scrolling in pc-selection mode with scroll-margin broken |
Date: |
Fri, 30 Sep 2005 21:02:26 +0600 |
Hello, Kim F. Storm.
On Fri, Sep 30, 2005 at 03:21:15PM +0200 you wrote:
> Does this patch give good results?
Yes, with this patch I don't have problem with scrolling.
> *** xdisp.c 27 Sep 2005 23:09:01 +0200 1.1056
> --- xdisp.c 30 Sep 2005 14:29:05 +0200
> ***************
> *** 12848,12854 ****
> this_scroll_margin *= FRAME_LINE_HEIGHT (it.f);
>
> if ((w->cursor.y < this_scroll_margin
> ! && CHARPOS (pos) > BEGV)
> /* rms: considering make_cursor_line_fully_visible_p here
> seems to give wrong results. We don't want to recenter
> when the last line is partly visible, we want to allow
> --- 12848,12855 ----
> this_scroll_margin *= FRAME_LINE_HEIGHT (it.f);
>
> if ((w->cursor.y < this_scroll_margin
> ! && CHARPOS (pos) > BEGV
> ! && IT_CHARPOS (it) < ZV)
> /* rms: considering make_cursor_line_fully_visible_p here
> seems to give wrong results. We don't want to recenter
> when the last line is partly visible, we want to allow
--
Eugene Vlasov mailto:eugvv at altlinux.ru