unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Manuel Giraud <manuel@ledu-giraud.fr>
Cc: 60600@debbugs.gnu.org
Subject: bug#60600: 30.0.50; [PATCH] Document manual desktop restore
Date: Fri, 06 Jan 2023 13:54:46 +0200	[thread overview]
Message-ID: <83sfgnvpx5.fsf@gnu.org> (raw)
In-Reply-To: <875ydkx89b.fsf@ledu-giraud.fr> (message from Manuel Giraud on Fri, 06 Jan 2023 11:33:20 +0100)

> From: Manuel Giraud <manuel@ledu-giraud.fr>
> 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.





  reply	other threads:[~2023-01-06 11:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 10:33 bug#60600: 30.0.50; [PATCH] Document manual desktop restore Manuel Giraud
2023-01-06 11:54 ` Eli Zaretskii [this message]
2023-01-06 12:26   ` Manuel Giraud
2023-01-06 13:15     ` Eli Zaretskii
2023-01-06 13:30       ` Manuel Giraud
2023-01-06 14:06         ` Eli Zaretskii
2023-01-06 15:15           ` Manuel Giraud
2023-01-07  8:49             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sfgnvpx5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=60600@debbugs.gnu.org \
    --cc=manuel@ledu-giraud.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).