From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: michael-franzese@gmx.com Newsgroups: gmane.emacs.help Subject: Re: Passing values through a variable Date: Sun, 14 Feb 2021 18:52:25 +0100 Message-ID: References: <871rdj714w.fsf@zoho.eu> <87wnvb5kwa.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="11798"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu To: michael-franzese@gmx.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 14 18:54:10 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 1lBLb0-0002uX-G7 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 18:54:10 +0100 Original-Received: from localhost ([::1]:54972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBLaz-0001xS-IX for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 12:54:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBLZO-0001Kv-8D for help-gnu-emacs@gnu.org; Sun, 14 Feb 2021 12:52:31 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:59241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBLZL-0003Eo-Vq for help-gnu-emacs@gnu.org; Sun, 14 Feb 2021 12:52:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613325145; bh=oakXxgtwQjgUICK5MZpes4s43SF2zgTd86AAI8NdTlk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hDKdVxy0OIg7AtNb0t3bpesxFUbHwIM1vyxNEt9hwalJb+Blvrktm02qDMW7c4rXs h0kAnasKye79hlLVKTTwmG7O0S/cntHplyzN5DZjAhonpgIfIqMzFs9Db16XPxlRY0 RtbcUygWvZgq0T7PJvGpfA4+UujY6m4RrQSWRVsk= 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-bs01.server.lan [172.19.170.58]) (via HTTP); Sun, 14 Feb 2021 18:52:25 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:JH0JAFmVg/kdBfNJw0oSSPK0pIi6/cT/c2IbeselifCAHtP1BFS0ZCzUGLSLa35LKqzFn cUmVdtonjn4kflyIdkyHut864VUt6983p6zld7iY3w3Xu28/iJXQnHCOx+ghuwpt2zqE8bevEDEv 3ecbdzjZKkRgu6vqhqQKXpam+MrCKsORmfJYxjtkIt23DCWJnoDaFVAI1fEMUJaQQNnOHOuYSlW5 Oxo0wxxGfa7SeCrgluIATqkY3H8fCFrur8SUsRVwu2XxRNHkTLryln1xVCv6gD1UtVdMRzYYZpve Do= X-UI-Out-Filterresults: notjunk:1;V03:K0:53/91h4MUuo=:XT+cgzUGwJ4Oilwcnzb8/z 3EvaJm4l0bvI9Q8f/NJQJ/kl0uq4quCWNl3Roj+BV9iGC548R+bI/nKnFcbyrdo36dBTZV5Pv u1fqVmlewB8aGH30eOcyPFrKJWrf3QD0uyuCzvDI+OkxHUCkMtyBV4hn/mweNI2ZeX7Pm1pga sxtsontA6gzCuVeN1rB0ieKf8Hgt8NreDo40mMzEbiMmxFBsLu3xDapsq194spjotfeWfkmbA 3sQOQTn+bwjsNa2J2vsNqX4gfcwXEM4oIJgqQ8jlwSwsjyLzPbYoHYGGfGARLuH9fJi4JIYDv exbNCYyPbf7zjub443BxTciHXSjLr4vexxWkB2bJ4FMYb9s1GhEcNuBZ5ddUvMPRFJ2vk18a+ WMRO3jBTGS/WFYrWFVIJnK+W4Br3DQ7NS/hY/z4J1WcbzO2aMxJu0bbh2iXCl7vq4xd0TZ6FW pTpl9sukbqrqgIA+fidU9Ccnu97Hu19tZAUz2JY2hdqHxtPN36IXvAx40XOn9IACaZkM1V6w4 7pLIX8oY3xeOHWkzD6yuMSGmnL2+sZWDuv8AgbUiIEuRLnGq+oGS2DK+vmXhPz/LiMYRpdDKC zHS40E1r/GWw4trbEXAvT2LIMjm39mCy9K Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael-franzese@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:128040 Archived-At: Have looked into the use of "how" in (defun font-lock-add-keywords (mode keywords &optional how) But have not got far in my understanding. > Sent: Monday, February 15, 2021 at 5:40 AM > From: michael-franzese@gmx.com > To: moasenwood@zoho.eu > Cc: help-gnu-emacs@gnu.org > Subject: Re: Passing values through a variable > > I would like to set up my own foreground and background colour > for the keywords. > > > Sent: Sunday, February 14, 2021 at 4:32 PM > > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > > To: help-gnu-emacs@gnu.org > > Subject: Re: Passing values through a variable > > > > michael-franzese wrote: > > > > > You have used > > > > > > ("_{\\([[:alnum:]]*\\)}" 1 font-lock-function-name-face) > > > > > > How can I pass the "1" using a variable, rather than > > > hardwiring it? > > > > That's not how it works. Figure it out... or see > > the docstring. > > > > -- > > underground experts united > > http://user.it.uu.se/~embe8573 > > https://dataswamp.org/~incal > > > > > > > >