[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scrollbar (once more)
From: |
Richard Stallman |
Subject: |
Re: scrollbar (once more) |
Date: |
Mon, 14 Apr 2003 22:06:16 -0400 |
Third line to the top. Thumb shrinks to expected size.
Final step of overscrolling: last line to the top.
The thumb now covers nearly the entire length of the scrollbar,
because the inaccessible portion all of a sudden starts "counting".
Both set_vertical_scroll_bar and (window-end) do the wrong thing,
because they both use the above expression, in which something must be
I think I have fixed it. Does this make it work?
*** xdisp.c.~1.825.~ Sun Mar 30 14:24:03 2003
--- xdisp.c Mon Apr 14 06:29:29 2003
***************
*** 12006,12013 ****
}
else
{
! w->window_end_bytepos = 0;
! w->window_end_pos = w->window_end_vpos = make_number (0);
}
/* But that is not valid info until redisplay finishes. */
--- 12006,12014 ----
}
else
{
! w->window_end_bytepos = Z_BYTE - ZV_BYTE;
! w->window_end_pos = make_number (Z - ZV);
! w->window_end_vpos = make_number (0);
}
/* But that is not valid info until redisplay finishes. */
***************
*** 12220,12227 ****
else
{
/* This window must be completely empty. */
! w->window_end_bytepos = 0;
! w->window_end_pos = w->window_end_vpos = make_number (0);
}
w->window_end_valid = Qnil;
--- 12221,12229 ----
else
{
/* This window must be completely empty. */
! w->window_end_bytepos = Z_BYTE - ZV_BYTE;
! w->window_end_pos = make_number (Z - ZV);
! w->window_end_vpos = make_number (0);
}
w->window_end_valid = Qnil;
- scrollbar (once more), Luc Teirlinck, 2003/04/02
- Re: scrollbar (once more), Robert J. Chassell, 2003/04/03
- Re: scrollbar (once more), Richard Stallman, 2003/04/04
- Re: scrollbar (once more), Luc Teirlinck, 2003/04/03
- Re: scrollbar (once more), Stefan Monnier, 2003/04/04
- Re: scrollbar (once more), Richard Stallman, 2003/04/05
- Re: scrollbar (once more), Stefan Monnier, 2003/04/06
- Re: scrollbar (once more), Luc Teirlinck, 2003/04/06
- Re: scrollbar (once more), Luc Teirlinck, 2003/04/06
- Re: scrollbar (once more),
Richard Stallman <=
- Re: scrollbar (once more), Luc Teirlinck, 2003/04/14
- Re: scrollbar (once more), Richard Stallman, 2003/04/04
- Re: scrollbar (once more), Luc Teirlinck, 2003/04/04
- bug in window-end, Luc Teirlinck, 2003/04/04
- Re: bug in window-end, Luc Teirlinck, 2003/04/04