GNU bug report logs -
#51577
27.2; Regression: reproducible hang with face functions
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Wed, 3 Nov 2021 02:45:02 UTC
Severity: normal
Tags: moreinfo, notabug, wontfix
Found in version 27.2
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: drew.adams <at> oracle.com, 51577 <at> debbugs.gnu.org
> Date: Fri, 05 Nov 2021 14:24:17 +0100
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > It's only later, when the code does this:
> >
> > (apply #'set-face-attribute 'region frame plist)))
> >
> > that it actually makes the 'region' face inherit from itself.
>
> Well... then we could do a check in `set-face-attribute' (too)?
That sets a single attribute, so you are proposing checking this for
each call? The loop will only be evident near the end of the 'apply'
call.
> > Similarly, inheritance loops can (and usually do) appear at run time,
> > because faces are added or their attributes modified or merged with
> > other faces.
>
> Hm... will merging lead to loops?
That's exactly what happened in the case in point: we merged the
'default' font with the 'region' font.
This bug report was last modified 3 years and 255 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.