From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mark Jamsek Newsgroups: gmane.emacs.bugs Subject: bug#54140: 27.2; desktop-save-mode fails to restore frame and window config Date: Fri, 25 Feb 2022 20:39:21 +1100 Message-ID: <9D4B6AB3-A358-4B36-85DB-8F0AA5131CD1@bsdbox.org> References: <83mtifqsqp.fsf@gnu.org> Mime-Version: 1.0 (1.0) Content-Type: multipart/alternative; boundary=Apple-Mail-727F5F19-5C40-4DE1-A433-4A9069BE32F1 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30099"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 54140@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 25 10:41:16 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 1nNX6B-0007gX-Dk for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Feb 2022 10:41:15 +0100 Original-Received: from localhost ([::1]:51664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNX63-0002Fu-SJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Feb 2022 04:41:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNX50-0002EM-Px for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2022 04:40:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNX50-0006c3-FM for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2022 04:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nNX50-00060O-8Q for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2022 04:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Jamsek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Feb 2022 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54140 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54140-submit@debbugs.gnu.org id=B54140.164578197123032 (code B ref 54140); Fri, 25 Feb 2022 09:40:02 +0000 Original-Received: (at 54140) by debbugs.gnu.org; 25 Feb 2022 09:39:31 +0000 Original-Received: from localhost ([127.0.0.1]:51282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNX4V-0005zQ-Fq for submit@debbugs.gnu.org; Fri, 25 Feb 2022 04:39:31 -0500 Original-Received: from mail.bsdbox.org ([107.191.57.35]:23297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNX4S-0005zF-Ai for 54140@debbugs.gnu.org; Fri, 25 Feb 2022 04:39:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdbox.org; s=20210217; t=1645781963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YxMkEqXY1kzX2T2Rh599XeBdV0gkwzWVR8ckMezMWBo=; b=FXE47PoYY6b7T+b0QpS5pwqopvV5r4jRVmXBLaHSvBd+w8Lqq34dsiFc4NGlEAWFq9YE2x LISz5HdpBM8CFc+aiDRlvDdMpGU+YLvtTzZNaEqFr4xHYNUoLUSjHbLHedgGoPciYsApqr lbActncnF7SXlmFuAnOa1Pl3lMb3/hw= Original-Received: from smtpclient.apple (159-196-163-81.9fc4a3.syd.nbn.aussiebb.net [159.196.163.81]) by itac.bsdbox.org (OpenSMTPD) with ESMTPSA id 8885a208 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 25 Feb 2022 09:39:22 +0000 (UTC) In-Reply-To: <83mtifqsqp.fsf@gnu.org> X-Mailer: iPhone Mail (19D52) 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:227620 Archived-At: --Apple-Mail-727F5F19-5C40-4DE1-A433-4A9069BE32F1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 25 Feb 2022, at 7:02 pm, Eli Zaretskii wrote: >=20 > =EF=BB=BF >>=20 >> From: Mark Jamsek >> Date: Fri, 25 Feb 2022 13:58:36 +1100 >> Cc: 54140@debbugs.gnu.org >>=20 >> Do you know where in the codebase to dig to start debugging this? >=20 > 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? > 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=E2=80=99t quite understand why that precludes d= esktop-save-mode from working with Emacs in the terminal. If you save an -nw= session, you=E2=80=99d have no graphical frames to restore when starting an= -nw session. I=E2=80=99ll read the thread in its entirety when back in fron= t of the kb. Sent from my iPhone --Apple-Mail-727F5F19-5C40-4DE1-A433-4A9069BE32F1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 25 Feb 2022, at 7:02 pm, Eli Zaretskii <eliz@gnu.org> wrote:
=EF=BB=BF=
From: Mark Jamsek <mark@bsdbox.org>
Date: Fri, 25 Feb 2022 1= 3:58:36 +1100
Cc: 541= 40@debbugs.gnu.org

Do you know where in t= he codebase to dig to start debugging this?

There's no need to debug this: this is the expected behavior o= n TTY
frames

Is this documented;= if not, would a patch to this effect be accepted?

see desktop-restoring-frameset-p= .  We deliberately don't
restore the frameset on text-m= ode displays.  For the reasons, see
bug#17693.

I had a cursory look but don=E2=80=99t quite u= nderstand why that precludes desktop-save-mode from working with Emacs in th= e terminal. If you save an -nw session, you=E2=80=99d have no graphical fram= es to restore when starting an -nw session. I=E2=80=99ll read the thread in i= ts entirety when back in front of the kb.

Sent from my= iPhone



= --Apple-Mail-727F5F19-5C40-4DE1-A433-4A9069BE32F1--