GNU bug report logs - #31716
move_it_in_display_line / horizontal scrolling / tab stretch

Previous Next

Package: emacs;

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

Date: Tue, 5 Jun 2018 00:39:02 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


Message #13 received at 31716 <at> debbugs.gnu.org (full text, mbox):

From: Keith David Bershatsky <esq <at> lawlist.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 31716 <at> debbugs.gnu.org
Subject: Re: bug#31716: move_it_in_display_line / horizontal scrolling /
 tab	stretch
Date: Tue, 05 Jun 2018 21:18:27 -0700
Thank you very much, Eli, for taking the time to provide a detailed explanation regarding how MOVE_TO_X works.  I have come up with a way to programmatically deal with this particular situation when all lines are horizontally scrolled, but am still struggling with this situation when only the current line is horizontally scrolled.

When only the current line is horizontally scrolled in this particular situation, HPOS is not:

it.hpos - window_hscroll_limited (w, f);

Instead, HPOS is something like it.hpos - 1 for the fist tab and it becomes more complicated when horizontally scrolling multiple tabs.

If it okay, I would suggest/request that bug#31716 remain open for a little bit longer so that I can assemble a minimal working example dealing with horizontal scrolling of the current line when tabs exist.

Keith




This bug report was last modified 6 years and 353 days ago.

Previous Next


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