> Emacs crashes while visiting remote image files.
>
> It seems that the png library can't handle remote files, so the
> following change fixes this:
>
> Index: lisp/image-mode.el
> +                  (not (file-remote-p (buffer-file-name)))

I've installed this patch.  BTW, Emacs really shouldn't crash due to
Lisp code, which means there was also a bug in the C code, which I've
also fixed.  Thanks!

BTW, I noticed that you also can't view images over ssh/tramp
(ange-ftp works fine, with the above fix).  When I do `C-x C-f' to an
ssh server, e.g.,

   /[EMAIL PROTECTED]:~/barber.png

the image doesn't display.  When I look at the raw data, it looks
different from that of a local copy, so it looks like this is a
problem with Tramp rather than the image handling code.  I think there
is some trouble reading binary files off ssh/tramp.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to