GNU bug report logs - #38563
27.0.50; Company popup renders with newlines (?) inheriting the bg properties of the character at next line's bol

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Wed, 11 Dec 2019 01:15:02 UTC

Severity: normal

Found in version 27.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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#38563: closed (Re: bug#38563: 27.0.50; Company popup renders
 with newlines (?) inheriting the bg properties of the character at next
 line's bol)
Date: Fri, 13 Dec 2019 12:01:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#38563: 27.0.50; Company popup renders with newlines (?) inheriting the bg properties of the character at next line's bol

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 38563 <at> debbugs.gnu.org.

-- 
38563: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38563
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 38563-done <at> debbugs.gnu.org
Subject: Re: bug#38563: 27.0.50; Company popup renders with newlines (?)
 inheriting the bg properties of the character at next line's bol
Date: Fri, 13 Dec 2019 14:00:26 +0200
On 13.12.2019 12:31, Eli Zaretskii wrote:

> I think I found a better solution, which should "just work" for you.
> Please try the latest master.

It does! Thank you Eli.

[Message part 3 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; Company popup renders with newlines (?) inheriting the bg
 properties of the character at next line's bol
Date: Wed, 11 Dec 2019 03:13:59 +0200
[Message part 4 (text/plain, inline)]
Here's an unfortunate new behavior which I didn't have time to report
or properly describe before.

When the next line starts on a character that has a distinct background,
that background is inherited when displaying newlines inside the display
string that renders the popup.

Here are two ways I usually trigger it:

1. Initiate completion on the "Author:" line of a LogEdit buffer (the
next line is an inverse-video line).

2. Have at least one space at the beginning of a line, and have
whitespace-mode on to highlight it in red. Then initiate completion on
the preceding line.

Screenshots are attached.

Needless to say, the latest Emacs 26 doesn't exhibit this problem.
[Screenshot from 2019-12-11 03-00-35.png (image/png, attachment)]
[Screenshot from 2019-12-11 03-00-41.png (image/png, attachment)]

This bug report was last modified 5 years and 151 days ago.

Previous Next


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