Hi,
I have problem with reverting buffer when opening pdf via tramp.

Steps to reproduce are like this:
1. Open pdf with tramp over ssh -> DocView mode.
2. Update the pdf somehow on the server.
3. Press 'g' to revert buffer (doc-view-revert-buffer)  -> "yes".

If the pdf was updated, I expect to see an updated pdf. Instead I see an
old pdf.

*Messages* buffer has the following messages:
Tramp: Inserting ‘/ssh:host:/home/usename/tmp/demo/x.pdf’...
Tramp: Encoding remote file ‘/ssh:host:/home/username/tmp/demo/x.pdf’ with
‘(gzip <%s | base64)’...done
Tramp: Decoding local file ‘/tmp/tramp.11730wNk.pdf’ with ‘(lambda (beg
end) (base64-decode-region beg end) (let ((coding-system-for-write (quote
binary)) (coding-system-for-read (quote binary))) (apply (quote
tramp-call-process-region) [ssh nil host /home/username/tmp/demo/x.pdf nil]
(point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr
(split-string gzip -d)))))’...done
Tramp: Inserting ‘/ssh:host:/home/username/tmp/demo/x.pdf’...done

Is it an expected behavior somehow?

I tried both the latest version (2.3.1), and the version with emacs 25.1:
2.2.13.25.1.

Thanks,
Iakov
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to