Subject: Re: bug#18545: 24.4.50: Bug - forward-line inside with-selected-window

From: Eli Zaretskii <[email-masked]>
Date: Sun, 28 Sep 2014 19:33:36 +0300

> Date: Sun, 28 Sep 2014 11:33:36 +0200
> From: martin rudalics <[email-masked]>
> CC: [email-masked], [email-masked]
> 
>  >> I don't
>  >> understand cursor_row_fully_visible_p much.
>  >
>  > Which part of it do you not understand?
> 
> Why it should return 1 in these two cases
> 
>    if (!MATRIX_ROW_PARTIALLY_VISIBLE_P (w, row))
>      return 1;

If a row is _not_ partially visible, it is _fully_ visible, right?

> and
> 
>    if (row->height >= window_height)
>      {
>        if (!force_p || MINI_WINDOW_P (w)
> 	  || w->vscroll || w->cursor.vpos == 0)
> 	return 1;
>      }

There's a comment that that's supposed to explain this.