From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Re: typeface for keyword Date: Mon, 15 Feb 2021 19:06:54 +0100 Message-ID: References: <87sg5xiav3.fsf@zoho.eu> <87sg5xusj9.fsf@zoho.eu> 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="27349"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 15 19:08:01 2021 Return-path: Envelope-to: geh-help-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 1lBiHx-0006xg-Va for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 15 Feb 2021 19:08:01 +0100 Original-Received: from localhost ([::1]:51162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBiHx-0000Qp-1j for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 15 Feb 2021 13:08:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBiGx-0000Q3-O8 for help-gnu-emacs@gnu.org; Mon, 15 Feb 2021 13:07:00 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:35223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBiGv-0005aq-Jt for help-gnu-emacs@gnu.org; Mon, 15 Feb 2021 13:06:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613412415; bh=fPqJMjtLquURGqlvnO2FRuFlwv2rPuzfBn52gi1bMkw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=k3qGcKS4Y6Xwi8QpO5SvzeNhb74XqtBju/HgT1cITeZ2oZwkV8Q1ozxZ9Q/rdW8xz 6IVt/QJFhNbcpqAYs4qMDOHJz46w1vpe7yLUSx9ekBn4eRBKwRDlXVP+Ac6I7J9bG9 IbrCgG47Adyj4cmA8eKmOZ1OCdU0DvRZfaaPTiH8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs12.server.lan [172.19.170.180]) (via HTTP); Mon, 15 Feb 2021 19:06:54 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87sg5xusj9.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:M+20e4d3npduSkAMq3/2mLDwlCjqpRnbjvw6WorZBS1R+6rFM13hRcBMcEDiNHnMFE2J5 2M5LJjMaNemDHzw5hog9ZulZ3F10V/II66EvYSNCfYC/q/lc7QEDMIRe+yXsLq+ofk7nXYAxXc1m G+yDSMfcEt7KCtJWEmSR90vmwwHkcdKPd4gxoQM/swH2KiOc2VoxqHNl1qezhcHMxoyjubWfUYBT sQuVCm68i9rNlaMLwZIvdaEm4kv12y7MRYv82+dYC554151BSr81Ka+QkA5+V2OGal4WtysZj85+ 9g= X-UI-Out-Filterresults: notjunk:1;V03:K0:xhmTg0ECGwM=:AXmo7J8WcEcunzsJ2Sor/7 EULHchO3/Ig6B7H2XZaU8XSU4OEj5fzylGodKnDA/uHZphZsdhAgQkYuftfQbpQ4dvcEteg7D n+yBFQhX4HBA1nNlB9HPqFNfxEcWyC/Gj7EVsE2ya0k+3LpWvzLDF+Ni9GcnMj7RTqve7ZE8T SiHwlYGPpRI3ssxdT4r2TTcnPCSzJiaskzGw0ooj/wXuA4v8C9pNXlaJA9LwZ8wCQsa0SGaWJ /x3rWnO8U6Vwof3Ofbbxq4zS5DIcE8CJoNcW1dqwq5Id7KdZXJHM89ktYUeD26OyGkcaYz7qC cwN8xn2jCXYwD519pW58KQSJUSvDAnnPga7noL3OZYg3M2cDyUlf4D2/iimEA+f/lMjrPl9Ym ubQYgyhm68z65a+JCBUPXy4yjkFRYJ1/6BKxFRhbAZvcVcYb1K8Y4HNSwtueD/i+1V9uYiLz3 SJP5iBJL8FHd/VxrnMhVh7KgqfU2ElXjhKRCizITaaEIkE5S+E9qskJ/tqjQy6KkxWWdqV8AD lUrM6B1UeFFkVba37pVI4Yx8tZ7xaaFfwegM4nPnHVIsaKXt/zcfhfOYW74NMPNeW72WsSYBL 5r4kO68w8gp3U= Received-SPF: pass client-ip=212.227.17.21; envelope-from=steve-humphreys@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128092 Archived-At: > Sent: Tuesday, February 16, 2021 at 5:53 AM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: typeface for keyword > > steve-humphreys wrote: > > > It is a very useful utility. It was > > "font-lock-keyword-face". Am trying to define a face that > > I can change, so that the face is updated at multiple > > locations, by simply changing the font lock face. But this > > makes emacs complain. > > > > (defface tface > > '(:inherit font-lock-keyword-face) > > "Colour typeface to use.") > > If it is font-lock-keyword-face, why don't you just > change that? > > Or is it something you like about that face, that you want to > use for your face? It will let users easily change the face. that occurs in various places in the .el file. Would also like to define my own face and call that in "tface", for instance use "tfcdye" below. (defface tfcdye '( (default :inherit bold) ( ((class color) (min-colors 88) (background light)) :foreground "#FF0000" ) ( ((class color) (min-colors 88) (background dark)) :foreground "#FF0000" ) (t :inherit font-lock-builtin-face) ) "Colour typeface for tex commands.") > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >