Iakov Davydov <[email protected]> writes:

> Hi Michael,

Hi Iakov,

> No. Locally both revert-buffer & doc-view-revert-buffer work as
> expected (i.e. new file is displayed).
> The problem (i.e. new content is not displayed) happens only on a pdf
> file opened via tramp.

I've checked doc-view-revert-buffer. It works over
doc-view--buffer-file-name. So it doesn't detect a changed pdf, see its
docstring:

--8<---------------cut here---------------start------------->8---
doc-view--buffer-file-name is a variable defined in ‘doc-view.el’.
Its value is "/tmp/docview1000/123.pdf"
Local in buffer 123.pdf</ssh:host:>; global value is nil

Documentation:
Only used internally.
The file name used for conversion.  Normally it’s the same as
‘buffer-file-name’, but for remote files, compressed files and
files inside an archive it is a temporary copy of
the (uncompressed, extracted) file residing in
‘doc-view-cache-directory’.
--8<---------------cut here---------------end--------------->8---

Nothing Tramp could do. I recommend to write an Emacs bug.

> Thanks a lot,
> Iakov

Best regards, Michael.

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

Reply via email to