From: Bastien Guerry <Bastien.Guerry@ens.fr>
To: Dmitri Minaev <minaev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: faces for keywords
Date: Tue, 19 Feb 2008 05:12:30 +0000 [thread overview]
Message-ID: <87ablxwmv5.fsf@bzg.ath.cx> (raw)
In-Reply-To: <b6c377310802070107l378b161bp154bc91158817817@mail.gmail.com> (Dmitri Minaev's message of "Thu, 7 Feb 2008 13:07:25 +0400")
"Dmitri Minaev" <minaev@gmail.com> 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
next prev parent reply other threads:[~2008-02-19 5:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 9:07 faces for keywords Dmitri Minaev
2008-02-18 11:21 ` Carsten Dominik
2008-02-19 5:12 ` Bastien Guerry [this message]
2008-02-19 6:18 ` Dmitri Minaev
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ablxwmv5.fsf@bzg.ath.cx \
--to=bastien.guerry@ens.fr \
--cc=emacs-orgmode@gnu.org \
--cc=minaev@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 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.