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#60600: 30.0.50; [PATCH] Document manual desktop restore Date: Fri, 06 Jan 2023 13:54:46 +0200 Message-ID: <83sfgnvpx5.fsf@gnu.org> References: <875ydkx89b.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12930"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60600@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 06 12:55:11 2023 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 1pDlJX-0003CA-Mn for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Jan 2023 12:55:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDlJQ-00076j-8m; Fri, 06 Jan 2023 06:55:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDlJO-00076P-8i for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 06:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pDlJN-0001cx-W7 for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 06:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDlJN-0004PS-Sf for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 06:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Jan 2023 11:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60600 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60600-submit@debbugs.gnu.org id=B60600.167300607816910 (code B ref 60600); Fri, 06 Jan 2023 11:55:01 +0000 Original-Received: (at 60600) by debbugs.gnu.org; 6 Jan 2023 11:54:38 +0000 Original-Received: from localhost ([127.0.0.1]:53915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDlJ0-0004Og-D5 for submit@debbugs.gnu.org; Fri, 06 Jan 2023 06:54:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDlIy-0004OS-PY for 60600@debbugs.gnu.org; Fri, 06 Jan 2023 06:54:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDlIs-0001P8-Ka; Fri, 06 Jan 2023 06:54:30 -0500 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=0AakSw1ebTAUXizqfu23Nsa7i++FlLcDbQKry3giA3g=; b=W0j38A1DFzt1 cVPi0J9aX4VWOst0DHOzsBU2YPy0Hher7G+ZDkOOBo84xU1of7FOqXYUVLo42Tdc1Q7ICu+f/hlcu 6g5aSpq2fY4DKp5w1n5B2vLUGbaAV3HvcSLzxvjTt+Z39vUQilEvY0gdNoMnyg+4OVzet1YgqaMg2 q8aMZNODFiKbH7fhBk4JKBr+oXGsYwZBQWc+nEqGBK9G+xwrAQGeJKBNts+7saupCtsaQdm1ok2iw Pua0YvuwccnY6biLG+DGzZtZnFZj9K4ShY7E67DH1QFKEBCcXDI3D7+Cnsww1PxckpnHgKQ9gwwhR zY6MSmCroBRI+tzmTEcx8w==; Original-Received: from [87.69.77.57] (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 1pDlIr-0000M7-Vg; Fri, 06 Jan 2023 06:54:30 -0500 In-Reply-To: <875ydkx89b.fsf@ledu-giraud.fr> (message from Manuel Giraud on Fri, 06 Jan 2023 11:33:20 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:252695 Archived-At: > From: Manuel Giraud > Date: Fri, 06 Jan 2023 11:33:20 +0100 > > diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi > index c706b727e6f..ec24d43c46a 100644 > --- a/doc/emacs/misc.texi > +++ b/doc/emacs/misc.texi > @@ -2733,11 +2733,13 @@ Saving Emacs Sessions > @findex desktop-save > @vindex desktop-save-mode > You can save the desktop manually with the command @kbd{M-x > -desktop-save}. You can also enable automatic saving of the desktop > -when you exit Emacs, and automatic restoration of the last saved > -desktop when Emacs starts: use the Customization buffer (@pxref{Easy > -Customization}) to set @code{desktop-save-mode} to @code{t} for future > -sessions, or add this line in your init file (@pxref{Init File}): > +desktop-save}. You can then restore the desktop manually with the > +command @kbd{M-x desktop-read}. You can also enable automatic saving > +of the desktop when you exit Emacs, and automatic restoration of the > +last saved desktop when Emacs starts: use the Customization buffer > +(@pxref{Easy Customization}) to set @code{desktop-save-mode} to > +@code{t} for future sessions, or add this line in your init file > +(@pxref{Init File}): Thanks. The new text seems to imply that using "M-x desktop-save" necessarily means restoring must also be manual. But this is only true if desktop-save-mode was not enabled. I have the mode enabled, and I still sometimes save the desktop manually, whenever I make some significant change to the session, to make sure the new arrangement is saved and not lost due to some catastrophe. So the change needs to be reworded not to imply the mistaken interpretation that saving manually requires restoring manually.