GNU bug report logs -
#27427
26.0.50; Native line numbers lead to display error in company-mode popup
Previous Next
Reported by: Alexander Miller <alexanderm <at> web.de>
Date: Mon, 19 Jun 2017 16:51:02 UTC
Severity: normal
Found in version 26.0.50
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Cc: alexanderm <at> web.de, 27427 <at> debbugs.gnu.org
> Date: Fri, 14 Jul 2017 02:04:21 +0300
>
> What doesn't work well is that the popup "background" gets displaced to
> the left by the width of the numbers column, when rendered using the
> popup overlay. Background meaning the contents of all the lines behind
> the popup. And that happens because the line number glyphs are gone for
> those specific lines, and we can't pad them without knowing the width of
> the numbers column.
You could use the new function line-number-display-width to obtain
that information.
> Now, I've come upon this idea of a trivial patch. What do you think,
> Eli? It seems to work perfectly, even though I'm struggling to
> understand how this might happen under the covers. Is it brittle?
No, it isn't brittle. What are you struggling to understand? Maybe I
can help.
This bug report was last modified 7 years and 314 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.