4 ms·
Run Emacs as a server. You can kill the client accidentally, then just load another client instantly and carry on from where you left off.
by MarcScott 6y ago
Run Emacs as a server. You can kill the client accidentally, then just load another client instantly and carry on from where you left off.
- momentoftop 6y agoExactly. My emacs uptimes (M-x emacs-uptime) are generally the same as my machine's uptime, which is typically months. Emacs is one of the most rock-solid pieces of software I have running. It's also great for remote. I have emacs daemons running continuously on my remote boxes. To start work on those machines, I log in and start my emacs client. I've never had a need for things like "screen".
- disgruntledphd2 6y agoDoes that actually work? My understanding is that without screen/tmux, the process will die if you disconnect the shell (on a remote box). Interesting that --daemon works too (I've been running emacs through tmux for years, and never knew that).
- momentoftop 6y agoIt definitely works, starting emacs with "--daemon".