From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Can't set full face attributes in variable org-todo-keyword-faces Date: Fri, 27 Apr 2018 01:34:59 +0200 Message-ID: <87zi1pilss.fsf@bzg.fr> References: <62c5ecaf-a7e1-d841-168f-7390da5795b1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBqPn-0008Kx-PF for emacs-orgmode@gnu.org; Thu, 26 Apr 2018 19:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBqPm-0001h4-OH for emacs-orgmode@gnu.org; Thu, 26 Apr 2018 19:35:03 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: stardiviner Cc: emacs-org-mode Hi, stardiviner writes: > I have following settings: > > ```elisp > > (setq org-todo-keyword-faces > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '(;;; todo keywords > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("TODO" :foreground "orange" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :box '(:color "dim gray"= :line-width -1)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("URGENT" :foreground "red" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :box '(:color "dim gray"= :line-width -1)))) > > ``` Instead of ":foreground "orange"" you should use the name of a face that you can define yourself. For example, (setq org-todo-keyword-faces '(("START" . org-priority))) will use the org-priority face for the TODO keywords "START". HTH, --=20 Bastien