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 #254 received at 27427 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#27427: 26.0.50; Native line numbers lead to display error in
 company-mode popup
Date: Mon, 3 Jul 2017 03:22:56 +0300
On 7/2/17 6:18 PM, Eli Zaretskii wrote:

> We could have a feature whereby the coordinates are determined by a
> specific buffer position shown in a "normal" window.

That's what I was thinking of as well. But that, in turn, might call for 
some extra features:

When there is not enough space below the current line to show the popup, 
we display it above the current line. I'd expect the new popup code 
reposition it like that automatically as well.

But: in company we have feature where, when the popup is displayed above 
the current line, the popup lines are inverted vertically (so that the 
first completion is the closest to the current line visually). I'm not a 
fan, but it's fairly popular.

If the core popup handles repositioning, it would have to handle 
inverting (optionally) as well, or run some sort of hook to require the 
popup items to be recomputed.




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.