|--==> "Jack" == Jack Twilley <jmt(a)twilley.org> writes:
Jack> I use XEmacs out of FreeBSD's ports systems. I use Gnus from CVS.
Jack> Whenever I read a mail message that contains a Face: header, XEmacs
Jack> dumps core.
Jack, eval this in scratch (C-j at end of form):
(let ((face
"iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEVKAAAiAAD6AAAKAACs
AAA0AABnAAAXAAAY4RqLAAACQUlEQVR4nFWUzWvdMBDEtxDrHBFU343JuUEUXYsROsvQTa8+CJ0j
TNG/39mV30ff4xHwT7OzuxqHHFtnbe/d2r3NvXvvfxDj29iy3fFkttbO/QT4Is5MOAmFbfjZ3ari
iyYSgGI4a+XAXaGA2e12CObeoPl+TERSand7V2LP4CzPrwcDBKmxdyXe489LqqoITruB+Yz6jbls
URVdgXQlvnB8SbGSgNZkvN5mPPeht8oFiglg18GlEBQh13pU8Ti7lR51ABGUuCScn8iHBjB3VDp9
czkuy3KIhwAU6ipw2Qh4F3IGsZ7FurdMVcAa1UM/YtE4myJAi3W5hIaegnUiGCCJxx8R4bxjpvIM
dD7v//ITgL0P8wAQZIByA9irggDAGFvbWtZKcO1hgN06AhHNetza9R97dzIwyKYKGUzB209jiFwW
EAG6HwOGno9c6TNVissqYJDTf2Cjx7ffi3oA4zJmZOfNy3XS9Lms2wDM+8iHAjLLmLxSqnWSWw8Z
j7GsbYBD2vslxKoC210fQDQOK8euj5c0PARQNQZhZEOVJhPjBUhDxAKQDzbbcgGUngTYDEA53s3x
GiDvjNcHwNTyuKiRZ8uigKSoBPV1iUgQtlfqQWVbx3JpBBCvAtaKYXG18Rkg7K81ptsFpguojzMF
/V5NIdYKfMPoJt4ES010B0hClM+mURBFwNt6hitt8cpImkgTgH8bkp14zf0uoErksT2sxlwxFMVY
e0F3rJdxgQLzKpWhmhjLeoBDHZMslu1/4B+5iwPgDPVBWgAAAABJRU5ErkJggg==")
(start (point-min)))
(set-extent-begin-glyph
(make-extent start start)
(make-glyph
(list (vector 'png ':data (with-temp-buffer
(insert face)
(base64-decode-region (point-min) (point-max))
(buffer-string))))))
nil)
It basically does what Gnus does to display Face: headers but doesn't
use any Gnus code.
If XEmacs crashes or you don't see a little image at (point-min) of
the scratch buffer, try upgrading your XEmacs (21.4.12 is current
stable, soon to be 21.4.13).
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|