From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Changing foreground colours for texinfo--mode Date: Fri, 2 Oct 2020 18:30:05 +0200 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="14680"; 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 Fri Oct 02 18:37:07 2020 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 1kOO3P-0003jC-Di for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 02 Oct 2020 18:37:07 +0200 Original-Received: from localhost ([::1]:43148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOO3O-0004dS-91 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 02 Oct 2020 12:37:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kONwh-0000Er-9W for help-gnu-emacs@gnu.org; Fri, 02 Oct 2020 12:30:12 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:53803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kONwe-0003Vb-6c for help-gnu-emacs@gnu.org; Fri, 02 Oct 2020 12:30:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601656206; bh=yfhGykhyIzXxsUqj2rzruOQwnxQlDKafDzdqmKFuGtE=; h=X-UI-Sender-Class:From:To:Subject:Date; b=SdSK7BJTxpkeTJUZKnd1OyI9MsE9SI3ivNjlmITmRptJOSrY44W1aV7UOCl9FVmUz IkO48TowgVRG2+5PoljlVt1bx/3mPgg+tD5v2bZBQ6M8PfSh6+91WNsBq2CdEyheAT +Mww/F9tM0j75t7P+LYvMV9OaswZZr/LPswMhuFM= 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); Fri, 2 Oct 2020 18:30:05 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:ELZ1spBRMz6nrjuDZiwKS/Qk1LyMbf+xBuVA+jI7KrAfwG3DeIWBDbG5QdgpqxWFpyQv+ lO0pa575QuKGmEUFPvLG6x2PgDVlDPwi1UMi9CSkFTz8kVYSX38Tynq5NZkB5itNoWrZWQpQgUpo 0QXUdkm5sr0ATYj4uUqW2YojDW7qgsbz+Hcpl68QOtOctKrNviMhVqL3u7FXhL2MmTZCy4SG49BM pZmO42f5AZ/+N9ZL+/D4ZSdiEO9NsYgAbL4G1S0ZmXPklpImqfJRI/9TDdRw530JX3fjezDrQoYo NA= X-UI-Out-Filterresults: notjunk:1;V03:K0:2CB4hXAS8pw=:6vbn1p8uw48o3eBi9RjhI4 K9wS0e3HDQvEGtsQA0RtzQOTJynxCkkLz9ZDfirsrJ4tOKs1MXuRdcJl2BQzOWlPD9UwV4eOY zlxPoot+qDCH4FNkl8sDVlLSs6XWLcYgcZEN/Emz3zk4OHpnWX1M5IoDMATZ435YiVvj+M5TA XLd6j+8CM+6kD1MSr5ltrPAj34E4KrprMe4pfpkYAE4XWg/HhMgDCeTlbjfnb4Or7EW3Cly/p F5UGsuIF1gTg+zo1bSfl71GuYxVKGzJ6U9o8wq7yuYpn29MR2JdYz/KfJjOAmYroymrY0NdR0 svcbPgn5YKxaZrA0cw1uois3M1SdpJmu2ilebyHnBTxrlISitjdF3h1fOZtsqI4esEWKhPLIi +XQ4005HYTWKCs/QiJQuOUInqUkIMhjrONsfDPYK1VtP5TpH7lBa1AMwtVIqWY8wqPAoT4TbQ QE6pQHFb9cQ8A7bKV484iP+CiXdK5P4qIQ3N2EyunTz3ouq2yKBfumE1PuFvLAWk4RqQvRrKm z7ErLSQ6DNoT9edaHe2IFnyBVr7oj4xDT/KriMBxecG/UAoDp7pdxiwhb3DU56Oa/V+0zZksg 4axo11xZQcugYOF6dFs4wu3r4vGx1hfX+9W1H6P3yZ4br99HnwxMZl1W/bMVOpR83jSdKLD0M yGpUaQm22npw7J7KZvmvfh3oxnH0fWTyBH+stVN1Zqo0wEMqs4IsL0Juyp6fYFUZZ/Cg= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/02 12:30:06 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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:124247 Archived-At: Currently I have the following code. What I want to do is set the last two faces in green to be used only in texinfo-mode. What code should I use for my particular instance? (custom-set-faces '(font-lock-keyword-face ((t (:foreground "#ffdd00")))) '(font-lock-type-face ((t (:foreground "#ffdd00")))) '(font-lock-variable-name-face ((t (:foreground "green")))) '(font-lock-builtin-face ((t (:foreground "green")))) )