[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.50; Small problems with doc-view.el
From: |
Stefan Monnier |
Subject: |
Re: 23.0.50; Small problems with doc-view.el |
Date: |
Wed, 09 Jan 2008 21:01:26 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
>> Does it also work for files accessed via Tramp, now?
> Yes, now it does. But it looses the connection to the original remote
> file, so if you open a remote pdf and do C-c C-c to edit it, these
> changes won't be propagated back to the remote host. The same applies
> to compressed documents and documents in archives.
> If you edit a remote PS file with tramp C-x C-s will save the updated
> file to the remote host. But as soon as you hit C-c C-c the current
> buffer contents are saved to a file in doc-view-cache-directory which is
> then converted. Switching back to editing will open that file instead
> of the original file. That might be a problem...
Indeed, that's not a feature. Why is that? Can't you just save the
buffer's contents to some temp local file and save the name of that file
to doc-view-buffer-file-name or somesuch?
Stefan