GNU bug report logs - #59527
29.0.50; Face issues in show-paren context overlay

Previous Next

Package: emacs;

Reported by: Gabriel <gabriel376 <at> hotmail.com>

Date: Thu, 24 Nov 2022 00:28:02 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Tassilo Horn <tsdh <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Gabriel <gabriel376 <at> hotmail.com>, 59527 <at> debbugs.gnu.org
Subject: bug#59527: 29.0.50; Face issues in show-paren context overlay
Date: Thu, 24 Nov 2022 10:55:15 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Gabriel & Eli,

>> (progn
>>     ;; enable overlay context in show-paren
>>     (setopt show-paren-context-when-offscreen 'overlay)

Note that the issue was also present with t (minibuffer message) or the
child-frame version.

The issue is hopefully fixed with 005efce764.  Please report back.

>> Problem 1: the overlay context does not have font-lock, since
>> font-lock was not applied to the previous area that contains the
>> context.

I now ensure the region is font-locked before taking the
buffer-substring(s).

>> Problem 2: the overlay context will be displayed with the same
>> background color as the top-left line of the window (yellow, in this
>> case, because of whitespace-mode).

I now set the overlay priority to (the very high) show-paren-priority
which seems to do the trick.

Bye,
Tassilo




This bug report was last modified 2 years and 208 days ago.

Previous Next


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