GNU bug report logs -
#55070
28.1; desktop-load doesn't work in -nw (non-gui) emacs
Previous Next
Reported by: Eric Swenson <eric <at> swenson.org>
Date: Sat, 23 Apr 2022 00:00:02 UTC
Severity: normal
Tags: moreinfo, patch
Found in version 28.1
Fixed in version 29.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 55070 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 22 Apr 2022 16:27:47 -0700
> From: Eric Swenson <eric <at> swenson.org>
> Cc: "Eric Swenson via groups.io" <eric=swenson.org <at> groups.io>
>
> I've tried the following in versions 26.3, 27.1, and 28.1. If you use
> desktop-save in a non-GUI (-nw) run of emacs, with no init.el loaded
> (-Q), and then exit emacs, upon reentry, while the files that were
> loaded in buffers at the time of the save are present, the windows are
> not restored properly. Only one window is correct -- and only one window
> is present. If you start emacs without the "-nw" option, however,
> everything works just fine.
>
> For some of us who SSH into servers, we have no option but to use the
> non-GUI version of emacs.
>
> Note, I started this ticket in an emacs invocation with "-nw" but
> without specifying "-Q", so my minimal, test init.el was executed. It appears
> below:
>
> (desktop-save-mode 1)
> (setq desktop-load-locked-desktop nil)
> (desktop-read)
Please tell more about the symptoms:
. what do you mean by "only one window"? do you mean "frame" or do
you mean "window"?
. what does one need to do before exiting the first session to
observe the results in the next one? for example, if you indeed
mean "only one window", then I guess in the first session one needs
to do something like "C-x 2" or maybe "C-x 4 f SOME-FILE"? please
describe those actions.
. is the second session also a -nw session or is it a GUI session?
Thanks.
This bug report was last modified 3 years and 19 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.