Sebastien Vauban <wxhgmqzgw...@spammotel.com> wrote: > Hello, > > Not a good day for me, today... > > * Summary > > Quite "simple": the following block generates an "Invalid face" error when > exported to HTML. > > #+begin_src sh > svn checkout http://svn/trunk/dev/ mydev > #+end_src > > This worked yesterday. Does it ring a bell to someone? Could some recent > commit be responsible of this? >
Can't reproduce it either with a slightly earlier version of org (.19) or latest (.44 - note that I'm ahead of origin/master by 3 commits). Try evaluating this expression which is the one that gave you the error: (htmlize-face-size 'default) I get 113 in my setup, so this looks like an htmlize error. I don't understand where the nil face (which is indeed invalid) comes from. Also htmlize-face-size wraps the face-attribute call inside an (ignore-errors ...) form, so it should *not* blow up. Are you using some old outdated htmlize code by any chance? Nick > * Version info > > GNU Emacs 24.0.92.1 (i386-mingw-nt5.1.2600) of 2011-12-07 on MARVIN > > Org-mode version 7.8.03 (release_7.8.03.31.g28541) > > * Backtrace > > #+begin_src emacs-lisp > Debugger entered--Lisp error: (error "Invalid face") > internal-get-lisp-face-attribute(nil :height nil) > face-attribute(nil :height) > ... > htmlize-face-size(default) > ...