[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] faces for keywords
From: |
Bastien Guerry |
Subject: |
Re: [Orgmode] faces for keywords |
Date: |
Tue, 19 Feb 2008 05:12:30 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
"Dmitri Minaev" <address@hidden> writes:
> When I followed the examples given in the manual for setting
> org-todo-keyword-faces, I could change the font color but not its
> weight. I had to defface a new face and use it in the
> org-todo-keyword-faces to get the bold font.
>
> What I did first was:
> (setq org-todo-keyword-faces
> '(("WAITING" . (:foreground "blue" :weight bold :bold t))))
>
> The same face definition syntax used with defface worked well:
> (defface org-waiting-face '((t (:foreground "blue" :weight bold :bold
> t))) "Face for WAITING todo items.")
> (setq org-todo-keyword-faces
> '(("WAITING" . org-waiting-face)))
>
> GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>
> What did I do wrong?
Nothing. I tested this and noticed that the problem happened for the
:weight and :bold property, not for the :foreground property. Which
confirms this is a problem with Emacs.
--
Bastien