[Top][All Lists]

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

docview & tramp revert-buffer problem

From: Iakov Davydov
Subject: docview & tramp revert-buffer problem
Date: Tue, 04 Apr 2017 18:31:10 +0000

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:


reply via email to

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