Maybe a silly question: I'm using desktop for saving Emacs' sessions. I've set
(setq desktop-restore-frames t)
(desktop-save-mode 0)
So windows and frames state is supposed to be saved, and I'm saving and reading desktop files manually.
When I run Emacs in its own X window, and I do desktop-read
or desktop-change-dir
everything is fine - frames, buffers and windows (including window splitting) are restored (for example, if I split a window with C-x 2
, then save the desktop, this state is restored).
However, when I run Emacs either in a terminal emulator or in a virtual terminal only buffers are restored - window splitting is not shown, and although, when loading a desktop file I see a message like "Desktop: 2 frames, 5 buffers restored." in the minibuffer, and I see "F1" in the mode line, nothing happen when I do, for example C-x 5 o
(that is, other-frame
).
Is this how it is supposed to work or am I missing something?