all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: clinif <clin24@gmail.com>, 648@emacsbugs.donarmstrong.com
Cc: bug-gnu-emacs@gnu.org
Subject: bug#648: htmlize.el doesn't work fine
Date: Tue, 5 Aug 2008 10:52:54 +0200	[thread overview]
Message-ID: <f7ccd24b0808050152r562d2be8w24ecf6d78791a025@mail.gmail.com> (raw)
In-Reply-To: <7870d91c0808042306u584eef21q1e119616bd332157@mail.gmail.com>

On Tue, Aug 5, 2008 at 08:06, clinif <clin24@gmail.com> wrote:

> Debugger entered--Lisp error: (error "Invalid face")
>   internal-get-lisp-face-attribute(nil :height nil)
>   face-attribute(nil :height)

In Emacs 23.X,

  (face-attribute 'default :inherit) => nil

while in Emacs 22.X,

  (face-attribute 'default :inherit) => unspecified

I'm not sure whether that's a bug, but it is an incompatible change.

For the time being, you can patch your htmlize.el, changing one line
of htmlize-face-size, from

	  for f = face then (face-attribute f :inherit)

to

	  for f = face then (or (face-attribute f :inherit) 'unspecified)

 Juanma






  reply	other threads:[~2008-08-05  8:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05  6:06 bug#648: htmlize.el doesn't work fine clinif
2008-08-05  8:52 ` Juanma Barranquero [this message]
2008-08-05  9:18   ` Lennart Borgman (gmail)
2008-08-05 10:26     ` clinif
2008-08-06 11:18     ` Vivek Dasmohapatra
2008-08-08 18:10   ` Stefan Monnier
2008-08-11 23:07     ` Juanma Barranquero

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

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

  git send-email \
    --in-reply-to=f7ccd24b0808050152r562d2be8w24ecf6d78791a025@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=648@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=clin24@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.