Mike Kupfer writes:
A couple of users have reported warnings on 21.5.31 when using
"gnuclient -nw" and XEmacs has a graphics image that was created using
(make-glyph ... :data ...). See issue778 for details (including the
values of the :data-based and :file-based glyphs that I talk about
below).
I'd need to see the exact code which is instantiating the images.
However remember that there are many source types for images. If you
only provide the :data element, the image instantiator code will have
to guess media type based on content. I suspect there's a bug in that
code that has a bad interaction with the generic specifier code that
tries to instantiate on all consoles. On the other hand the :file
element uses the file name extension to guess type, and I suspect is
more accurate.
First question: as described in issue778, the test-case glyph from
MH-E
is different depending on whether it was created using :data or :file.
With:data, the specifier has tty and stream clauses that it lacks when
created with :file. Is that to be expected?
No.
Second question: suppose a buffer is created containing one of these
:data glyphs while the current frame is an X window, and then the buffer
is then viewed in a tty frame. With 21.5.31, the user gets warnings.
With 21.5.29+0d436a78c514, there are no warnings, even though the
glyph's specifier still has those tty and stream clauses. Is this
new warning expected?
No.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta