From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51577: 27.2; Regression: reproducible hang with face functions Date: Fri, 05 Nov 2021 16:22:36 +0200 Message-ID: <83zgqid6mr.fsf@gnu.org> References: <83tugtgo6z.fsf@gnu.org> <83a6ilgh37.fsf@gnu.org> <87bl2zss78.fsf_-_@gnus.org> <83y263eod4.fsf@gnu.org> <87a6ijpm27.fsf@gnus.org> <83ilx7dq8m.fsf@gnu.org> <87h7cqloqm.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29706"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51577@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 05 15:24:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mj08Y-0007Uq-NZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Nov 2021 15:24:10 +0100 Original-Received: from localhost ([::1]:58570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mj08X-0005h4-RE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Nov 2021 10:24:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj08Q-0005e1-Hf for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2021 10:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mj08Q-0007Np-8f for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2021 10:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mj08P-0007tH-Ty for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2021 10:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Nov 2021 14:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51577 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo notabug Original-Received: via spool by 51577-submit@debbugs.gnu.org id=B51577.163612218430259 (code B ref 51577); Fri, 05 Nov 2021 14:24:01 +0000 Original-Received: (at 51577) by debbugs.gnu.org; 5 Nov 2021 14:23:04 +0000 Original-Received: from localhost ([127.0.0.1]:46755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj07U-0007rz-C3 for submit@debbugs.gnu.org; Fri, 05 Nov 2021 10:23:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj07S-0007rH-9m for 51577@debbugs.gnu.org; Fri, 05 Nov 2021 10:23:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj07M-0007GR-H8; Fri, 05 Nov 2021 10:22:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=07yU4Ate+XajMhsJQveWjQwDIhO5JHRcVbUAEzbROy4=; b=iGGduyRTQ5J4 ZqaTeoEndSDUb7FKK/qXAKtCDN7+EwPuRqjcjipJd31P3bFRzyaMCBT/bOdmOcnjJ5cwnU5X86CJm 9YuWg5rjYUKxq669XdJ1sIEBa+WBvpTsRO4L0cWV/pKZ9bejam7VcXQ1ii1oCo7viMWYfT5dK3fvg mROW+NdAsYR5xhobLCgWuF5kFcg5UEU+Wyn867MHY++19iQF4DxBrkYmtY54duHRfaz//ft8y0h5b v9wgCYK/MbxKQppeGj5iN9LlEm3PIoMbLaKutPhcLRrZneNfmPNrRHPtmJ3hV4qfGqnON7MnFnkHu gm+30HML9VkYGZoZznsH2A==; Original-Received: from [87.69.77.57] (port=1166 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj07M-0001Du-3D; Fri, 05 Nov 2021 10:22:56 -0400 In-Reply-To: <87h7cqloqm.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 05 Nov 2021 14:24:17 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219004 Archived-At: > From: Lars Ingebrigtsen > Cc: drew.adams@oracle.com, 51577@debbugs.gnu.org > Date: Fri, 05 Nov 2021 14:24:17 +0100 > > Eli Zaretskii 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.