4 ms·
One reason to run Emacs in tmux is if you work on remote machines over, e.g. ssh. Emacs in tmux (or screen) lets you detach, log out then log back in and re-att
by pivo 14y ago
One reason to run Emacs in tmux is if you work on remote machines over, e.g. ssh. Emacs in tmux (or screen) lets you detach, log out then log back in and re-attach to the remote session with Emacs still running. That's amazingly handy.
- ams6110 14y agoAnother option is tramp[1], which lets you open files remotely (generally via ssh/scp). Not the same thing, but often accomplishes the same goal. [1] http://www.gnu.org/software/tramp/#Top http://www.gnu.org/software/tramp/#Top
- cdjk 14y agoYou still need a remote shell open if you want to run make, use SCM plugins, etc, so I've never found tramp that useful. If there's a clever solution for that I'd love to hear it.
- jrdn 14y agoeshell interfaces pretty well with tramp (well, not over FTP obviously, but ssh) so if you're editing a file over tramp and start eshell, it'll be in the directory of the file on the remote host. you can also use tramp-y paths in eshell: cd /user@host:/home/user/
- cdjk 14y agoI realize I'm a bit late to reply, but thanks for the tip. The biggest problem I had was with p4 mode (we use perforce at work) and rope-mode - I didn't really feel like hacking those to get it to work with tramp. And I can keep everything open across network disconnects with screen or tmux...
- cobbal 14y agoActually, make works in tramp by default if you use 'M-x compile' and friends.
- gcr 14y agoEmacs-server does the same thing. C-h f server-start