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: face-remap-add-relative not executing Date: Mon, 23 Nov 2020 03:44:48 +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="3136"; 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 Nov 23 03:47:37 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 1kh1tA-0000ic-OF for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 23 Nov 2020 03:47:36 +0100 Original-Received: from localhost ([::1]:47774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kh1t9-0002Sy-Dp for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 21:47:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kh1qX-0002BR-Sw for help-gnu-emacs@gnu.org; Sun, 22 Nov 2020 21:44:54 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:55469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kh1qV-0001N1-Tx for help-gnu-emacs@gnu.org; Sun, 22 Nov 2020 21:44:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606099488; bh=sv59auMlldL9xn+j3h49F7MGcEcXmffCSA5uq614FrI=; h=X-UI-Sender-Class:From:To:Subject:Date; b=ln6wBaur/A3yjJwz77JYnUB6w7yc4mdZcR6uQtvMfeDsy8/JyVhCCdhTMqJUIvm3I FFQHSSyszNyAGdgJRhfhJ3JjepzOY7Uq1kH+H6A37tjcJVfXBjBbbkd7TYG1+lJ+2W UMNqm02raTnjqL4nHnNKFtWBTKjRbIvGH7ErsRKo= 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); Mon, 23 Nov 2020 03:44:48 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:oG304tHxVYE6HOBbisxlkacv4oReelfI44zjsNEQTw4qD0iQ8TPV8qAGDVYBKJJAfa0Px SpJXgWQccjmhEzjlEkNa0buhV3WEst2aj9yNy94olrwHlPny1yAQPXkot3ioAs27SOntgkl5TEF3 E7uZJdVK6K6ZvLrWqjUbtVL7vSNk64xX+CUFJFYg0PiULfswBI4qokRQOhvPZuLZTfA4A7QLEdTp 1cO6peNTaoD4dk3CO9fz7lAslrzvIaGky+upT6ZMMNiKdH3bKfEMmp4efniHEKLjyNd8WlemkA4G 9U= X-UI-Out-Filterresults: notjunk:1;V03:K0:4RMGqm4By50=:RaO/8TIy/4YazuCfLoJdWf W1OEJP7fg6kSYFfaF8EGBQBibeVRoVVVmtU5G40bBJ/tUBTdEf8/cV0wf/6HxntnB57wlVvz8 VKLb2EgIcCQVbaCeXk42Pl7S+qjeumuSzsJlzRZpTd26pdNs7lWcL+6+bAyoA4IYsG1/eL9mA N4KPuh+aGF7RVenJXAXxoLdLeQSZH4Po4KcI0kOr6EOPPE2Hy37M6M161YrFogU5yr2egqkPV dLj3sd+1tHk4AHmRqhxsiyIA/Gq1wXbtlmCz0BISPjMVZ+KRg6j2s65idPMTLBjP9Pcl0DMIB gmoxD2pIvOkA1gag9+9881OlfJUmt1dR/Tiw4dNV1xTGNJ06xB5CVS7t+ZIBmGfWOiGHL4pW/ L2WJC/c+kq8kD/ZQXiUxwCIZB58vhWDxI6iyO2cWRcIGThp+AhPg9zIDBHmoYlbr0lBMN1OV9 qQ0npK8MoytfcHeHHqdynUfB4rmuYEvSNaNmbUPKWtAVjVyPL9UhRyupc6SkqCzsyxD55hLnY i+N1Ci6aD6cs/R4ptWOCV9C0NTPRHq+7W/iN+FhMoUUkMd0HfF9yTpxQkNrmQVAi/DK2MPhe+ tcBBFikaLkqGY= Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@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:125500 Archived-At: I have written this piece, however the colours are not taking effect. (add-hook 'org-mode-hook (lambda () (face-remap-add-relative '(org-level-1 ((t (:foreground "00FFFF")))) '(org-level-2 ((t (:foreground "chartreuse")))) '(org-level-3 ((t (:foreground "dark orange")))) '(org-level-4 ((t (:foreground "yellow")))) '(org-level-5 ((t (:foreground "magenta")))) '(org-level-6 ((t (:foreground "tan1")))) '(org-level-7 ((t (:foreground "deep sky blue")))) '(org-level-8 ((t (:foreground "orange red")))) )))