Michael Albinus <[email protected]> writes:
Hi Mikhail,
>> I am aware that the code for image display is well outside of TRAMP
>> and separate report should be submitted. I am attaching a tramp debug
>> file I got when opening the image in a clean session (no .emacs conf)
>> and playing with resizing it. On the last resize I got buffer edit
>> prompt. Let me know if this has to be submitted to general Emacs bug
>> reporting list.
>
> Yes, I believe it fits all together. But since this is not my game
> field, a bug report might involve other Emacs developers for fixing it.
Just a wild guess: does the appended patch to image-mode.el helps?
>> Thanks,
>>
>> Mikhail
Best regards, Michael.
*** /tmp/ediff8MKRAj 2020-12-15 11:48:55.135422232 +0100
--- /home/albinus/src/emacs/lisp/image-mode.el 2020-12-15 11:48:23.287396973 +0100
***************
*** 794,801 ****
(error "The buffer is not in Image mode"))
(let* ((filename (buffer-file-name))
(data-p (not (and filename
- (file-readable-p filename)
(not (file-remote-p filename))
(not (buffer-modified-p))
(not (and (boundp 'archive-superior-buffer)
archive-superior-buffer))
--- 794,801 ----
(error "The buffer is not in Image mode"))
(let* ((filename (buffer-file-name))
(data-p (not (and filename
(not (file-remote-p filename))
+ (file-readable-p filename)
(not (buffer-modified-p))
(not (and (boundp 'archive-superior-buffer)
archive-superior-buffer))