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: Minor mode for colouring plain tex lowercase greek letters Date: Mon, 11 Jan 2021 10:10:27 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28251"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 11 10:10:53 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 1kytDw-0007FQ-TH for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 10:10:52 +0100 Original-Received: from localhost ([::1]:59324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kytDv-00052X-Sd for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 04:10:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kytDc-00052O-EE for help-gnu-emacs@gnu.org; Mon, 11 Jan 2021 04:10:32 -0500 Original-Received: from mout-xforward.gmx.net ([82.165.159.13]:34959) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kytDa-00007T-Ae for help-gnu-emacs@gnu.org; Mon, 11 Jan 2021 04:10:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610356228; bh=6OQaOTigHmXRc+xgNwc7hQyA6NPHgo+iMgCmphn1+5M=; h=X-UI-Sender-Class:From:To:Subject:Date; b=Igo9gwI98DEV4EXELXyualMs+tjNkbuRZ0V5JxRXEgqDAjYPNkBLx4E/c2CrM388g 7/MeDxmPMqBEeAkpmyTfsauoOjH3FnMKB/RP6oWOBd18L+qgXLWbka5xnbsN5oJn26 NvsLiJEOIgm7IixwTWV6fuiOSMYtc7mc+jv8W4IE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [185.244.212.219] ([185.244.212.219]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Mon, 11 Jan 2021 10:10:27 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:Cu69cxJxNfcsuVK/3hO57QFTr5OCrQpPPncVht8vprnmscVhTynCWEq9gIsoeiTPGYrst eqRdQsAX9NZnojSawfUL7qzfUG6c1eWjctQeZCMzQCtKVauDNGRhm8b53XtUVrIrceupMoDhXf5w G8Ib3pBvFvKI7FhzVYxyF8RnPHl1j9DkQo0kDZojRuAgd0PTMLN6xISuYHkqfm15PZGQNvKZpo74 z6QeRdYgytC2cEfzLy6u+SqMDrW250gZwfVDfPZ0HqwwqrvfvQ4EJUjzeP33wGDBg+la4WD6dRiw Ck= X-UI-Out-Filterresults: junk:10;V03:K0:1jF35GaJpdo=:/+Jh04PJPg+vjNHK4ETzpqtz FjQ0pWQW3NKloql8J1Nko4tgNg4szDT9qlxV6LqfrmAs379/7jKxMeDJXPIVKgQnc2FD2GUeX VSezhKw1DtKrg7hL/3B01xaSZ0UXXB7S5+n1BR9ahzu4n+ew2itXKVFG0LoReB3DEGfzIf5+O mQfuP98er8IotpOH8EmTDngGVUwm75oBuf2tHCcC+aephUAuQrcIdbI9EH7HxMHV73hiwSKDl rdBKf1CWUrh3Y9oWVfq/nbsvsag14NGVsZ44nFcgTrlRdkIBPIakviU3byX5n6b9BOzOiy3un w1ococgBWmdwdsfi16J7iSRTlDw6Tg5tLUU1xqGUCfSEETj74dtDkdwQlYQflJU8VtRXEiEEo 4OhBUNzYjc4sIGw3WodBL1DWq1bZ4pqchZ8ZU5RhJlal/ZoiT5ZcElCznMxIvQqZ9aM04pdOm P8ea1cIId6P0iFWincMzvbLXJ36ccmLWWkAqWidfAx0osiB3jCHdIHwuYh+PrTsYfJ5aPivDg s9icM/YyXqS4OR3yG8OFWIy/pnEPSkDeZgO8cElBdf7pDaMNA1J0N0pRaoZ67hUVgc4IeXX2v YA2I/GPsgyElubzVub5P1wJWsjywK2wuqVseYshhyg1paNnS4/dPjQ== Received-SPF: pass client-ip=82.165.159.13; envelope-from=michael-franzese@gmx.com; helo=mout-xforward.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=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:127181 Archived-At: Am trying to write a minor made to highlight tex keywords. I am starting with the lowercase greek letters: \alpha, \beta, \gamma, \delta, \epsilon, \zeta, \eta, \theta, \iota, \kappa, \lambda, \mu, \nu, \xi. Do not know how I can set the lowercase greek letters to some colour. I would have to assign a face to each regexp group rather than defining my own faces. Reuse the font-lock faces that one can find on M-x find-library RET faces RET.