GNU bug report logs - #27427
26.0.50; Native line numbers lead to display error in company-mode popup

Previous Next

Package: emacs;

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>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: alexanderm <at> web.de, 27427 <at> debbugs.gnu.org
Subject: bug#27427: 26.0.50; Native line numbers lead to display error in company-mode popup
Date: Sat, 24 Jun 2017 23:43:25 +0300
On 6/24/17 8:28 PM, Eli Zaretskii wrote:

> Now done.  Please see if this allows company-mode to fix its display
> when line numbers are displayed.

Seems to work well locally, aside from the EOB case (*). Will commit 
after you push to master.

BTW, without this property, I now see line numbers beside all the visual 
lines the popup overlay takes up, and the number is the same: N+1, where 
N is the line-at-point. That doesn't look intended.

(*) The case is where the overlay is shown below the last line of the 
buffer. In that case, we display the popup using the `after-string' 
property. The after-EOB glyphs don't seem to be affected by 
`display-line-numbers-disable'.




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.