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




_______________________________________________
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

Reply via email to