Closed idcrook closed 4 years ago
I committed the codes to use the local temp file to preview. Please test if it works for you.
Tested on Emacs27 running on macOS editing a file over tramp/ssh, and this latest commit from master worked out of the box to preview. Thank you! 🥇
Does grip-mode work with files being edited using Tramp mode?
Tramp mode allows emacs user to edit files located on a remote machine "transparently" to user, in the backend using, e.g.,
ssh
orscp
When I try to preview using grip-mode in Emacs, I see the following in `Messages buffer:
The file in this example is
/ssh:rpit8:/home/pi/projects/raspi-receiver-remote-control/README.md
and there's aREADME.md.tmp
file visible on the remote filesystem next toREADME.md
But there's no grip server I can find, either remotely or locally, and no browser view. My setup is running Emacs27 on macOS and trying to preview edits for markdown files on a remote Raspberry Pi (Raspian).
Is it possible that this feature might involve optionally having the .tmp file be placed on the "local" machine's operating system temp-dir (where Emacs is running) and sending that locally visible file location to grip?