From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dmitri Minaev" Subject: faces for keywords Date: Thu, 7 Feb 2008 13:07:25 +0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JN2jF-0007lW-9L for emacs-orgmode@gnu.org; Thu, 07 Feb 2008 04:07:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JN2jC-0007km-Vh for emacs-orgmode@gnu.org; Thu, 07 Feb 2008 04:07:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JN2jC-0007kS-Gn for emacs-orgmode@gnu.org; Thu, 07 Feb 2008 04:07:30 -0500 Received: from rv-out-0910.google.com ([209.85.198.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JN2jC-0001er-4V for emacs-orgmode@gnu.org; Thu, 07 Feb 2008 04:07:30 -0500 Received: by rv-out-0910.google.com with SMTP id c27so3825612rvf.6 for ; Thu, 07 Feb 2008 01:07:26 -0800 (PST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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