Oliver Graf <ograf(a)fga.de> wrote:
Perhaps mh-e, tm, or whatever module of XEmacs is reponsible should
do a bit
file-magic and guess the type of the file to use the correct MIME type.
I believe TM is responsible.
TM will also guess the type based upon the file extension (see the
alist, "mime-file-types", in tm/tm-edit.el). There are even entries for
the extensions ".diff" and ".patch"; unfortunately, the defaults for
these are application/octet-stream (I'd like to change them to
text/plain w/base64 -- any comments?). For unrecognized files, the
default is also application/octet-stream.
-- Darryl Okahata
Internet: darrylo(a)sr.hp.com
DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Hewlett-Packard, or of the
little green men that have been following him all day.