emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: stardiviner <numbchild@gmail.com>
Cc: emacs-org-mode <emacs-orgmode@gnu.org>
Subject: Re: Can't set full face attributes in variable org-todo-keyword-faces
Date: Fri, 27 Apr 2018 01:34:59 +0200	[thread overview]
Message-ID: <87zi1pilss.fsf@bzg.fr> (raw)
In-Reply-To: 62c5ecaf-a7e1-d841-168f-7390da5795b1@gmail.com

Hi,

stardiviner <numbchild@gmail.com> writes:

> I have following settings:
>
> ```elisp
>
> (setq org-todo-keyword-faces
>       '(;;; todo keywords
>         ("TODO" :foreground "orange"
>          :box '(:color "dim gray" :line-width -1))
>         ("URGENT" :foreground "red"
>          :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,

-- 
 Bastien

      reply	other threads:[~2018-04-26 23:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18  2:14 Can't set full face attributes in variable org-todo-keyword-faces stardiviner
2018-04-26 23:34 ` Bastien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zi1pilss.fsf@bzg.fr \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=numbchild@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).