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#51715: defface forms not having dynamic value Date: Wed, 10 Nov 2021 18:48:44 +0200 Message-ID: <83mtmc2byr.fsf@gnu.org> References: <4r0LmHf2yOM8ZtFlkSfgFoHOVu-qI0dwHhAlsf2WxQbn_V5qvtb4t_c7teGE7DqtW8tlI0DRo9pMo0lVCbz33QZni6U0oaIHog5YxKecn80=@protonmail.com> <83ee7p5ujr.fsf@gnu.org> <8735o4lucu.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21706"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51715@debbugs.gnu.org, larsi@gnus.org, irenezerafa@protonmail.com To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 10 17:49:15 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 1mkqmh-0005O2-4L for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Nov 2021 17:49:15 +0100 Original-Received: from localhost ([::1]:36856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkqmg-0000a6-2H for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Nov 2021 11:49:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkqmU-0000Wo-VF for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 11:49:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkqmU-0007sv-Lm for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 11:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkqmU-0001NZ-FM for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 11:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Nov 2021 16:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51715 X-GNU-PR-Package: emacs Original-Received: via spool by 51715-submit@debbugs.gnu.org id=B51715.16365629385290 (code B ref 51715); Wed, 10 Nov 2021 16:49:02 +0000 Original-Received: (at 51715) by debbugs.gnu.org; 10 Nov 2021 16:48:58 +0000 Original-Received: from localhost ([127.0.0.1]:39094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkqmP-0001NF-Vf for submit@debbugs.gnu.org; Wed, 10 Nov 2021 11:48:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkqmN-0001N1-4q for 51715@debbugs.gnu.org; Wed, 10 Nov 2021 11:48:56 -0500 Original-Received: from [2001:470:142:3::e] (port=38694 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkqmH-0007s0-Lg; Wed, 10 Nov 2021 11:48:49 -0500 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=xy/139aDkmvIK2nxe+6veUMkBs8QBoVDM8n0iI/BG8E=; b=NQcYd4zgH920 oY0QHEMnKmHCKq5qbBnYWoSIeYQLoqx0aEB6WLYNCCOq/d7Z/yQq3nXzUcmNn+X1IZV8bod+9Z2yT B4olv6PI+jiXPPBP0OQEfzjJ4xW5Zc6tsJivewA+j2lF4hyWyhNKeXiFBx3Xq9V39FUb3H22cOKdk 9mphtxOMX0vdEPn11WRgQS8luQFt+qcIRM1DonziL94GWivgZ9uwUmOZdWSyc9Pu5EHSyy2bp3tfC 7oN4VRq3RXJN/pFl+DEUhFJhzX65nExGzlrwlxztsVtcNc5nwRkqT4ktXeoA2FXMPmpKIunolcfPd smFWVJMlKR0Nq/o9JThbnQ==; Original-Received: from [87.69.77.57] (port=3360 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 1mkqmH-0004Qp-3D; Wed, 10 Nov 2021 11:48:49 -0500 In-Reply-To: (message from Stefan Kangas on Wed, 10 Nov 2021 07:08:59 -0800) 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:219557 Archived-At: > From: Stefan Kangas > Date: Wed, 10 Nov 2021 07:08:59 -0800 > Cc: irenezerafa , 51715@debbugs.gnu.org, > Eli Zaretskii > > >> '( (default (:inherit rainbow-delimiters-base-face)) > >> ( ((class color) (background light)) > >> :foreground ,(nth i light-colors)) > >> ( ((class color) (background dark)) > >> :foreground ,(nth i dark-colors)) ) > >> ,(format "Nested delimiter face, depth %d." (1+ i)) > > > > This would be nice if possible, but I don't think it's practical. It > > would mean that (in general) Emacs would have to recalculate faces > > whenever a variable changes, and that would make Emacs very slow. > > But maybe we could allow the above in combination with a function to > refresh all face definitions? I'm not sure it's worth the effort in > comparison with just fixing the load order though, so it might still be > a wontfix. Isn't that what :inherit already does?