From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55070: 28.1; desktop-load doesn't work in -nw (non-gui) emacs Date: Sat, 23 Apr 2022 09:13:47 +0300 Message-ID: <83fsm4pbs4.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3652"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55070@debbugs.gnu.org, eric=swenson.org@groups.io To: Eric Swenson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 23 08:14:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ni92F-0000m7-R2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Apr 2022 08:14:24 +0200 Original-Received: from localhost ([::1]:60308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ni92E-00060x-9e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Apr 2022 02:14:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ni91u-00060m-Ja for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 02:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ni91u-0008NX-Am for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 02:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ni91t-0001CL-Us for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 02:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2022 06:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55070 X-GNU-PR-Package: emacs Original-Received: via spool by 55070-submit@debbugs.gnu.org id=B55070.16506944364585 (code B ref 55070); Sat, 23 Apr 2022 06:14:01 +0000 Original-Received: (at 55070) by debbugs.gnu.org; 23 Apr 2022 06:13:56 +0000 Original-Received: from localhost ([127.0.0.1]:55012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ni91o-0001Bt-J0 for submit@debbugs.gnu.org; Sat, 23 Apr 2022 02:13:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ni91m-0001Bf-Mz for 55070@debbugs.gnu.org; Sat, 23 Apr 2022 02:13:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ni91g-0008LV-PT; Sat, 23 Apr 2022 02:13:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=n/8YouLjOguwuFwgtPQ0MSoqeWW+HkygyY58CjHhXYM=; b=TWioDR6tn+pD 4uWdPZoDjKAvrm/B+emRECWeMODIkjAF5fjExRnQgg7pN/wGvprnDR6SmQhm8vXOLF88JF/z2f+Mg 75AUMMP5ymyxnA4/DolLS57mAxvVCmkfM4ibhDfvuRZrG4p94n61Jgo9AJ5VbwJ628xPKcH683c5f CQSwBMl4nNwwCCUKCuQAt+vnM9IMlPyVqVwMEtRWMpiZPvMThLVCf/0ZYIZwSUWIAjVDpRlHBF0Xl EodcVQCw+TTHgYL0GldDv7vJxV+6a7x32tWCh2IqM7b4/uBsatlbq981nuxId3Lb4Ci+pUxA24zOj y+R70t083dkDvwXUBrrPqw==; Original-Received: from [87.69.77.57] (port=4411 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ni91g-0002zO-2A; Sat, 23 Apr 2022 02:13:48 -0400 In-Reply-To: (message from Eric Swenson on Fri, 22 Apr 2022 16:27:47 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230453 Archived-At: > Date: Fri, 22 Apr 2022 16:27:47 -0700 > From: Eric Swenson > Cc: "Eric Swenson via 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.