3 ms·
Sort 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
by tomjakubowski 11y ago
Sort 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.