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


Message #104 received at 27427 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: dgutov <at> yandex.ru
Cc: alexanderm <at> web.de, 27427 <at> debbugs.gnu.org
Subject: Re: bug#27427: 26.0.50;
 Native line numbers lead to display error in company-mode popup
Date: Sun, 25 Jun 2017 20:57:35 +0300
> Date: Sun, 25 Jun 2017 18:05:54 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: alexanderm <at> web.de, 27427 <at> debbugs.gnu.org
> 
> > (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?




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.