GNU bug report logs - #63271
29.0.90; broken mouse-face

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Thu, 4 May 2023 15:16:02 UTC

Severity: normal

Found in version 29.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: gregory <at> heytings.org, stephen.berman <at> gmx.net, 63271 <at> debbugs.gnu.org,
 juri <at> linkov.net
Subject: Re: bug#63271: 29.0.90; broken mouse-face
Date: Thu, 11 May 2023 09:00:11 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: Gregory Heytings <gregory <at> heytings.org>,  juri <at> linkov.net,
>   63271 <at> debbugs.gnu.org,  stephen.berman <at> gmx.net
> Date: Thu, 11 May 2023 08:51:05 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Po Lu, was that change intentional?  If not, let's remove that line or
> > move it under some conditional that doesn't include all Cairo builds.
> > If it was intentional, please explain why, and let's take it from
> > there.
> 
> It was needed to prevent drawing overhangs as part of the cursor from
> overwriting surrounding characters with the glyph string background.
> 
> Unfortunately, I don't remember why it was needed, though I think the
> underlying reason has been fixed.

So can we undo that now?  If there is still a reason for doing
something special there, it will pop up sooner or later, and we can
deal with it at that time.  At the very least, the setting of
s->background_filled_p should not be done when s->hl is one of the
last 3 values in enum draw_glyphs_face, I think, and maybe also when
s->for_overlaps is zero.

I'd like to fix this soon, because I want to make another pretest of
29.1.

Thanks.




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

Previous Next


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