Uwe Brauer wrote:
> Uwe> Although jpg, tiff and giff support are compiled in,
when
> Uwe> visiting such a file, I just see strange symbols.
>
> Uwe> what is the problem?
>
> The method the author chose to automatically start the mode was
> inappropriate and interfered with other modes. Worse, once you
> started it it was impossible to remove. Somebody disabled it early in
> 21.2.
>
> Add something like
>
> ("\\.\\(jpe?g\\|gif\\|png\\|tiff?\\)$" . image-mode)
>
> to 'auto-mode-alist should work.
Aha, but no, it does not work, I mean now xemacs is in image mode, but
still the jpg file is not displayed such as.
image-mode relies upon having been called via format-alist (e.g. use
of buffer-file-format); it can't operate as a "normal" mode.
I have a version of image-mode.el which I hacked to work as a normal
mode. Should I send it to xemacs-patches? Or elsewhere?
--
Glynn Clements <glynn.clements(a)virgin.net>