From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: irenezerafa Newsgroups: gmane.emacs.bugs Subject: bug#51715: defface forms not having dynamic value Date: Tue, 09 Nov 2021 15:40:21 +0000 Message-ID: References: <4r0LmHf2yOM8ZtFlkSfgFoHOVu-qI0dwHhAlsf2WxQbn_V5qvtb4t_c7teGE7DqtW8tlI0DRo9pMo0lVCbz33QZni6U0oaIHog5YxKecn80=@protonmail.com> <83ee7p5ujr.fsf@gnu.org> <83y25x4bne.fsf@gnu.org> Reply-To: irenezerafa Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29865"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51715@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 09 16:41:10 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 1mkTFG-0007Z9-LB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 16:41:10 +0100 Original-Received: from localhost ([::1]:49436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkTFF-00010O-7o for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 10:41:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkTF8-000101-8D for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 10:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkTF8-0000xh-0A for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 10:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkTF7-0003zG-TV for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 10:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: irenezerafa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Nov 2021 15:41:01 +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.163647243815285 (code B ref 51715); Tue, 09 Nov 2021 15:41:01 +0000 Original-Received: (at 51715) by debbugs.gnu.org; 9 Nov 2021 15:40:38 +0000 Original-Received: from localhost ([127.0.0.1]:35409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkTEj-0003yT-J1 for submit@debbugs.gnu.org; Tue, 09 Nov 2021 10:40:38 -0500 Original-Received: from mail-40135.protonmail.ch ([185.70.40.135]:56116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkTEb-0003y6-03 for 51715@debbugs.gnu.org; Tue, 09 Nov 2021 10:40:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636472422; bh=1GrTzQCnA0LwO1BXpS0DLkphF6gI19mlwu9BTs83BUI=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=wYvAAnORADaeeT77ZnsW1t/QOBXPiWPx7sAFKsn/5qAivEBPPAZn3JLQwu8IUq/Oo UHtod6W5Bp4icj8wSVaNNZdIkrwrDRqrAEpXjsn+0LOCZSogwGSGIyLmH2jYzkX4LY A8zLAddpI2wke05ILwqkukaPSW0m63NUy1EPHc7s= In-Reply-To: <83y25x4bne.fsf@gnu.org> 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:219466 Archived-At: Sent with ProtonMail Secure Email. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, November 9th, 2021 at 3:00 PM, Eli Zaretskii wro= te: > > Date: Tue, 09 Nov 2021 14:17:03 +0000 > > From: irenezerafa irenezerafa@protonmail.com > > Cc: 51715@debbugs.gnu.org > > > Please tell more. Which face attributes did you want to make dynamic, > > > and how? > > The dependency only matters when your macro is being evaluated and the = faces > > are reified. Since you have a package, that will be the moment the pac= kage > > gets required. So you are making it a dependency for everyone. > I'm still not sure I get this. You want to be able to control the > colors of a face indirectly, by changing some variable which the face > references? If not, what do you mean by "the dependency"? > IOW, what is it that you want to be able to do that isn't possible by > calling set-face-attribute? I don't think so, because set-face-attribute and related functions are meant to edit existing faces, not define them. In practice, they are used in user init files, since it is bad form for a package to edit the definition of a face in another package.