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: Sun, 29 Oct 2017 13:23:07 +0200
> Date:  Thu, 26 Oct 2017 11:56:08 -0700
> From:  Keith David Bershatsky <esq <at> lawlist.com>
> Cc:  29002 <at> debbugs.gnu.org
> 
> Unfortunately, w->min_hscroll returns a value of 0 in this example.

For the lines other than the current one, you should use
it.first_visible_x, it is simpler.  For the current line, use
w->hscroll.




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.