* faces for keywords
@ 2008-02-07 9:07 Dmitri Minaev
2008-02-18 11:21 ` Carsten Dominik
2008-02-19 5:12 ` Bastien Guerry
0 siblings, 2 replies; 4+ messages in thread
From: Dmitri Minaev @ 2008-02-07 9:07 UTC (permalink / raw)
To: emacs-orgmode
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?
--
With best regards,
Dmitri Minaev
Russian history blog: http://minaev.blogspot.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: faces for keywords
2008-02-07 9:07 faces for keywords Dmitri Minaev
@ 2008-02-18 11:21 ` Carsten Dominik
2008-02-19 5:12 ` Bastien Guerry
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-02-18 11:21 UTC (permalink / raw)
To: Dmitri Minaev; +Cc: emacs-orgmode
On Feb 7, 2008, at 10:07 AM, Dmitri Minaev wrote:
> 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?
I don't know, do not understand faces well enough in Emacs.
- Carsten
>
>
> --
> With best regards,
> Dmitri Minaev
>
> Russian history blog: http://minaev.blogspot.com
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: faces for keywords
2008-02-07 9:07 faces for keywords Dmitri Minaev
2008-02-18 11:21 ` Carsten Dominik
@ 2008-02-19 5:12 ` Bastien Guerry
2008-02-19 6:18 ` Dmitri Minaev
1 sibling, 1 reply; 4+ messages in thread
From: Bastien Guerry @ 2008-02-19 5:12 UTC (permalink / raw)
To: Dmitri Minaev; +Cc: emacs-orgmode
"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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-19 6:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-07 9:07 faces for keywords Dmitri Minaev
2008-02-18 11:21 ` Carsten Dominik
2008-02-19 5:12 ` Bastien Guerry
2008-02-19 6:18 ` Dmitri Minaev
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.