I love using Emacsserver and Emacsclient, as it saves all of my buffers so that if I log in via ssh and then log out, all of my buffers are saved.
However, when I log into Emacsserver after quitting from another session, the layout (for instance how many windows I have and how they are set up) is gone, and I always start from a Scratch buffer.
In the past I have used TMUX to make it so that when I reconnect to a terminal session, my Emacs session was identical to how I left it.
Even if I minimize Emacsserver before exiting ^z
upon reconnecting all of my window set up information is lost.
Is there a way to have Emacsserver remember all your window placement options?
C-x 5 2
. There will be solutions to the problem, but that's why it behaves this way by default. – phils Nov 10 '16 at 23:49frameset
library is probably what you want to look at. As an easy manual example/demonstration, tryC-x r f a
before closing one client, andC-x r j a
after opening another. – phils Nov 11 '16 at 0:00C-h k
the two commands are callingframeset-to-register
andframeset--jump-to-register
respectively. Ultimately they are usingframeset-save
andframeset-restore
. – phils Nov 15 '16 at 9:17