Running Emacs Remotely Between Multiple Machines

I am using Emacs remotely using X-Server on a Windows client and Linux server. I noticed that I can stop it with ctrl-z, and then type fg 1so that it works again. Is there a way I can get him to stop on the car I'm on, and then go to another car and start where I left off? When I start a new ssh session, emacs is not connected to my terminal. There must be something to “steal” it.

In addition, there may be an Emacs function that will do basically the same thing. However, I think that closing and reopening all of my files and buffers will take quite a while.

+5
source share
3 answers

Extending the idea of ​​using emacsclient , you can see what someone did to solve the problem of editing a file from a different machine than where (a) he started running Emacs .

Starting with Emacs 23, you can run emacsclient in terminal windows using the parameter -nw.

Other solutions you can try to use:

"" "" , . ... vnc , vnc .

desktop ( Emacs). wiki , , .

+6

emacs emacsclient . emacs ttys X11.

C-X C-C .

, emacs . , , .

emacsclient --alternate-editor="" -c
+2

, Emacs, . Emacs ( SSH) , , Emacs. . Emacs "" M-x recover-this-file. Trey, . , , .

+1

All Articles