GNU bug report logs - #54488
29.0.50; move-to-column/overlay-related regression in latest master, perhaps 28?

Previous Next

Package: emacs;

Reported by: João Távora <joaotavora <at> gmail.com>

Date: Mon, 21 Mar 2022 06:54:02 UTC

Severity: normal

Found in version 29.0.50

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: João Távora <joaotavora <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 54488 <at> debbugs.gnu.org
Subject: Re: bug#54488: 29.0.50; move-to-column/overlay-related regression in
 latest master, perhaps 28?
Date: Tue, 22 Mar 2022 14:33:13 +0200
On 22.03.2022 11:48, João Távora wrote:
> Dmitry Gutov <dgutov <at> yandex.ru> writes:
> 
>> On 21.03.2022 23:59, João Távora wrote:
>>> So maybe Dmitry has some valuable insight as to how exactly company
>>> constructs its overlay or overlays.
>>
>> You can try putting a multiline string on the 'display property.
>>
>> Instead of just "BAR".
> 
> I tried that, but I don't know how to align it like company does.

Have you tried 'before-string as well?

>> Apart from that, I can only suggest reading the code and
>> experimenting.
> 
> I admit I was hoping that you as company maintainer/specialist :-) could
> provide a small snippet to create a dummy but company-realistic overlay
> of, say, two completion "foo" and "bar" in the middle of any buffer.  Or
> perhaps explain in layman's terms how company constructs its overlays.

I think it would be faster for you to just read the code.

I'm not sure you need a realistic-looking overlay, though.




This bug report was last modified 3 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.