3 ms·
Is there an emacs equivalent of screen -r? (or, if you want to be exciting, -x?)
by fennecfoxen 11y ago
Is there an emacs equivalent of screen -r? (or, if you want to be exciting, -x?)
- tomjakubowski 11y agoSort of. You can run emacs as a daemon and attach to it with emacsclient. Then when you want to detach, you just C-x C-c like usual, or disconnect and let the emacsclient process die. You have to remember to run emacs as a daemon up front, though. You could also run emacs inside something like dtach or abduco [1], which are a "session managers" like screen or tmux but without the multiplexer. http://www.brain-dump.org/projects/abduco/ http://www.brain-dump.org/projects/abduco/
- LukeShu 11y agoYes, I was referring to `emacs --daemon`/`emacsclient`. If you run `emacsclient -a ''` then it will automatically run `emacs --daemon` for you (if it isn't already running), so that you don't need to run it up-front.