> I think the reason for disabling restoring frames on -nw wasn't because > of technical reasons, but because of most users not being aware that an > -nw Emacs can have frames, so they ended up with very confusing setups > after restoring from desktop. > > But this is an issue that's come up again and again, so I think we > should introduce a new user option to allow desktop to restore frames on > -nw. (And that means that we should also apply your patch, I think?) Indeed, this is what an old comment in desktop.el used to say: ;; People don't expect emacs -nw, or --daemon, ;; to create graphical frames (bug#17693). ;; TODO perhaps there should be a separate value ;; for desktop-restore-frames to control this startup behavior? So this patch creates such separate values: