From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: faces for keywords Date: Tue, 19 Feb 2008 05:12:30 +0000 Message-ID: <87ablxwmv5.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRKmS-0002b2-6J for emacs-orgmode@gnu.org; Tue, 19 Feb 2008 00:12:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRKmQ-0002am-MP for emacs-orgmode@gnu.org; Tue, 19 Feb 2008 00:12:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRKmQ-0002aj-JQ for emacs-orgmode@gnu.org; Tue, 19 Feb 2008 00:12:34 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRKmQ-00089m-9A for emacs-orgmode@gnu.org; Tue, 19 Feb 2008 00:12:34 -0500 Received: by ug-out-1314.google.com with SMTP id a2so499063ugf.48 for ; Mon, 18 Feb 2008 21:12:33 -0800 (PST) In-Reply-To: (Dmitri Minaev's message of "Thu, 7 Feb 2008 13:07:25 +0400") 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: Dmitri Minaev Cc: emacs-orgmode@gnu.org "Dmitri Minaev" 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