emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in image-mode


From: Chong Yidong
Subject: Re: Crash in image-mode
Date: Thu, 25 May 2006 23:43:40 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> 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.,

   /address@hidden:~/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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]