Bug: get-face-font: Xemacs21.5.29: org-preview-latex-fragment [7.5]
Stephen J. Turnbull
stephen at xemacs.org
Sat Jan 28 14:48:39 EST 2012
Uwe Brauer writes:
> The problem seems to be here:
> (defun org-dvipng-color (attr)
> "Return an rgb color specification for dvipng."
> (apply 'format "rgb %s %s %s"
> (mapcar 'org-normalize-color
> (color-values (face-attribute 'default attr nil)))))
> Xemacs complains about color-values and of course face-attribute.
And XEmacs is right to complain. This is an org-mode bug. XEmacs
doesn't have `face-attribute', and we will never have a fully
compatible version because our face properties are mostly specifiers,
which GNU doesn't have. Specifiers have a rather different API from
ordinary variables, and that's not going to change.
Dunno about `color-values', maybe we can and should synch that -- but
for now, we don't have it.
More information about the XEmacs-Beta