I have setup my windows in a certain way. How do I save this setting to be invoked later?
If you want to persist a layout in your hard-drive, desktop-save
is the option.
If you need to store multiple layouts during emacs' process lifetime (e.g. you connect to a long-running emacs daemon using emacsclient
), you can use C-x r f
to store the frame layout in some register and C-x r j
for restore.
Since I now and then remotely connect to the work station to do sth, disconnect for a while and later reconnect, restoring layout helps me continue stuff seamlessly (note in this case window layouts stored by C-x r w
would be gone).