From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin Subject: Bug: Invalid face reference Date: Wed, 27 Feb 2008 18:34:01 -0500 Message-ID: <47C5F369.10206@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUVn2-0008RF-MJ for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:34:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUVn1-0008Qh-3z for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:34:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUVn0-0008Qe-Qt for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:34:18 -0500 Received: from wx-out-0506.google.com ([66.249.82.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUVn0-0001Xo-Jt for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:34:18 -0500 Received: by wx-out-0506.google.com with SMTP id s7so3621709wxc.24 for ; Wed, 27 Feb 2008 15:34:17 -0800 (PST) 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 Hi, I found something really strange: Whenever I do a search (either "tags-todo" search, or "todo" search), as long as the search result contains an entry with tags, the "*Messages*" buffer will generate a message like this: Invalid face reference: nil [164 times] The number "164" above is just an example. What actually happens is that the number keeps increasing (sometimes to over a thousand) and then stops. But if I move the cursor (in the search result buffer) to a line that has a tag, the number will increase again. I remember months ago I had trouble using "htmlize.el" on a tag search result buffer because of some "invalid face" error, and somebody on this mailing list gave me a workaround like this: (eval-after-load "htmlize" '(progn (defadvice htmlize-faces-in-buffer (after org-no-nil-faces activate) "Make sure there are no nil faces" (setq ad-return-value (delq nil ad-return-value))))) That does work for htmlize, but I think based on my above observation, the problem has nothing to do with "htmlize.el" and something probably is wrong in org itself. I am using org 5.22a. Thanks if someone can look into it. Wanrong