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: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: alexanderm <at> web.de, 27427 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: bug#27427: 26.0.50; Native line numbers lead to display error in company-mode popup
Date: Sat, 01 Jul 2017 17:20:34 +0200
> Why not the other way around: let the application specify the text and
> the position of the popup in dedicated variables, and then redisplay
> could just access those as part of its job?

The application has to react when a given buffer position changes its
position on screen.  If ‘window-text-change-functions’ is sufficient to
determine that (I never used it), it could add itself to that hook and
specify the popup accordingly.  Otherwise, the application would have to
track whether the window was scrolled, resized or moved, or its buffer
modified.  Or, for example, whether an overlay before the popup position
changed from visible to invisible.

martin





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.