* Can't set full face attributes in variable org-todo-keyword-faces
@ 2017-12-18 2:14 stardiviner
2018-04-26 23:34 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: stardiviner @ 2017-12-18 2:14 UTC (permalink / raw)
To: emacs-org-mode
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))))
```
But I check out it's docstring, found variable `org-faces-easy-properties`.
It has value:
```elisp
(setq org-faces-easy-properties '((todo . :foreground) (tag .
:foreground) (priority . :foreground)))
```
So my `:box` attribute does not work.
I hope I can specify full face attributes in `org-todo-keyword-faces`.
I guess this might need to modify source code.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can't set full face attributes in variable org-todo-keyword-faces
2017-12-18 2:14 Can't set full face attributes in variable org-todo-keyword-faces stardiviner
@ 2018-04-26 23:34 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2018-04-26 23:34 UTC (permalink / raw)
To: stardiviner; +Cc: emacs-org-mode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-26 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18 2:14 Can't set full face attributes in variable org-todo-keyword-faces stardiviner
2018-04-26 23:34 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.