GNU bug report logs - #54140
27.2; desktop-save-mode fails to restore frame and window config

Previous Next

Package: emacs;

Reported by: Mark Jamsek <mark <at> bsdbox.org>

Date: Thu, 24 Feb 2022 11:45:01 UTC

Severity: normal

Found in version 27.2

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mark Jamsek <mark <at> bsdbox.org>
Cc: larsi <at> gnus.org, 54140 <at> debbugs.gnu.org
Subject: bug#54140: 27.2; desktop-save-mode fails to restore frame and window config
Date: Fri, 25 Feb 2022 14:02:33 +0200
> From: Mark Jamsek <mark <at> bsdbox.org>
> Date: Fri, 25 Feb 2022 20:39:21 +1100
> Cc: larsi <at> gnus.org, 54140 <at> debbugs.gnu.org
> 
>  There's no need to debug this: this is the expected behavior on TTY
>  frames
> 
> Is this documented; if not, would a patch to this effect be accepted?

It depends on what the patch will do.  Unconditionally letting desktop
restore the frameset on TTY displays is out of the question, as it
will bring back the problems we solved when we prevented that.

>  see desktop-restoring-frameset-p.  We deliberately don't
>  restore the frameset on text-mode displays.  For the reasons, see
>  bug#17693.
> 
> I had a cursory look but don’t quite understand why that precludes desktop-save-mode from working with
> Emacs in the terminal. If you save an -nw session, you’d have no graphical frames to restore when starting
> an -nw session.

How do we know that the desktop was saved from a -nw session?

> I’ll read the thread in its entirety when back in front of the kb.

Thanks.  A related issue is bug#24298.




This bug report was last modified 3 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.