bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27427: 26.0.50; Native line numbers lead to display error in company


From: Eli Zaretskii
Subject: bug#27427: 26.0.50; Native line numbers lead to display error in company-mode popup
Date: Mon, 26 Jun 2017 18:07:59 +0300

> Date: Mon, 26 Jun 2017 10:23:44 +0200
> From: martin rudalics <address@hidden>
> CC: address@hidden, address@hidden
> 
>  > Without going into details, how do I figure out the width which line
>  > number glyphs are taking up? Any way to do that without calling
>  > posn-at-point at the beginning-of-visual-line?
> 
> You'd probably need a function ‘window-line-number-width’ callable after
> the current glyph matrix was calculated.

Or maybe a new value of the argument to window-body-width which would
cause it to return the width excluding the line-number part?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]