GNU bug report logs -
#18545
24.4.50: Bug - forward-line inside with-selected-window
Previous Next
Reported by: lompik <at> voila.fr
Date: Wed, 24 Sep 2014 13:40:02 UTC
Severity: normal
Found in version 24.4.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #137 received at 18545 <at> debbugs.gnu.org (full text, mbox):
>> >> 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?
Hmmm ... yes. Unless it's completely invisible. I was probably fooled
by the inverted uses of fully and partially visible.
>> 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.
I don't understand the
|| w->vscroll || w->cursor.vpos == 0
disjuncts in the second conditional. But I presume that this case is
too obscure anyway.
martin
This bug report was last modified 10 years and 237 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.