Subject: bug#27427: 26.0.50; Native line numbers lead to display error in company-mode popup

From: martin rudalics <[email-masked]>
Date: Mon, 26 Jun 2017 10:23:44 +0200

> 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.  But if your overlays then mess
with the number of lines displayed in the window you'll get into a loop.

martin