I am running a tmux session on a server where I do my development work (this is where I run emacs). I have two monitors - how do I use both of them with the same emacs session? If I join the same tmux session, the monitors just mirror each other. If I am not in the same tmux session (and by extension a different emacs session) I will have to reread from disk everytime a file gets updated, and there can be differences between the different working versions of files. Any thoughts on how to use both monitors here?
You can start two tmux sessions. In one you run an Emacs and start the "Emacs server" using
M-x emacs-server RET. In the other you can run
emacsclient -nw, this will create a second tty frame.
In fact, you can use
emacsclient -nw to connect to a graphical Emacs, in case one in running on the machine.