Due to help of Stephen J. Turnbull I was able to notice a bug in w3
stylesheet shipped with XEmacs 21.4.6 (Debian package was
xemacs21-basesupport, version 2002.03.29-1). Whenever I ran a command from
XEmacs like validate an XML document, published a directory from EmacsWiki
etc I got the following backtrace:
(setq debug-on-error t)
Signaling: (wrong-type-argument arrayp nil)
font-default-size-for-device(nil)
font-spatial-to-canonical("+12pt")
css-expand-length("+12pt" t)
css-expand-value(height "+12pt")
css-parse-args(238 257)
css-parse("file:/usr/share/xemacs21/packages/etc/w3/stylesheet" nil nil)
w3-find-default-stylesheets()
w3-refresh-stylesheets()
w3-do-setup()
mm-setup-w3()
mm-inline-text-html-render-with-w3((#<buffer " *mm*<3>">
("text/html"
(charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
mm-inline-text-html((#<buffer " *mm*<3>"> ("text/html"
(charset
. "iso-8859-1")) quoted-printable nil nil nil nil nil))
mm-display-inline((#<buffer " *mm*<3>"> ("text/html"
(charset
. "iso-8859-1")) quoted-printable nil nil nil nil nil))
mm-display-part((#<buffer " *mm*<3>"> ("text/html"
(charset
. "iso-8859-1")) quoted-printable nil nil nil nil nil))
byte-code("..." [ihandles id begend preferred ibegend handle 2
mm-remove-parts point-marker gnus-unbuttonized-mime-type-p
"multipart/alternative" gnus-add-text-properties format "%d. "
gnus-callback lambda (handles) unless setq gnus-article-mime-handle-alist
quote gnus-mime-display-alternative append gnus-local-map-property face
gnus-part gnus-data widget-convert-button link :action
gnus-widget-press-button:button-keymap "(%c) %-18s" ?* ?\ 1 (handles) "
"
"\n\n" gnus-display-mime mm-display-part gnus-treat-article nil bufferp
from handles not-pref gnus-mime-button-map gnus-mouse-face-prop
gnus-article-mouse-face ...] 16)
gnus-mime-display-alternative(((#<buffer " *mm*<2>">
("text/plain" ...)
quoted-printable nil nil nil nil nil) (#<buffer " *mm*<3>">
("text/html"
...) quoted-printable nil nil nil nil nil)) nil nil 1)
gnus-mime-display-part(("multipart/alternative" (#<buffer "
*mm*<2>">
("text/plain" ...) quoted-printable nil nil nil nil nil) (#<buffer "
*mm*<3>"> ("text/html" ...) quoted-printable nil nil nil nil
nil)))
gnus-display-mime()
gnus-article-prepare-display()
gnus-article-prepare(545 nil)
gnus-summary-display-article(545 nil)
gnus-summary-select-article(nil nil pseudo)
gnus-summary-scroll-up(1)
call-interactively(gnus-summary-scroll-up)
Stephen told an easy fix, though - he suggested removing all relative font
sizes from the stylesheet file, and I changed all relative strings of the form
'+<x>pt' to absolute font sizes, which fixed the problem for me.
--
# Edvard Majakari Software Engineer
# PGP PUBLIC KEY available Soli Deo Gloria!
$_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc
substr(crypt(60281449,'es'),2,4),"\n";