Subject: Re: bug#45256: Viewing images over network using TRAMP (errors and unexpected prompts)

From: Michael Albinus <[email-masked]>
Date: Fri, 18 Dec 2020 10:58:21 +0100

Juri Linkov <[email-masked]> writes:

Hi Juri,

> But maybe using the image data from the buffer is much faster to display
> the image (image data was already inserted to the image buffer by previous
> remote file-reading operation), than to read the image data from the
> remote file again by internal image-displaying functions.

Yes, this sounds smoother.

>> You haven't protected the timer function against the
>> remote-file-error. Are you sure it cannot happen?
>
> There is no need to protect the whole timer function
> that doesn't use remote calls, so I protected only the
> image-toggle-display-image call in the timer function.

I see. Thanks.

Best regards, Michael.