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
Eli Zaretskii <eliz <at> gnu.org> writes:
> Detecting loops in those cases would require recording face
> specs/names we already saw in some list, and each time we get an
> :inherit attribute, check if its value is already in the list. Is
> that worth our while, if the result will be a silent error message in
> *Messages*?
Well, the result is that Emacs doesn't hang. :-) I'm not so worried
about issuing any messages here.
But I wonder -- could we do this (expensive) checking in defface (or
rather custom-declare-face)? That could be helpful -- evalling a
circular face definition should signal an error.
Do we have all the information needed to see whether we have a circular
definition at that point?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
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.