bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51577: 27.2; Regression: reproducible hang with face functions


From: Lars Ingebrigtsen
Subject: bug#51577: 27.2; Regression: reproducible hang with face functions
Date: Thu, 04 Nov 2021 23:56:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]