From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Bug: Invalid face reference Date: Fri, 29 Feb 2008 18:41:01 +0000 Message-ID: <87pruf1u82.fsf@bzg.ath.cx> References: <47C5F369.10206@gmail.com> <87wsop6f4p.fsf@bzg.ath.cx> <47C617B0.90801@gmail.com> <47C6E374.2050401@gmail.com> <47C83EB8.50302@gmail.com> 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 1JVAAX-0000O0-Oi for emacs-orgmode@gnu.org; Fri, 29 Feb 2008 13:41:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVAAV-0000Mg-Vc for emacs-orgmode@gnu.org; Fri, 29 Feb 2008 13:41:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVAAV-0000MV-QV for emacs-orgmode@gnu.org; Fri, 29 Feb 2008 13:41:15 -0500 Received: from ug-out-1314.google.com ([66.249.92.173]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVAAV-00029O-2O for emacs-orgmode@gnu.org; Fri, 29 Feb 2008 13:41:15 -0500 Received: by ug-out-1314.google.com with SMTP id a2so443140ugf.48 for ; Fri, 29 Feb 2008 10:41:07 -0800 (PST) In-Reply-To: <47C83EB8.50302@gmail.com> (Wanrong Lin's message of "Fri, 29 Feb 2008 12:19:52 -0500") 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: Wanrong Lin Cc: emacs-orgmode@gnu.org Wanrong Lin writes: > In a tag search result buffer, I move the cursor to a tag, and eval > (get-text-property (point) 'face), and I get: (org-tag nil). So this > "nil" is causing the problem, but I don't know where it is sneaked in. Thanks for the update. Here I get (org-tag org-level-1) when I fetch the 'face property in a tag at a headline on the first level. So it looks like the headline face is not properly set. I first thought it might be because of `org-level-color-stars-only' being nil, but then the value for the 'face property in a tag is (org-tag), which is okay. I still cannot reproduce the problem, but I guess we're getting close to the solution. Maybe something weirdness happens because `org-get-level-face' does not behave the same in your version of Emacs. Just a wild guess. -- Bastien