emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Wanrong Lin <wanrong.lin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tag search and "invalid face" error from htmlize-buffer
Date: Tue, 13 Nov 2007 12:01:09 +0100	[thread overview]
Message-ID: <2ECA6DA3-B719-4A8F-9604-7EC9CEBDCA02@science.uva.nl> (raw)
In-Reply-To: <473736A8.90903@gmail.com>


On  11Nov2007, at 6:06 PM, Wanrong Lin wrote:

> Hi,
>
> I wonder anyone has seen this:
>
> After I do a tag search (for TODO items), if I do "htmlize-buffer"  
> on the search result, I will get an "invalid face" error. Since I  
> have quite some customization on my org-mode, I am not quite sure  
> whether this is my problem, or org-mode, or htmlize-buffer's problem.
>
> Thank you.

Does this in .emacs fix the problem?


(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)))))

  parent reply	other threads:[~2007-11-13 11:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-11 17:06 Tag search and "invalid face" error from htmlize-buffer Wanrong Lin
2007-11-12  5:24 ` Bastien
2007-11-12 14:53   ` Wanrong Lin
2007-11-12 19:54   ` Wanrong Lin
2007-11-13 11:01     ` Bastien
2007-11-13 11:01 ` Carsten Dominik [this message]
2007-11-13 15:24   ` Wanrong Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ECA6DA3-B719-4A8F-9604-7EC9CEBDCA02@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=wanrong.lin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).