GNU bug report logs - #29002
it.first_visible_x is erroneously 0 while horizontal scrolling.

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Thu, 26 Oct 2017 01:04:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 29002 <at> debbugs.gnu.org
Subject: bug#29002: it.first_visible_x is erroneously 0 while horizontal	scrolling.
Date: Thu, 26 Oct 2017 18:56:23 +0300
> Date:  Wed, 25 Oct 2017 23:20:09 -0700
> From:  Keith David Bershatsky <esq <at> lawlist.com>
> Cc:  29002 <at> debbugs.gnu.org
> 
> • hscrolling_current_line_p is true.
> • w->suspend_auto_hscroll is false.
> • w->hscroll > 0.
> • All non-current lines are also hscrolled.
> • it.first_visible_x == 0.
> 
> What would be a good method to programmatically test to see whether all other lines are hscrolled given the above?

The above means that auto-hscroll is set to 'current-line'.  In this
case, the line that shows point is hscrolled by w->hscroll, and all
the other lines are hscrolled by w->min_hscroll (in units of the
frame's canonical character width).




This bug report was last modified 7 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.