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

From: Eli Zaretskii <[email-masked]>
Date: Sun, 25 Jun 2017 20:57:35 +0300

> Date: Sun, 25 Jun 2017 18:05:54 +0300
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked], [email-masked]
> 
> > (with-current-buffer (get-buffer-create "popup-test.el")
> >    (setq display-line-numbers t)
> >    (insert "aaaaaaa
> > aaaaaaa
> > aaaaaaa
> > aaaaaaa
> > aaaaaaa
> > ")
> > 
> >    (let ((ov (make-overlay (point-max) (point-max))))
> >      (overlay-put ov 'after-string "bbbbbb\nbbbbbb\n")
> >      (overlay-put ov 'display-line-numbers-disable t)))
> > 
> > After that, the buffer popup-test.el shows the "bbbbbb" lines prepended 
> > with the empty line number columns. I'd rather they weren't there.
> 
> OK, thanks, I will look into this case.

Should be fixed now.  the fix only works for empty overlays at EOB,
but that should be enough, right?  Or do you see some other way of
specifying this property at EOB?